Excluded tags affect output
Marcus Redivo <[email protected]> Wed, 02 Apr 2025 14:24:54 +0000
| Newsgroups | gmane.comp.gnu.lilypond.bugs |
|---|---|
| Message-ID | <[email protected]> |
It appears that the content of an excluded tag still affects the octave in \relative-pitched music.
I would expect the following two lines of code to produce identical output:
\version "2.24.4"
\keepWithTag #'A \relative { a \tag #'A { e' } \tag #'B { e' } }
\keepWithTag #'B \relative { a \tag #'A { e' } \tag #'B { e' } }
But in fact they do not: the E produced by the second line is an octave higher than the first (screenshot attached).
The workaround is to leave off the tick in the B tag section, but this doesn’t make the intention clear:
\keepWithTag #'B \relative { a \tag #'A { e' } \tag #'B { e } }
Is this intended behaviour, or a bug?
Thanks,
Marcus
[tag-test-results.png]