This chapter details the technicalities of running LilyPond.
Nicely titled output is created through a separate program:
lilypond is a script that uses the LilyPond formatting
engine (which is in a separate program) and LaTeX to create a
nicely titled piece of sheet music, in PDF (Portable Document Format)
format.
lilypond [option]... file...
To have lilypond read from stdin, use a dash - for file.
The lilypond program supports the following options:
-k,--keep
lilypond.dir.
-d,--dependencies
Makefile dependencies for every input file.
-h,--help
-I,--include=dir
-m,--no-paper
--no-lily
lilypond-bin. Useful for debugging lilypond.
-o,--output=file
--no-pdf
If you use lilypond-book or your own wrapper files, do not use
\usepackage[[T1]{fontenc} in the file header but do not forget
\usepackage[latin1]{inputenc} if you use any other
non-anglosaxian characters.
--png
--psgz
--html
--preview
-s,--set=key=val
language, latexheaders,
latexpackages, latexoptions, papersize,
pagenumber, linewidth, orientation,
textheight.
-v,--version
-V,--verbose
--debug
-w,--warranty
lilypond extracts the following header fields from the LY files
to generate titling; an example demonstrating all these fields is in
input/test/ly2dvi-testpage.ly:
title
subtitle
poet
composer
meter
opus
arranger
instrument
dedication
piece
head
header, because \header is a reserved word in LilyPond.
copyright
footer
tagline
The lilypond program responds to several parameters specified
in a \paper section of the input file. They can be overridden
by supplying a --set command line option.
language
babel package will be
included. Default: unset.
Read from the \header block.
latexheaders
Normally read from the \header block. Default value: empty.
latexpackages
-s=latexpackages options.
Normally read from the \header block. Default value:
geometry.
latexoptions
\documentclass. You can put any valid value here. This was
designed to allow lilypond to produce output for double-sided
paper, with balanced margins and pagenumbers on alternating sides. To
achieve this specify twoside.
orientation
portrait or landscape. Is
read from the \paper block, if set.
textheight
linewidth
\paper
block.
papersize
a4). It is normally read from
the \paper block.
pagenumber
no, no page numbers will be printed. If set to a
positive integer, start with this value as the first page number.
fontenc
font-encoding
property in the score.
This page is for LilyPond-2.0.1 (stable-branch).