Adam Spiers <[email protected]> writes:
> Hi all,
>
> I need to generate point-and-click links for notes but not for
> displayed chord names. However, \pointAndClickTypes only filters by
> music event class, and if my understanding is correct, events in a
> certain music class have no notion of which context they are being
> applied in, and so this filter cannot distinguish between a note-event
> in a Voice context and a note-event in a ChordNames context.
Also, this filter is global.
> Am I correct, and if so, is there any workaround? I naively tried:
>
> \score {
> <<
> \pointAndClickTypes #'()
> \allchords
> \pointAndClickTypes #'(note-event)
> \new Staff {
> \allnotes
> }
> >>
> ...
> }
>
> but it still created point-and-click annotations for everything.
You could use an engraver in ChordNames for wiping out the (event) cause
of the last involved grob. Then the point-and-click location would no
longer be available...
--
David Kastrup
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user