1.1.4 Příkazový řádek

Pozor: These instructions assume that you are familiar with working on the command line. 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

Create a text file called ‘test.ly’ with the following contents.

\version "2.22.2"
{
  c' e' g' e'
}

Step 2. Compile (on the command line)

To process ‘test.ly’, type the following at the command prompt.

lilypond test.ly

You will see something resembling:

GNU LilyPond 2.22.2
Processing `test.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Converting to `test.pdf'...
Success: compilation successfully completed

Step 3. View output

You may view or print the resulting ‘test.pdf’ file.


LilyPond – Learning Manual v2.23.10 (Vývojářská větev).