LilyPond for Mac OS X Leopard and Snow Leopard


Running LilyPond on Mac

LilyPond is a tool to produce beautifully engraved sheet music.
It uses text files as input, and produces pdf files as output.
(See the Learning Manual about the contents of the text file.)

LilyPond works under Mac OS X Leopard (OS 10.5) and Snow Leopard (OS 10.6).

The simplest procedure for creating sheet music with LilyPond is:
  1. Download the latest stable release (2.12.3-1) of LilyPond and put LilyPond.app in your Applications folder.
    (You could use an earlier release of LilyPond if you need to because you have older .ly files, or download the latest development branch, 2.13.63-1.)
    (G3, G4 or G5 Mac owners using Leopard should use the ppc version of 2.12.3-1 or an earlier release.)
  2. Run the LilyPond application, which will open an editor window.
  3. Edit the text file (see the Learning Manual) and save it.
  4. Produce sheet music in the form of a pdf file by pressing ⌘-R (command-R). This is called ‘compiling’. The pdf will open automatically.




The rest of this page was written when LilyPond did not run as a native application under Leopard or Snow Leopard.
Some people, however, still prefer to use their own text editor of choice to edit the .ly files.
This page is kept as a reference for other ways to do this under Mac OS Leopard and Snow Leopard.



Pick the method you feel comfortable with:

all users intermediate level experienced users
with Smultron
(easiest)
with TeXShop
(easy)
with jEdit & LilyPondTool
(easy)
with Terminal
(experience with Terminal recommended)
Build LilyPond yourself
 


LilyPond & Smultron

(Snow Leopard (OS 10.6) Users: For Snow Leopard, Smultron is only available in beta version.)

step 1: Download LilyPond and Smultron

step 2: Create a command in Smultron

step 3: Create your music

Based on suggestions by Aurélien Bello, Lenore Horner, Kurt Krenn & Arthur Lawrence.

Additional Smultron tips


LilyPond & TeXShop

step 1: Download LilyPond and TeXShop

step 2: Create an engine file for TeXShop

step 3: Create your music

Thanks to Joel Mendoze for this suggestion.


LilyPond, jEdit & LilyPondTool

This method is described
here.


LilyPond & Terminal

step 1: Download LilyPond and shell script

step 2: Create your music

Thanks to Aurélien Bello and Hagen Barz for creating and adapting the script.


Build LilyPond yourself

Please note: building LilyPond yourself will give the same functionalities as the
precompiled binaries—see the introduction.

D1. Using MacPorts

  1. Install Xcode, either from the Leopard DVD or by downloading it from Apple Developer Connection (requires getting a free Developer account).
  2. Install MacPorts from www.macports.org.
  3. Open up the Terminal and add /opt/local to your PATH. The easiest way to do this is to run
    echo export PATH=/opt/local/bin:/opt/local/sbin:\$PATH$'\n'export MANPATH=/opt/local/man:\$MANPATH | sudo tee -a /etc/profile
  4. Close and reopen the Terminal.
  5. Run the command
    sudo port install lilypond
  6. Let the computer chug along for a while — it will probably take about an hour to finish.
Thanks to David Baumgold for creating the portfile and supplying the instructions.

D2. All by yourself (for the experienced)

A detailed description can be found at Nicolas Sceaux's page.


© 2008-2009, Ivo Bouwmans
Comments and suggestions are welcome at lilypondleopard@bouwmans.name.

Mac and Mac OS are trademarks of Apple Inc., registered in the U.S. and other countries.