LilyRunner Ver. 1.1

1.1 Executable (104 KB, zip, Mac OS 10.4 and newer)
1.1 Source (136 KB, zip, Xcode3.1)

LilyRunner screen shot

What is it for?

LilyRunner is an application that helps you typesetting music by LilyPond.

Specifically, LilyRunner invokes the command-line version of lilypond, and if compilation is successful open the resulting PDF file.

It also recognizes clicking on the musical symbol on the PDF file, and opens the source file with an external editor and moves the insertion pointer to the appropriate position.

How can I install it?

  1. Copy the application to the "/Application" or "~/Application" folder.
  2. Launch the application, and select "LilyRunner" -> "Preferences".
  3. Select the LilyPond application. You can specify either the application package (LilyPond.app), or the command-line executable directly (such as /usr/local/bin/lilypond).
  4. Select the Preview and Editor applications.
  5. Edit the script to respond to click on PDF. When the url textedit://(file-path):line:column is clicked on the PDF viewer, this script is called with the file path, the line number and the colun number (both starting from 1) as the arguments.

How can I use it?

To compile (typeset) the source

Drag and drop the lilypond source file on the LilyRunner application. The LilyPond begins to compile, and if it is successful the resulting PDF file is opened with the Preview application.

Alternatively, you can use "File" -> "Open and compile..." menu command, or an AppleScript 'tell application "LilyRunner" to open FILE'.

To update syntax

Use "File" -> "Open and update syntax" menu command to select the source files. Alternatively, you can use "File" -> "Update syntax" menu command while the lilypond log window for that source file is still open.

Another way is an AppleScript, 'tell application "LilyRunner" to update syntax (FILE as alias)'.

To jump to the source position from PDF

Click on one of the musical symbols, then LilyRunner is invoked, opens the source file with the external editor, and move to the line/column position.

To create a PNG file (new in 1.1)

Use "File" -> "Create PNG from This File" menu command while the lilypond log window for that source file is still open. The resolution of the PNG file can be set in the Preference window.

Another way is an AppleScript, 'tell application "LilyRunner" to create PNG (FILE as alias)'.

License

LilyRunner is distributed under the terms of the "Modified BSD License."

History

2010.8.26. Ver.1.1
Support creation of PNG files.
2009.2.12. Ver.1.0
First release.