From 0cc0c4fb20b70e717db7e8f43cbb0c1878cd8395 Mon Sep 17 00:00:00 2001 From: James Lowe Date: Tue, 20 Dec 2011 07:37:34 +0000 Subject: [PATCH] Doc: Usage added @knownissue for LaTeX 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 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Documentation/usage/lilypond-book.itely b/Documentation/usage/lilypond-book.itely index c4ed8d2692..8b38c1c46d 100644 --- a/Documentation/usage/lilypond-book.itely +++ b/Documentation/usage/lilypond-book.itely @@ -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 -- 2.39.5