X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fuser%2Flilypond-book.itely;h=f063b6b291a443bb4776434e0f546e95c898451e;hb=dd52a4d47e1b402c1dca7d8e1cc42f41089a69f5;hp=4478c0d6cb8a93af87c00d25043989c9e3456a8f;hpb=0b6a02a3e81c60eec7944d3e7433ae0634c972a0;p=lilypond.git diff --git a/Documentation/user/lilypond-book.itely b/Documentation/user/lilypond-book.itely index 4478c0d6cb..f063b6b291 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.51" @c Note: keep this node named so that `info lilypond-book' brings you here. @node LilyPond-book @@ -556,6 +556,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 @@ -700,6 +705,13 @@ lilypond-book --process="lilypond --format=tex --tex \ Most LilyPond test documents (in the @file{input} directory of the distribution) are small @file{.ly} files which look exactly like this. +For localization purpose, if the Texinfo document contains +@code{@@documentlanguage @var{LANG}} and @file{foo@/.ly} header +contains a @code{texidoc@var{LANG}} field, and if @command{lilypond} +is called with @option{--header=@/texidoc@var{LANG}}, then +@file{foo@/.texidoc@var{LANG}} will be included instead of +@file{foo@/.texidoc}. + @item lilyquote (Only for Texinfo output.) This option is similar to quote, but only the music snippet (and the optional verbatim block implied by @@ -707,6 +719,19 @@ the music snippet (and the optional verbatim block implied by useful if you want to @code{quote} the music snippet but not the @code{texidoc} documentation block. +@item doctitle +(Only for Texinfo output.) This option works similarly to +@code{texidoc} option: if @command{lilypond} is called with the +@option{--header=@/doctitle} option, and the file to be processed is +called @file{foo@/.ly} and contains a @code{doctitle} field in the +@code{\header}, it creates a file @file{foo@/.doctitle}. When +@code{doctitle} option is used, the contents of @file{foo@/.doctitle}, +which should be a single line of @var{text}, is inserted in the +Texinfo document as @code{@@lydoctitle @var{text}}. +@code{@@lydoctitle} should be a macro defined in the Texinfo document. +The same remark about @code{texidoc} processing with localized +languages also applies to @code{doctitle}. + @item printfilename If a LilyPond input file is included with @code{\lilypondfile}, print the file name right before the music snippet. For HTML output, this @@ -954,7 +979,7 @@ the automated method with @command{lilypond-book}. @subsection 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 @@ -995,5 +1020,8 @@ To produce a useful EPS file, use @example lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts myfile.ly + +PNG: +lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts --png myfile.ly @end example