lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Doc: Usage added @knownissue for LaTeX (issue 5492075)


From: pkx166h
Subject: Re: Doc: Usage added @knownissue for LaTeX (issue 5492075)
Date: Sat, 31 Dec 2011 13:23:12 +0000

Reviewers: dak,

Message:
On 2011/12/20 10:07:55, dak wrote:

http://codereview.appspot.com/5492075/diff/1/Documentation/usage/lilypond-book.itely
File Documentation/usage/lilypond-book.itely (right):


http://codereview.appspot.com/5492075/diff/1/Documentation/usage/lilypond-book.itely#newcode915
Documentation/usage/lilypond-book.itely:915: @dots{}
@address@hidden@}}
environment.  Use @code{\newcommand}
Sure \paper does not work?  I'd rather suspect that the working paper
block
variables are merely restricted to that set operating within the image
included
from Lilypond, while the outside and embedding would be under control
of LaTeX
instead.

Well from my limited testing things like ragged-right=##t do indeed work
inside the \begin{lilypond} ... \end{lilypond} but ragged-last-bottom
does not, nor does explicitly setting the page size using \paper{}.

So it looks like you are right. I'll reword the patch to be
(unfortunatley) less specific - there are just too many \paper variables
to test to list those that will/won't work in a {lilypond} environment.


Description:
Doc: Usage added @knownissue for LaTeX

This is for Tracker issue 1802.

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

Please review this at http://codereview.appspot.com/5492075/

Affected files:
  M Documentation/usage/lilypond-book.itely


Index: Documentation/usage/lilypond-book.itely
diff --git a/Documentation/usage/lilypond-book.itely b/Documentation/usage/lilypond-book.itely index 95499d06def5072f4c3c3f376e160456f6c024bf..241895b713fa04ba4fc5b9fb15931c9805a990ce 100644
--- a/Documentation/usage/lilypond-book.itely
+++ b/Documentation/usage/lilypond-book.itely
@@ -910,6 +910,16 @@ 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.

address@hidden
+The @code{\paper} block does not work in a @address@hidden@}}
address@hidden @address@hidden@}} environment.  Use @code{\newcommand}
+with @code{\betweenLilyPondSystem} in the preamble;
+
address@hidden
+\newcommand{\betweenLilyPondSystem}[1]{\vspace{36mm}\linebreak}
address@hidden example
+
+
 @subsubheading Texinfo

 To produce a Texinfo document (in any output format), follow the normal





reply via email to

[Prev in Thread] Current Thread [Next in Thread]