Eluze <[email protected]> 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

_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to