[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Interaction of slurs and bar checks
From: |
Jean Abou Samra |
Subject: |
Re: Interaction of slurs and bar checks |
Date: |
Wed, 25 Jan 2023 15:18:33 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 |
On 25/01/2023 15:10, Michael Käppler wrote:
> Hi all,
> I'm posting to bug-lilypond instead of opening an issue in the tracker,
> because
> I'm not sure if the behaviour is somehow intended or a bug.
> Consider the following example:
>
> \version "2.24.0"
> {
> \time 2/4
> d''8 r e''4 |
> ( cis''16 ) cis'' d'' d''
> }
>
> It gives a warning "Unattached SlurEvent" and does not print a slur.
>
> Removing the bar check gives the correct rendition.
>
> What also works is:
>
> \version "2.24.0"
> {
> \time 2/4
> d''8 r e''4 ( |
> cis''16 ) cis'' d'' d''
> }
>
> i.e. moving the opening parenthesis before the bar check.
>
> This behaviour is not new, 2.20.0 behaves exactly the same.
> At least NR 1.2.5 does not mention such a kind of interaction.
> Am I missing something?
Why do you expect the first one to work... ?
A slur is a post-event. It attaches to a note. A bar check is not a post-event.
The first example is trying to attach a slur to a bar check. The failure seems
quite logical to me.
Best,
Jean
OpenPGP_signature
Description: OpenPGP digital signature