X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fuser%2Flilypond-book.itely;h=64d635307e3c9454ee6d0d3b818d9edbcfbb93cb;hb=c4664abbe99627b0af168fe6ded11dae7cee3f08;hp=a9a2282b4b5f50dd52f72a10bbcab211e4e92dd3;hpb=7f65b882cf00bdc468eef1f2517161b56e3a3851;p=lilypond.git diff --git a/Documentation/user/lilypond-book.itely b/Documentation/user/lilypond-book.itely index a9a2282b4b..64d635307e 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.61" +@c \version "2.12.0" @c Note: keep this node named so that `info lilypond-book' brings you here. @node LilyPond-book @@ -255,7 +255,7 @@ use the @code{line-width} music fragment option. Each snippet will call the following macros if they have been defined by the user: -@itemize bullet +@itemize @bullet @item @code{\preLilyPondExample} called before the music, @item @code{\postLilyPondExample} called after the music, @@ -674,6 +674,13 @@ will be printed with a verbatim block like f2 e @end example +@noindent +If you would like to translate comments and variable names in verbatim +output but not in the sources, you may set the environment variable +@code{LYDOC_LOCALEDIR} to a directory path; the directory should +contain a tree of @file{.mo} message catalogs with @code{lilypond-doc} +as a domain. + @item addversion (Only for Texinfo output.) Prepend line @code{\version @@w@{"@@version@{@}"@}} to @code{verbatim} output. @@ -706,8 +713,8 @@ and we have this in our Texinfo document @file{test.texinfo} the following command line gives the expected result @example -lilypond-book --process="lilypond --format=tex --tex \ - --header=texidoc test.texinfo +lilypond-book --pdf --process="lilypond \ + -dbackend=eps --header=texidoc" test.texinfo @end example Most LilyPond test documents (in the @file{input} directory of the @@ -740,6 +747,10 @@ Texinfo document as @code{@@lydoctitle @var{text}}. The same remark about @code{texidoc} processing with localized languages also applies to @code{doctitle}. +@item nogettext +(Only for Texinfo output.) Do not translate comments and variable +names in the snippet quoted verbatim. + @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