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]