Is it possible to put all the variables in the main file to eliminate that
problem?

-Shane

On Tue, Jun 30, 2026, 10:26 AM Sven Axelsson <[email protected]>
wrote:

> I have many files that each define a separate score. Sometimes I also
> want to combine them using book/bookpart like so:
>
> \book {
>   \bookpart {
>     \include "score1.ly"
>     \include "score1.ly"
>   }
> }
>
> and so on.
>
> However, as noted in
> https://lilypond.org/doc/v2.26/Documentation/notation/multiple-scores-in-a-book
> the include will fail if the score contains variables, which it sometimes
> does.
>
> What is the best workaround for this case, where I both want to render the
> score separately and include it in a bookpart?
>
> --
> *Sven Axelsson*
> ++++++++++[>++++++++++>+++++++++++>++++++++++>++++++
> >++++<<<<<-]>++++.+.++++.>+++++.>+.<<-.>>+.>++++.<<.
> +++.>-.<<++.>>----.<++.>>>++++++.<<<<.>>++++.<----.
>

Reply via email to