]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/user/lilypond-book.itely
* tex/GNUmakefile (TEX_FILES): add texinfo.cnf
[lilypond.git] / Documentation / user / lilypond-book.itely
index e2d1f939b34640289b0458808ab9ea37a45e95f1..56a3a013c15196790ea6d3b7ab8245bc15bf6f63 100644 (file)
@@ -1,4 +1,5 @@
-@c -*-texinfo-*-
+@c -*- coding: latin-1; mode: texinfo; -*-
+   
 
 @ignore
 
@@ -330,7 +331,7 @@ music, so you can make a HTML document with embedded music.
 Music is entered using
 
 @example
-<lilypond relative=1 verbatim>
+<lilypond relative=2 verbatim>
   \key c \minor r8 c16 b c8 g as c16 b c8 d | g,4
 </lilypond>
 @end example
@@ -338,7 +339,8 @@ Music is entered using
 @noindent
 of which lilypond-book will produce a HTML with appropriate image tags for the
 music fragments:
+
+@c  why the second example?  -gp
 @example
 <lilypond relative=2 verbatim>
   \key c \minor r8 c16 b c8 g as c16 b c8 d | g,4
@@ -354,6 +356,7 @@ For inline pictures, use @code{<lilypond ... />} syntax, e.g.
 Some music in <lilypond a b c/> a line of text.
 @end example
 
+@c  FIXME: check if this feature is coming soon; if not, @ignore this stuff.
 A special feature not (yet) available in other output formats, is the
 @code{<lilypondfile>} tag, for example,
 @example
@@ -466,9 +469,20 @@ that directory before running La@TeX{} or @file{makeinfo}:
 
 @example
 lilypond-book --output=out yourfile.lytex
-cd out && latex yourfile.tex
+cd out
+@end example
+
+This will produce a .tex or .texi file.  To produce a pdf from the
+.tex file, you should do
+
+@example
+latex yourfile.tex
+dvips -Ppdf -u+ec-mftrace.map -u+lilypond.map yourfile.dvi
+ps2pdf yourfile.ps
 @end example
 
+To produce a texinfo document (in any output format), follow the normal
+procedures for texinfo.
 
 @command{lilypond-book} accepts the following command line options: