opensubscriber
   Find in this group all groups
 
Unknown more information…

b : bug-lilypond@gnu.org 26 March 2012 • 1:35AM -0400

Re: \\bookOutputName not working if a \\paper block uses a previously defined variable
by David Kastrup

REPLY TO AUTHOR
 
REPLY TO GROUP




Eluze <eluzew@gmai...> 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
bug-lilypond@gnu....
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.