|
From: | David Kastrup |
Subject: | Re: \\bookOutputName not working if a \\paper block uses a previously defined variable |
Date: | Sun, 25 Mar 2012 19:35:13 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) |
Eluze <address@hidden> writes: > Hi Mark > > the question was more if somebody else thinks it should be mentioned > in the doc - but here we go; > > in NR 3.1.4 I suggest to add a note/warning just before the next > chapter (3.1.5): > > "If in the \book there is a \paper block containing previously defined > variables the \bookOutputName and \bookOutputSuffix must come after > the \paper block!" > > optionally a small example could be added: > > % example: > aFivePaper = \paper { paperheight = 21.0 \cm } > \book { > \relative { c } > \paper { \aFivePaper } > \bookOutputName "paper-test" > } > % end of example Personally, I think it would make more sense if people just placed assignments to output-filename and output-suffix inside of the book's paper block. That's straightforward to understand and does not require keeping magical ordering relations in mind. \bookOutputName is more like a compatibility API. A courtesy to keep around, but not as straightforward in its implications. -- David Kastrup
[Prev in Thread] | Current Thread | [Next in Thread] |