Re: Including multiple scores in book/bookpart
Shane Brandes <[email protected]> Tue, 30 Jun 2026 10:39:40 -0400
| Newsgroups | gmane.comp.gnu.lilypond.general |
|---|---|
| Message-ID | <CADVPZqr7LdLmww1zgYdiG7JiMHiWpdh87yenc43UHfE6oesTMg@mail.gmail.com> |
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* > ++++++++++[>++++++++++>+++++++++++>++++++++++>++++++ > >++++<<<<<-]>++++.+.++++.>+++++.>+.<<-.>>+.>++++.<<. > +++.>-.<<++.>>----.<++.>>>++++++.<<<<.>>++++.<----. >