[Top][All Lists]

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

Re: tag and default

From: David Kastrup
Subject: Re: tag and default
Date: Thu, 12 Apr 2018 11:42:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Gianmaria Lari <address@hidden> writes:

> This code ...
> \version "2.19.81"
> var = {
>   \tag #'mya {a}
>   \tag #'myb {b}
> }
> { \keepWithTag #'mya \var }
> { \keepWithTag #'myb \var }
> { \var}
> creates three scores:
> 1) a
> 2) b
> 3) a b
> In the third case, where no \keepWithTag is specified, lilypond returns all
> elements (a and b).
> Is there any way to make lilypond returning only one element (a sort of
> default element) and not all the elements IF I don't specify any
> \keepWithTag?

What are you trying to do?  Basically you are asking whether you can
make LilyPond do something different without telling it to make
something different.

You will need to provide more details of just what you want to be
providing via which channels and what not in order to have people figure
out what would better meet your requirement than just writing
\keepWithTag when you want it.

David Kastrup

reply via email to

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