]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/user/lilypond-book.itely
* make/lilypond-vars.make: centralize LILYPOND_BOOK_FLAGS setting.
[lilypond.git] / Documentation / user / lilypond-book.itely
index 42a7263c604321a45763356f0f22eb5fc3b20880..81c26f4693d26387147945e37c5a65a1f29f6555 100644 (file)
@@ -78,7 +78,7 @@ show two simple examples here.  First a complete block:
 @noindent
 produces
 
-@lilypond
+@lilypond[fragment]
   c' d' e' f' g'2 g'
 @end lilypond
 
@@ -91,7 +91,7 @@ Then the short version:
 @noindent
 produces
 
-@lilypond[staffsize=11]{ <c' e' g'> }
+@lilypond[fragment,staffsize=11]{ <c' e' g'> }
 
 When producing texinfo, lilypond-book also generates bitmaps of the
 music, so you can make a HTML document with embedded music.
@@ -135,7 +135,7 @@ We show some examples here:
 @noindent
 produces
 
-@lilypond[staffsize=26]
+@lilypond[fragment,staffsize=26]
   c' d' e' f' g'2 g'2
 @end lilypond
 
@@ -148,7 +148,7 @@ Then the short version:
 @noindent
 produces
 
-@lilypond[staffsize=11]{<c' e' g'>}
+@lilypond[fragment,staffsize=11]{<c' e' g'>}
 
 The linewidth of the music will be adjust by examining the commands in
 the document preamble, the part of the document before
@@ -165,16 +165,8 @@ and the
 are also interpreted.
 
 @cindex titling and lilypond-book
-@cindex lilypond-book and titling
 @cindex @code{\header} in La@TeX{} documents
 
-The titling from the @code{\header} section of the fragments can be
-imported by adding the following to the top of the La@TeX{} file:
-
-@example
-\input titledefs.tex
-\def\preLilyPondExample@{\def\mustmakelilypondtitle@{@}@}
-@end example
 
 The music will be surrounded by @code{\preLilyPondExample} and
 @code{\postLilyPondExample}, which are defined to be empty by default.
@@ -232,7 +224,7 @@ music fragments:
 </lilypond>
 @end example
 
-@lilypond[relative=2]
+@lilypond[fragment,relative=2]
   \key c \minor r8 c16 b c8 g as c16 b c8 d | g,4
 @end lilypond
 
@@ -387,7 +379,7 @@ Place generated files in @var{dir}.
 
 @item @option{-P @var{process}}, @option{--process=@var{COMMAND}}
 Process lilypond snippets using @var{command}.  The default command is
-@var{lilypond-bin}.
+@code{lilypond}.
 
 @item @option{--verbose}
 Be verbose.