MacOS X

Nota: El LilyPond és un sistema de gravat musical basat en text; s’assembla més a un llenguatge de programació que a un programa gràfic d’edició de partitures. Abans de descarregar el LilyPond informeu-vos sobre la nostra Entrada de text.

Paquets

Descàrrega

Instal·lació

Feu doble clic sobre el fitxer descarregat. Després, arrossegueu-lo a on voleu.

Desinstal·lació

Esborreu la carpeta LilyPond.app.

Execució des de la línia d’ordres

Nota: Si us satisfan les instruccions sobre la interfície gràfica, ignoreu aquestes instruccions.

MacOS X sobre la línia d’ordres

La forma més pràctica de processar projectes del LilyPond és mitjançant la preparació de guions “de suport” fets per vos mateix.

  1. Creeu un directori per desar aquests guions.
    mkdir -p ~/bin
    cd ~/bin
    
  2. Creu un fitxer anomenat lilypond que contingui
    #!/bin/bash
    exec DIRECTORIO/LilyPond.app/Contents/Resources/bin/lilypond "$@"
    

    Nota: en general, DIRECTORIO serà /Applications/

  3. Creeu fitxers semblants lilypond-book, convert-ly, i qualssevol d’altres que aneu a fer servir, substituint la part bin/lilypond amb bin/convert-ly (o un altre nom de programa).
  4. Feu executable el fitxers,
    chmod u+x lilypond
    
  5. Ara, afegiu aquest directori a la ruta d’execució. Modifiqueu (o creeu) un fitxer anomenat .profile a la vostra carpeta de l’usuari de forma que contingui
    export PATH=$PATH:~/bin
    

    Aquest fitxer ha d’acabar amb una línia buida.

Invocar els guions individuals

Els guions (com lilypond-book, convert-ly, abc2ly o fins i tot el propi lilypond) estan inclosos dins del fitxer .app per a MacOS X.

Els guions també es poden llençar des de la línia d’ordres mitjançant la seva invocació directa:

ruta/de/LilyPond.app/Contents/Resources/bin/lilypond

El mateix val per a la resta dels guions d’aquest directori, com ara lilypond-book i convert-ly.

Compilació d’un fitxer

Nota: These instructions assume that you are using the LilyPond application. If you are using any of the programs described in Easier editing, consult the documentation for those programs should 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.

Legalismes


Altres idiomes: English, česky, deutsch, español, français, magyar, italiano, 日本語, nederlands, 中文.
Quant a la selecció automàtica de la llengua.

Validation

Agraïm a webdev.nl l'allotjament de lilypond.org. Valid HTML 4.01 Transitional