Re: slurUp not honored for acciaccatura/appoggiatura if first note

2021-08-04 Thread Knute Snortum
On Wed, Aug 4, 2021 at 2:45 AM Jean Abou Samra  wrote:
> Have a look at the recent thread
>
> https://lists.gnu.org/archive/html/bug-lilypond/2021-07/msg00012.html
>
> Workaround:
>
> \version "2.22.1"
>
> \new Voice \relative c' {
>$(add-grace-property 'Voice 'Slur 'direction UP)
>\acciaccatura { d8 } c4
>$(remove-grace-property 'Voice 'Slur 'direction)
>\acciaccatura { d8 } c4
>\acciaccatura { d8 } c4 \acciaccatura { d8 } c4
> }

Thanks, that works great!  I saw that thread, but I didn't know how it
related to me.  Thanks for clarifying it.

--
Knute Snortum



Re: slurUp not honored for acciaccatura/appoggiatura if first note

2021-08-04 Thread David Kastrup
David Kastrup  writes:

> Knute Snortum  writes:
>
>> I've run into what I think is a bug (and I couldn't find it in gitlab
>> Issues). If an acciaccatura or appoggiatura is the first note in a
>> piece, a \slurUp is not honored (it stays a down slur). Subsequent
>> notes work fine. MWE:
>>
>> %%%
>> \version "2.23.3"
>>
>> \relative c' {
>>   \acciaccatura { \slurUp d8 } c4 \acciaccatura { \slurUp d8 } c4
>>   \acciaccatura { \slurUp d8 } c4 \acciaccatura { \slurUp d8 } c4
>> }
>>
>> \relative c' {
>>   \appoggiatura { \slurUp d8 } c4 \appoggiatura { \slurUp d8 } c4
>>   \appoggiatura { \slurUp d8 } c4 \appoggiatura { \slurUp d8 } c4
>> }
>> %%%
>>
>> Is there a work-around?
>
> Start your contexts explicitly with \new Voice { ... }.

Huh, that doesn't actually help.  I wonder why.  Have to look more thoroughly.

-- 
David Kastrup



Re: slurUp not honored for acciaccatura/appoggiatura if first note

2021-08-04 Thread Jean Abou Samra

Le 04/08/2021 à 02:18, Knute Snortum a écrit :

I've run into what I think is a bug (and I couldn't find it in gitlab
Issues). If an acciaccatura or appoggiatura is the first note in a
piece, a \slurUp is not honored (it stays a down slur). Subsequent
notes work fine. MWE:

%%%
\version "2.23.3"

\relative c' {
   \acciaccatura { \slurUp d8 } c4 \acciaccatura { \slurUp d8 } c4
   \acciaccatura { \slurUp d8 } c4 \acciaccatura { \slurUp d8 } c4
}

\relative c' {
   \appoggiatura { \slurUp d8 } c4 \appoggiatura { \slurUp d8 } c4
   \appoggiatura { \slurUp d8 } c4 \appoggiatura { \slurUp d8 } c4
}
%%%

Is there a work-around?

--
Knute Snortum



Have a look at the recent thread

https://lists.gnu.org/archive/html/bug-lilypond/2021-07/msg00012.html

Workaround:

\version "2.22.1"

\new Voice \relative c' {
  $(add-grace-property 'Voice 'Slur 'direction UP)
  \acciaccatura { d8 } c4
  $(remove-grace-property 'Voice 'Slur 'direction)
  \acciaccatura { d8 } c4
  \acciaccatura { d8 } c4 \acciaccatura { d8 } c4
}


Best,
Jean



Re: slurUp not honored for acciaccatura/appoggiatura if first note

2021-08-04 Thread David Kastrup
Knute Snortum  writes:

> I've run into what I think is a bug (and I couldn't find it in gitlab
> Issues). If an acciaccatura or appoggiatura is the first note in a
> piece, a \slurUp is not honored (it stays a down slur). Subsequent
> notes work fine. MWE:
>
> %%%
> \version "2.23.3"
>
> \relative c' {
>   \acciaccatura { \slurUp d8 } c4 \acciaccatura { \slurUp d8 } c4
>   \acciaccatura { \slurUp d8 } c4 \acciaccatura { \slurUp d8 } c4
> }
>
> \relative c' {
>   \appoggiatura { \slurUp d8 } c4 \appoggiatura { \slurUp d8 } c4
>   \appoggiatura { \slurUp d8 } c4 \appoggiatura { \slurUp d8 } c4
> }
> %%%
>
> Is there a work-around?

Start your contexts explicitly with \new Voice { ... }.

-- 
David Kastrup