On Sat, 13 Apr 2019, Gianmaria Lari wrote:
> \tag #'testOne a
> \tag #'testTwo b
> ~
> \tag #'testOne a
> \tag #'testTwo b
>
> }
>
>
> But then why lilypond removes the tie? Shouldn't just remove the expression
> following testTwo that is "b" ?
The tie is not a separate object. The tie is part of the first b and that
b is tagged with testTwo. So when everything tagged testTwo is removed,
the b is removed, and the tie disappears.
This issue is another aspect of the fact that LilyPond "music" is data,
not code, and cannot contain real conditionals. It's also related to why
one writes "a( b c)" to slur all three notes together, not "(a b c)".
The parentheses do NOT designate a syntatic group as they do in pretty
much all real programming languages including Scheme; in LilyPond, a
parenthesis is a modification to the properties of the preceding note.
--
Matthew Skala
msk...@ansuz.sooke.bc.ca People before tribes.
https://ansuz.sooke.bc.ca/
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user