![]() |
GNU LilyPond-- -- |
||||||||||||||||||||||||||||
|
Running LilyPondIn the last section we explained what kind of things you could enter in a lilypond file. In this section we explain how to run LilyPond and how to view or print the output. If you have not used LilyPond before, want to test your setup of LilyPond, or want to run an example file yourself, read this section. The instructions that follow are for running LilyPond on Unix-like systems. Some additional instructions for running LilyPond on Windows are given at the end of this section. Begin by opening a terminal window and starting a text editor.
For example, you could open an xterm and execute \score { \notes { c'4 e' g' } } LilyPond is the program that computes the sheet music. All other
things, such as adding titles, page breaking and other page layout,
are done by a small wrapper program called
ly2dvi -P test.ly You will see the following on your screen: GNU LilyPond 1.6.0 Now processing: `/home/fred/ly/test.ly' Parsing... Interpreting music...[1] ... more interesting stuff ... PS output to `test.ps'... DVI output to `test.dvi'... The results of the ly2dvi run are two files, If the music on your screen looks good, you can print it by clicking File/Print inside ghostview.gv test.ps ghostview test.ps ggv test.ps kghostview test.ps The DVI file ( If your DVI viewer does not have a "Print" button, you can print the
file by executing If your system does not support printing PostScript files, then you can install Ghostscript, a PostScript emulator. Refer to Ghostscript's website at http://www.ghostscript.com. A final option is to use the popular PDF format. You can get a PDF
file by running If you are familiar with TeX, be warned: do not use other
DVI drivers like Windows usersWindows users can start the terminal by clicking on the LilyPond or
Cygwin icon. You can use any text editor (such as NotePad, Emacs or
Vim) to edit the LilyPond file. If you install the Cygwin's
You can also print from the command line by executing:
SUMMARY To run LilyPond, input a text file, then run the command
|
||||||||||||||||||||||||||||
Go back to index of LilyPond.
Please send GNU LilyPond questions and comments to lilypond-user@gnu.org. Please send comments on these web pages to (address unknown) Copyright (c) 1997--2002 Han-Wen Nienhuys and Jan Nieuwenhuizen. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. |
This page was built from LilyPond-1.7.14 (development-branch) by