|
|
GNU LilyPondWelcome to the home of the GNU Music Typesetter |
||||||||||
|
Node:Running LilyPond, Next:The first real tune, Previous:Simple legend, Up:Tutorial Running LilyPondYou write music with LilyPond as follows: first you edit a text file containing a description of the notes. Then you run LilyPond on the file. This leaves you with an output file, which you can view or print. In this section we explain how to run LilyPond, and view or print the output. If you have not used LilyPond before, want to test your setup of LilyPond, or try to run an example file yourself, then 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. You begin with opening a terminal window, and start up a text editor.
For example, open an xterm and execute
To run LilyPond, you invoke ly2dvi to compile your LilyPond source file: ly2dvi -P test.ly You will see the following on your screen: GNU LilyPond 1.4.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 you are satisfied with the looks of the music displayed on your screen, you can print the PS file 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 you can't get the examples to print, then you should look into installing and configuring ghostscript. Refer to GhostScript's website at http://www.ghostscript.com. Windows usersWindows users start the terminal by clicking on the LilyPond icon.
Notepad is sufficient for editing the LilyPond file. Viewing the PS file
can be done with |
||||||||||
|
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 lilypond@packages.debian.org Copyright (c) 1997--2001 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.4.12 (stable-branch) by