lilypond-book produces a file with one of the following extensions: .tex, .texi, or .html, depending on the output format. Both .tex and .texi files need further processing.
To produce PDF output from the .tex file, you should do
latex yourfile.tex dvips -Ppdf -u+ec-mftrace.map -u+lilypond.map yourfile.dvi ps2pdf yourfile.ps
To produce a Texinfo document (in any output format), follow the normal procedures for Texinfo (this is, either call texi2dvi or makeinfo, depending on the output format you want to create). See Format with texi2dvi (GNU Texinfo), and Creating an Info File (GNU Texinfo).
lilypond-book accepts the following command line options:
-f
format--format=
formathtml
, latex
, or
texi
(the default). If this option is missing,
lilypond-book tries to detect the format automatically.
The texi
document type produces a Texinfo file with music
fragments in the DVI output only. For getting images in the HTML
version, the format texi-html
must be used instead.
[Note: Currently, texi
is the same as texi-html
.]
-F
filter--filter=
filterExample:
lilypond-book --filter='convert-ly --from=2.0.0' my-book.tely
-h
--help
-I
dir--include=
dir-o
dir--output=
dirlilypond-book --output=out yourfile.lytex cd out ...
-P
process--process=
commandlilypond
.
-V
--verbose
-v
--version
The Texinfo command @pagesizes
is not interpreted. Similarly,
LaTeX commands that change margins and line widths after the preamble
are ignored.
Only the first \score
of a LilyPond block is processed.
The size of a music block is limited to 1.5 KB, due to technical
problems with the Python regular expression engine. For longer files,
use \lilypondfile
.
This page is for LilyPond-2.5.11 (development-branch).