-dpoint-and-click='#f'
@end example
-Here are a few interesting options.
+The following options are supported:
@cindex help, command line
-@table @samp
+@table @code
+
@item help
Running @code{lilypond -dhelp} will print all of the @option{-d} options
available.
In addition, safe mode disallows @code{\include} directives and
disables the use of backslashes in @TeX{} strings.
-In safe mode, it is not possible to import LilyPond variables
-into Scheme.
+In safe mode, it is not possible to import LilyPond variables into
+Scheme.
-@option{-dsafe} does @emph{not} detect resource overuse. It is still possible to
-make the program hang indefinitely, for example by feeding cyclic data
-structures into the backend. Therefore, if using LilyPond on a
-publicly accessible webserver, the process should be limited in both
-CPU and memory usage.
+@option{-dsafe} does @emph{not} detect resource overuse. It is still
+possible to make the program hang indefinitely, for example by feeding
+cyclic data structures into the backend. Therefore, if using LilyPond
+on a publicly accessible webserver, the process should be limited in
+both CPU and memory usage.
-The safe mode will prevent many useful LilyPond snippets from being
+Safe mode will prevent many useful LilyPond snippets from being
compiled. The @option{--jail} is a more secure alternative, but
requires more work to set up.
@cindex output format, setting
+
@item backend
-the output format to use for the back-end. Choices for @code{format} are
+the output format to use for the backend. Choices for @code{format}
+are:
+
@table @code
@item ps
+
@cindex PostScript output
- for PostScript.
- Postscript files include TTF, Type1 and OTF fonts. No subsetting of
- these fonts is done. When using oriental character sets, this can
- lead to huge files.
+for PostScript.
+
+Postscript files include TTF, Type1 and OTF fonts. No subsetting of
+these fonts is done. When using oriental character sets, this can lead
+to huge files.
@item eps
@cindex Postscript, encapsulated
@cindex EPS (Encapsulated PostScript)
- for encapsulated PostScript. This dumps every page (system) as a separate
-@file{EPS} file, without fonts, and as one collated @file{EPS} file with
-all pages (systems) including fonts.
+for encapsulated PostScript. This dumps every page (system) as a
+separate @file{EPS} file, without fonts, and as one collated @file{EPS}
+file with all pages (systems) including fonts.
This mode is used by default by @command{lilypond-book}.
@cindex SVG (Scalable Vector Graphics)
- for SVG (Scalable Vector Graphics).
+for SVG (Scalable Vector Graphics).
- This creates a single SVG file, without embedded fonts, for every
- page of output. It is recommended to install the Century
- Schoolbook fonts, included with your LilyPond installation, for
- optimal rendering. Under UNIX, simply copy these fonts from the
- LilyPond directory (typically
- @file{/usr/share/lilypond/VERSION/fonts/otf/}) to
- @file{~/.fonts/}. The SVG output should be compatible with any
- SVG editor or user agent.
+This creates a single SVG file, without embedded fonts, for every page
+of output. It is recommended to install the Century Schoolbook fonts,
+included with your LilyPond installation, for optimal rendering. Under
+UNIX, simply copy these fonts from the LilyPond directory (typically
+@file{/usr/share/lilypond/VERSION/fonts/otf/}) to @file{~/.fonts/}. The
+SVG output should be compatible with any SVG editor or user agent.
@item scm
@cindex Scheme dump
- for a dump of the raw, internal Scheme-based drawing commands.
+for a dump of the raw, internal Scheme-based drawing commands.
@item null
- do not output a printed score; has the same effect as @option{-dno-print-pages}.
+do not output a printed score; has the same effect as
+@option{-dno-print-pages}.
@end table
Example: @code{lilypond -dbackend=svg @var{filename}.ly}
@item preview
+
@cindex preview, command line
-Generate an output file containing the titles and the first system
-of music. If @code{\bookpart} blocks are used, the titles and
-first system of every @code{\bookpart} will appear in the output.
-The @code{ps}, @code{eps}, and @code{svg} backends support this
-option.
+
+This option is supported by all backends; @code{pdf}, @code{png},
+@code{ps}, @code{eps} and @code{svg}, but not @code{scm} and generates
+an output file containing the titles and the first system of music. If
+@code{\bookpart} blocks are used, the titles and first system of every
+@code{\bookpart} will appear in the output.
+
+An additional file in the form @code{myFile.preview.extensio} is
+generated, to avoid this use the additional @option{-dprint-pages} or
+@option{-dno-print-pages} options according to your requirements.
@item gui
Runs silently and redirect all output to a log file.
at the command line. The @option{-dgui} option can be used in this case
to redirect output to a log file.
-
@item print-pages
Generate the full pages, the default. @option{-dno-print-pages} is
useful in combination with @option{-dpreview}.
@end table
-
-
@item -h,--help
Show a summary of usage.
@cindex file searching
@cindex search path
+
@item --include, -I=@var{directory}
Add @var{directory} to the search path for input files.
-Multiple -I options may be given. The search will start in the
-first defined directory, and if the file to be included is not
-found the search will continue in subsequent directories.
+Multiple -I options may be given. The search will start in the first
+defined directory, and if the file to be included is not found the
+search will continue in subsequent directories.
@item -i,--init=@var{file}
Set init file to @var{file} (default: @file{init.ly}).
@cindex output verbosity, setting
@item -l,--loglevel=@var{LEVEL}
-Set the verbosity of the console output to @var{LEVEL}. Possible values are:
+Set the verbosity of the console output to @var{LEVEL}. Possible values
+are:
+
@table @code
+
@item NONE
No output at all, not even error messages.
All possible messages, including verbose debug output.
@end table
-
@cindex folder, directing output to
@cindex output filename, setting
@item -o,--output=@var{FILE} or @var{FOLDER}
-Set the default output file to @var{FILE} or, if a folder with
-that name exists, direct the output to @var{FOLDER}, taking the
-file name from the input file. The appropriate suffix will be
-added (e.g. @code{.pdf} for pdf) in both cases.
+Set the default output file to @var{FILE} or, if a folder with that name
+exists, direct the output to @var{FOLDER}, taking the file name from the
+input file. The appropriate suffix will be added (e.g. @code{.pdf} for
+pdf) in both cases.
@cindex PostScript output
server or whenever LilyPond executes externally provided
sources.
-The @option{--jail} option works by changing the root of @command{lilypond} to
-@var{jail} just before starting the actual compilation process. The user
-and group are then changed to match those provided, and the current
-directory is changed to @var{dir}. This setup guarantees that it is not
-possible (at least in theory) to escape from the jail. Note that for
-@option{--jail} to work @command{lilypond} must be run as root, which is usually
-accomplished in a safe way using @command{sudo}.
+The @option{--jail} option works by changing the root of
+@command{lilypond} to @var{jail} just before starting the actual
+compilation process. The user and group are then changed to match those
+provided, and the current directory is changed to @var{dir}. This setup
+guarantees that it is not possible (at least in theory) to escape from
+the jail. Note that for @option{--jail} to work @command{lilypond} must
+be run as root, which is usually accomplished in a safe way using
+@command{sudo}.
Setting up a jail is a slightly delicate matter, as we must be sure that
LilyPond is able to find whatever it needs to compile the source