bug-lilypond
[Top][All Lists]
Advanced

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

Re: Fwd: Re: \repeat percent does not use the beat-slash stencil


From: Colin Campbell
Subject: Re: Fwd: Re: \repeat percent does not use the beat-slash stencil
Date: Mon, 21 Mar 2011 19:47:02 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8

On 11-03-21 01:52 PM, Ed Gordijn wrote:
Hi Colin,

Attached is a figure of the result as it is and how it was in v2.13.39.

I'll hope that helps.

Greetings, Ed

-------- Originele bericht --------
Onderwerp:      Re: \repeat percent does not use the beat-slash stencil
Datum:  Mon, 21 Mar 2011 13:18:00 +0100
Van:    Ed Gordijn <address@hidden>
Aan:    Colin Campbell <address@hidden>



Hi Collin,

The behaviour has changed since 2.13.39. In that version single
slashes were used in both cases. That is the reason that I found this.

And I have seen the text in the manual but I read it as a limitation
in functionality. That other notation than single slashes is not
supported for single beat repeats.

Greetings, Ed

2011/3/21, Colin Campbell<address@hidden>:
>  On 11-03-19 12:12 PM, Ed Gordijn wrote:
>>  \version "2.13.54"
>>  \relative c''{
>>       \time 4/4
>>       \key c \major
>>  % Ok ....
>>       \repeat percent 4 {c8 c }
>>
>>  % Not Ok ....
>>       \repeat percent 4 {c8 c16 c}
>>  }
>>
>>  \layout{ ragged-right = ##t }
>  I believe this is a known issue, arising from using percent repeats on
>  16th note, Ed. Please have a look at the Notation Reference 1.4.2
>  Percent Repeats.
>
>  Colin Campbell
>  Bug Squad
>


I did some digging in the git history, and found that the behavior changed in 2.13.51, when the percent repeat and beat slash code was heavily modified. For interest's sake, here is the new regression test which most closely fits your case:
The file is in input/regression/repeat-slash-mixed.ly

\version "2.13.51"

\header {
  texidoc = "Beat repeats for patterns containing mixed durations use
a double percent symbol."
}

\relative c' {
  \repeat percent 4 {
    c8. <d f>16
  }
  \repeat percent 2 {
    \times 2/3 {
      r8 d e
    }
    c4
  }
}

So, LilyPond is behaving as expected, but I'll raise an issue regarding the need to update the Notation Reference to reflect the new behaviour, and to add more complete examples.

Thanks for your help in digging this out, Ed!

Colin Campbell
Bug Squad

--
The test of our progress is not whether we add more to the abundance
of those who have much, it is whether we provide enough for those who
have too little.
-Franklin D. Roosevelt, 32nd US President (1882-1945)



reply via email to

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