From af3209cc3835dbfd80ed18611c59189afc9ac563 Mon Sep 17 00:00:00 2001 From: John Mandereau Date: Tue, 22 Apr 2008 16:07:33 +0200 Subject: [PATCH] Bluntly update lilypond-book documentation More could be explained about substitutes for psfonts -- see message of commit 0290cb1c3dff47567fd2ee6a27d6eccf95bde0d3 -- but I'm not enough knowledgeable on this topic. --- Documentation/user/lilypond-book.itely | 37 ++++++++++++++++++-------- scripts/lilypond-book.py | 2 +- 2 files changed, 27 insertions(+), 12 deletions(-) diff --git a/Documentation/user/lilypond-book.itely b/Documentation/user/lilypond-book.itely index 65f5e85325..cfbae202ec 100644 --- a/Documentation/user/lilypond-book.itely +++ b/Documentation/user/lilypond-book.itely @@ -725,9 +725,6 @@ extensions: @file{.tex}, @file{.texi}, @file{.html} or @file{.xml}, depending on the output format. All of @file{.tex}, @file{.texi} and @file{.xml} files need further processing. -@command{lilypond-book} can also create a @file{.psfonts} file, which is -required by @command{dvips} to produce PostScript and PDF files. - @subheading Format-specific instructions @subsubheading @LaTeX{} @@ -757,9 +754,9 @@ To produce PDF output via @LaTeX{}/@command{dvips}/@command{ps2pdf}, you should do @example -lilypond-book --psfonts yourfile.lytex +lilypond-book yourfile.lytex latex yourfile.tex -dvips -o -h yourfile.psfonts -Ppdf yourfile.dvi +dvips -Ppdf yourfile.dvi ps2pdf yourfile.ps @end example @@ -768,7 +765,7 @@ The @file{.dvi} file created by this process will not contain note heads. This is normal; if you follow the instructions, they will be included in the @file{.ps} and @file{.pdf} files. -Running @command{dvips} will produce some warnings about fonts; these +Running @command{dvips} may produce some warnings about fonts; these are harmless and may be ignored. If you are running @command{latex} in twocolumn mode, remember to add @code{-t landscape} to the @command{dvips} options. @@ -833,7 +830,7 @@ invoke further processing commands such as @command{makeinfo} or @itemx --output=@var{dir} Place generated files in directory @var{dir}. Running @command{lilypond-book} generates lots of small files that LilyPond will -process. To avoid all that garbage in the source directory use the +process. To avoid all that garbage in the source directory, use the @option{--output} command line option, and change to that directory before running @command{latex} or @command{makeinfo}. @@ -843,6 +840,28 @@ cd out ... @end example +@itemx --skip-lily-check +Do not fail if no lilypond output is found. It is used for LilyPond +Info documentation without images. + +@itemx --skip-png-check +Do not fail if no PNG images are found for EPS files. It is used for +LilyPond Info documentation without images. + +@itemx --lily-output-dir=@var{dir} +Write lily-XXX files to directory @var{dir}, link into @code{--output} +directory. Use this option to save building time for documents in +different directories which share a lot of identical snippets. + +@itemx --info-images-dir=@var{dir} +Format Texinfo output so that Info will look for images of music in +@var{dir}. + +@itemx --latex-program=@var{prog} +Run executable @command{prog} instead of @command{latex}. This is +useful if your document is processed with @command{xelatex}, for +example. + @itemx --left-padding=@var{amount} Pad EPS boxes by this much. @var{amount} is measured in millimeters, and is 3.0 by default. This option should be used if the lines of @@ -863,10 +882,6 @@ Process LilyPond snippets using @var{command}. The default command is @item --pdf Create PDF files for use with PDFLaTeX. -@itemx --psfonts -Extract all PostScript fonts into @file{@var{file}.psfonts} for dvips. -This is necessary for @command{dvips -h @var{file}.psfonts}. - @item -V @itemx --verbose Be verbose. diff --git a/scripts/lilypond-book.py b/scripts/lilypond-book.py index ad33822bb3..a57333e233 100644 --- a/scripts/lilypond-book.py +++ b/scripts/lilypond-book.py @@ -137,7 +137,7 @@ def get_option_parser (): default='') p.add_option ('--latex-program', - help=_ ("Run executable PROG instead of latex"), + help=_ ("run executable PROG instead of latex"), metavar=_ ("PROG"), action='store', dest='latex_program', default='latex') -- 2.39.2