On Wed, Sep 16, 2026 at 9:55 AM Sven Axelsson <[email protected]>
wrote:

> Hi list,
>
> I need to create a score with a first part and either two or three
> following parts that should be switchable when rendering. The primary use
> will be to `\include` this score in a `\bookpart` and I want to put as
> little code as possible outside the included score.
>
> What is the recommended way of doing this? Using tags or variables and
> conditionals? I want to put it all in a single file single since there will
> be a lot of shared code between the versions.
>

Well, the way I would do it is to have parts one, two, and three in
separate files with each part in its own variable.  Then I would have two
"driver" files: one that includes parts one and two and one that includes
parts one and three.  The driver files would only contain the includes and
the commands for the variables.  If that doesn't make sense, I can try to
explain in more detail.

--
Knute Snortum

Reply via email to