]> git.donarmstrong.com Git - lilypond.git/commitdiff
Doc: Usage added @knownissue for LaTeX
authorJames Lowe <james.lowe@datacore.com>
Tue, 20 Dec 2011 07:37:34 +0000 (07:37 +0000)
committerCarl <c_sorensen@byu.edu>
Sat, 14 Jan 2012 21:36:33 +0000 (14:36 -0700)
This is for Tracker issue 1005.

Describes that \paper will not work inside a {lilypond} environment and
must be defined appropriately in the preamble.

Documentation/usage/lilypond-book.itely

index c4ed8d2692eb3d02f8bb0e32ec1e54e361f93e0f..8b38c1c46dbfd054aec59c4377af974921a45a0f 100644 (file)
@@ -911,6 +911,19 @@ are harmless and may be ignored.  If you are running @command{latex} in
 twocolumn mode, remember to add @option{-t landscape} to the
 @command{dvips} options.
 
+@knownissues
+The @code{\pageBreak} command will not work within a
+@code{\begin@{lilypond@} @dots{} \end@{lilypond@}} environment.
+
+Many @code{\paper} block variables will also not work within a
+@code{\begin@{lilypond@} @dots{} \end@{lilypond@}} environment.  Use
+@code{\newcommand} with @code{\betweenLilyPondSystem} in the preamble;
+
+@example
+\newcommand@{\betweenLilyPondSystem@}[1]@{\vspace@{36mm@}\linebreak@}
+@end example
+
+
 @subsubheading Texinfo
 
 To produce a Texinfo document (in any output format), follow the normal