MacOS X

Nota: LilyPond è un compositore tipografico musicale basato su testo; è più simile a un linguaggio di programmazione che a un editor grafico di spartiti. Prima di scaricare LilyPond, dovresti informarti sul nostro Input testuale.

Pacchetti

Download

Installazione

Clicca due volte sul file scaricato, poi trascinalo dove preferisci.

Disinstallazione

Elimina la cartella LilyPond.app.

Compilare un file

Nota: These instructions assume that you are using the LilyPond application. If you are using any of the programs described in Easier editing, please consult the documentation for those programs if you have any problems.

Step 1. Create your ‘.ly’ file

Double click the LilyPond.app, an example file will open.

pictures/Learning_Macos_welcome

From the menus along the top left of your screen, select File > Save.

pictures/Learning_Macos_Save_menu

Choose a name for your file, for example ‘test.ly’.

pictures/Learning_Macos_Save_file_with_name

Step 2. Compile (with LilyPad)

From the same menus, select Compile > Typeset.

pictures/Learning_Macos_Typeset_menu

A new window will open showing a progress log of the compilation of the file you have just saved.

pictures/Learning_Macos_Compiling_log

Step 3. View output

Once the compilation has finished, a PDF file will be created with the same name as the original file and will be automatically opened in the default PDF viewer and displayed on your screen.

pictures/Learning_Macos_pdf_output

Other commands

To create new files for LilyPond, begin by selecting File > New

pictures/Learning_Macos_New_menu

or File > Open to open and edit existing files you have saved previously.

pictures/Learning_Macos_Open_menu

You must save any new edits you make to your file before you Compile > Typeset and if the PDF file is not displayed check the window with the progress log for any errors.

If you are not using the default Preview PDF viewer that comes with the Mac Operating system and you have the PDF file generated from a previous compilation open, then any further compilations may fail to generate an update PDF until you close the original.

Esecuzione da linea di comando

Nota: Se ti trovi bene con l’interfaccia grafica, puoi ignorare queste istruzioni.

MacOS X su linea di comando

Il modo più comodo di eseguire script lilypond è impostare dei propri script d’ “aiuto”.

  1. Crea una directory dove salvare questi script,
    mkdir -p ~/bin
    cd ~/bin
    
  2. Crea un file chiamato lilypond che contiene
    exec DIR/LilyPond.app/Contents/Resources/bin/lilypond "$@"
    

    Nota: DIR si trova generalmente in /Applications/

  3. Crea file simili lilypond-book, convert-ly, e un qualsiasi altro script tu voglia usare, sostituendo bin/lilypond con bin/convert-ly (o il nome di un altro programma).
  4. Rendi eseguibile il file,
    chmod u+x lilypond
    
  5. Ora, aggiungi questa directory alla tua variabile path. Modifica (o crea) un file chiamato .profile nella tua home in modo che contenga
    export PATH=$PATH:~/bin
    

    Questo file deve finire con una linea bianca.

Lanciare i singoli script

Gli script — come lilypond-book, convert-ly, abc2ly, e anche lilypond stesso — sono inclusi nel file .app per MacOS X.

Gli script possono essere eseguiti dalla linea di comando anche lanciandoli direttamente:

path/to/LilyPond.app/Contents/Resources/bin/lilypond

Lo stesso vale per tutti gli altri script in quella directory, come lilypond-book e convert-ly.

Legalese


Other languages: English, deutsch, español, français, magyar, 日本語, nederlands.

Validation

Thanks to webdev.nl for hosting lilypond.org. Valid HTML 4.01 Transitional

inserted by FC2 system