Am 25.02.2016 um 11:41 schrieb Vaughan McAlley:
> On 25 February 2016 at 19:08, Jacques Menu Muzhic <imj-muz...@bluewin.ch> 
> wrote:
>> Hello Vaughan,
>>
>> Not sure to understand your need: would tags help in that case?
>>
>> JM
>>
>>> Le 25 févr. 2016 à 00:48, Vaughan McAlley <vaug...@mcalley.net.au> a écrit :
>>>
>>> Greetings,
>>>
>>> I’d like to be able to specify at the top of my main score which
>>> movements are printed. I can store a \bookpart in a variable, but I
>>> can’t seem to return it from a scheme expression. Is there a bookpart
>>> equivalent to define-music-function that I haven’t found?
>>>
>>> Vaughan
>>>
> No, a tag expects music rather than a \bookpart. The purpose is with a
> multi-movement work, to be easily able to change which movements are
> printed by changing the variable at the top of the main file. For
> example, if I’m working on the second movement, I don’t need the first
> movement to be compiled. It’s easy enough to get any given score to
> contain the music you want or {} with define-music-function, but there
> are still headers and pagebreaks on the empty scores, which I don’t
> want. So I want to ‘elevate’ the decision to the level of \bookpart.

You will have to modify your input file anyway.
So would it work to define each bookpart in its own file and have
something like this at the top of your main file:

\include "movementOne.ily"
%\include "movementTwo.ily"

?

Urs


>
> Vaughan
>
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user


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

Reply via email to