|
From: | lilypond |
Subject: | Re: Issue 2343 in lilypond: Faulty file-naming when outputting multiple \books |
Date: | Thu, 23 Feb 2012 12:11:55 +0000 |
Comment #4 on issue 2343 by address@hidden: Faulty file-naming when outputting multiple \books
http://code.google.com/p/lilypond/issues/detail?id=2343As 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.
[Prev in Thread] | Current Thread | [Next in Thread] |