lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: \mark and slur


From: David Kastrup
Subject: Re: \mark and slur
Date: Fri, 15 Sep 2017 00:25:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Thomas Morley <address@hidden> writes:

> I'd go for post-event(s)
> Plural, because there may be more than one. See example below

But every one gets its own warning, so each warning is only for one.

> But
> { -\3 -\rightHandFinger #2 d'4 }
> issues the warning, the image doesn't contain the post-events, though.
> Not a problem of your patch, because a spelled out version fails as well:
> { <>\3\rightHandFinger #2 d'4 }
>
> I guess it's because the post-events are attached to an event-chord
> and not a note-event, since
> { d'4\3\rightHandFinger #2 }
> works as expected. But I'm guessing...
>
> Nevertheless, the current warning feels like lily would fix the
> problem, but doesn't.

It fixes the problem of post-events attached to nothing.  Try
\displayMusic if you don't believe it.

The "problem" of explicit per-note articulations (like string and
right-finger numbers) not getting engraved when attached to a whole
chord has always been there.  That they _do_ appear for
{ d'4\3\rightHandFinger #2 } has not been historically the case.  It's
the somewhat edgy

commit 84cad110c3bbaeca8e5144dba7f8756b89100396
Author: David Kastrup <address@hidden>
Date:   Sat Apr 21 22:30:55 2012 +0200

    Let rhythmic-engraver make its articulation-or-event decision based on 
current listeners
    
    This removes the dependency of the rhythmic engraver on a static list
    of unlistened event classes and thus is part of work on issue 2449.
    
    As one effect, string numbers on isolated notes in Voice contexts are
    now typeset by default since the string numbers have no listener in
    Voice contexts even though they would have one in TabVoice.

and similar which does that.  Frankly, what does it even _mean_ to use a
particular righthand finger and string for a non-existing note?

> Your patch-descriptions reads (among other stuff):
>
> "Parser: Add reverse_music_list function
>
> This function does not just reverse a music list but also integrates
> post events into the respective preceding expressions. If that is not
> possible, a warning is printed and they are either dropped or attached
> to an empty chord (depending on a call parameter).
> "
>
> So I'd rather expect a warning if stuff is dropped.

It isn't.  Please take a look at the output of \displayMusic .  It is
not _dropped_ but rather ignored since no engraver listens for those
events and they aren't attached to notes where the
New_fingering_engraver would get to consider them.

They are part of the expression, as announced.

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]