X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fuser%2Flilypond-book.itely;h=7fc46d3f1500d25410de85ab8abf1a3f37eea469;hb=5c14a087ca6cbd665fd631452b7b1283ba0387c3;hp=599e2ae36ddaae2abe8abd1450de2b8643661c71;hpb=bec6d0f547819d4003c5ce987f8fe589818e4712;p=lilypond.git diff --git a/Documentation/user/lilypond-book.itely b/Documentation/user/lilypond-book.itely index 599e2ae36d..7fc46d3f15 100644 --- a/Documentation/user/lilypond-book.itely +++ b/Documentation/user/lilypond-book.itely @@ -7,7 +7,7 @@ version that you are working on. See TRANSLATION for details. @end ignore -@c \version "2.11.38" +@c \version "2.11.61" @c Note: keep this node named so that `info lilypond-book' brings you here. @node LilyPond-book @@ -24,10 +24,13 @@ program extracts snippets of music from your document, runs substituted for the music. The line width and font size definitions for the music are adjusted to match the layout of your document. -This is a separate program from @command{lilypond} itself, and is run on -the command-line; for more information, see @ref{Command-line usage}. +This is a separate program from @command{lilypond} itself, and is run +on the command line; for more information, see @ref{Command-line +usage}. If you have MacOS 10.3 or 10.4 and you have trouble running +@code{lilypond-book}, see @ref{Setup for MacOS X}. -This procedure may be applied to @LaTeX{}, HTML, Texinfo or DocBook documents. +This procedure may be applied to @LaTeX{}, HTML, Texinfo or DocBook +documents. @cindex texinfo @cindex latex @@ -256,7 +259,7 @@ the user: @item @code{\postLilyPondExample} called after the music, @item @code{\betweenLilyPondSystem[1]} is called between systems if -@code{lilypond-book} has split the snippet into several postscript +@code{lilypond-book} has split the snippet into several PostScript files. It must be defined as taking one parameter and will be passed the number of files already included in this snippet. The default is to simply insert a @code{\linebreak}. @@ -493,8 +496,8 @@ the following structure: @end example -Note that you can use mediaobject or inlinemediaobject as the outermost -element as you wish. +Note that you can use @code{mediaobject} or @code{inlinemediaobject} +as the outermost element as you wish. @subheading Including LilyPond code @@ -556,6 +559,11 @@ option is present. It is also the default for the @code{lilypond} environment if the @code{fragment} option is set, and no line width is explicitly specified. +@item noragged-right +For single-line snippets, allow the staff length to be stretched to +equal that of the line width, i.e., @code{ragged-right = ##f} is +added to the LilyPond snippet. + @c does this option still exist in lilypond? -jm @item packed Produce lines with packed spacing, i.e., @code{packed = ##t} is added @@ -576,7 +584,7 @@ guess a default for @code{lilypond} environments which don't use the @code{ragged-right} option. @item notime -Do not print the time signature, and turns off the timing (key signature, +Do not print the time signature, and turns off the timing (time signature, bar lines) in the score. @item fragment @@ -735,7 +743,7 @@ directory part of the file path is stripped. @item fontload This option includes fonts in all of the generated EPS-files for this -snippet. This should be used if the snippet uses any font that LaTeX +snippet. This should be used if the snippet uses any font that @LaTeX{} cannot find on its own. @end table @@ -891,20 +899,20 @@ 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 music stick out of the right margin. -The width of a tightly clipped systems can vary, due to notation +The width of a tightly clipped system can vary, due to notation elements that stick into the left margin, such as bar numbers and instrument names. This option will shorten each line and move each line to the right by the same amount. -@item -P @var{process} +@item -P @var{command} @itemx --process=@var{command} Process LilyPond snippets using @var{command}. The default command is @code{lilypond}. @code{lilypond-book} will not @code{--filter} and @code{--process} at the same time. @item --pdf -Create PDF files for use with PDFLaTeX. +Create PDF files for use with PDF@LaTeX{}. @item -V @itemx --verbose @@ -971,14 +979,14 @@ the automated method with @command{lilypond-book}. @end menu @node Many quotes from a large score -@subsection Many quotes from a large score +@unnumberedsubsec Many quotes from a large score If you need to quote many fragments from a large score, you can also use -the clip systems feature, see @ruser{Extracting fragments of notation}. +the clip systems feature, see @ruser{Extracting fragments of music}. @node Inserting LilyPond output into OpenOffice.org -@subsection Inserting LilyPond output into OpenOffice.org +@unnumberedsubsec Inserting LilyPond output into OpenOffice.org @cindex OpenOffice.org @@ -987,7 +995,7 @@ LilyPond notation can be added to OpenOffice.org with @node Inserting LilyPond output into other programs -@subsection Inserting LilyPond output into other programs +@unnumberedsubsec Inserting LilyPond output into other programs To insert LilyPond output in other programs, use @code{lilypond} instead of @code{lilypond-book}. Each example must be created @@ -1011,9 +1019,12 @@ the following options @{ c1 @} @end example -To produce a useful EPS file, use +To produce a useful @file{EPS} file, use @example lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts myfile.ly + +@file{PNG}: +lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts --png myfile.ly @end example