[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: disabling point-and-click for displayed chords?
From: |
David Kastrup |
Subject: |
Re: disabling point-and-click for displayed chords? |
Date: |
Tue, 15 Jan 2013 10:41:05 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Adam Spiers <address@hidden> 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