Comment #4 on issue 2343 by d...@gnu.org: Faulty file-naming when outputting multiple \books
http://code.google.com/p/lilypond/issues/detail?id=2343

As you can easily see when looking at the definition of \bookOutputName and \bookOutputSuffix, they don't use a parser variable but rather a global variable. There is no nesting of \book blocks here, like \context { \Score ... } is not a nesting of context definitions. It is just a syntax for referring to an existing \book definition, and you can't use a book variable anywhere but at the top of a \book block.

The whole point of the original poster was that the outputname can be changed in midsession. So it is perfectly sensible to store it in a book definition. The question is just where. The \paper output definition makes sense to me. That is not an absolute: I am certainly open to better suggestions.

A global variable does not make sense to me.  That's what we have now.


_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to