lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Storing a bookpart in a variable


From: Urs Liska
Subject: Re: Storing a bookpart in a variable
Date: Thu, 25 Feb 2016 11:45:28 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1


Am 25.02.2016 um 11:41 schrieb Vaughan McAlley:
> On 25 February 2016 at 19:08, Jacques Menu Muzhic <address@hidden> 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 <address@hidden> 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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

[Prev in Thread] Current Thread [Next in Thread]