bug-lilypond
[Top][All Lists]
Advanced

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

Re: 2.4.2: more percent repeat problems


From: Erik Sandberg
Subject: Re: 2.4.2: more percent repeat problems
Date: Fri, 14 Jan 2005 14:38:05 +0100
User-agent: KMail/1.7.1

Thanks! I have added the bugs to the bug cvs. 

There is a simple fix: Add \new Voice after \new Staff, like:

\score {
  \new Staff \new Voice {
 \set Score.skipBars = ##t
  %  f1
    \repeat percent 2 {\twobar}
  R1*3 }
}

This fixes the first problem. 

The problem also disappears if you remove the \clef G from \twoBar, and it 
pops up in \oneBar if you add a G clef there.

I still think it is a bug; intuitively your original code should work; and if 
not there should at least be a more understandable error message.

The second problem is definitely a bug. Changing R1*3 to R1*10 gives two 
single bar rests plus one multimeasure rest of length 1*8.

The bugs were added as percent-repeat-mm-rest.ly and 
percent-repeat-no-one-to-print.ly, respectively.

Erik

On Wednesday 12 January 2005 03.28, Bruce McIntyre wrote:
> Hello,
>
> I've noticed two new issues with two-bar percent repeats.
>
> 1. If a two-bar percent-repeat is at the start of a piece,
> lilypond cannot continue:
>  warning: no one to print a percent:
>     \repeat percent 2 {\twobar
>                               }
>
> Either substituting \onebar for \twobar, or uncommenting the f1 will
> allow lilypond to produce output
>
> 2. When a multimeasure rest follows a two-bar percent repeat, it gets
> broken-up into it's component bars, regardless of Score.skipBars.
> When I first came upon this bug there was a bar of music separating
> the percent repeats and the multimeasure rest, and the multimeasure
> rest was still broken.
>
> Uncomment the f1 to see this bug. The example works fine with \onebar
> in the percent repeat.
>
> 8<------8<------8<------8<------8<------8<------8<------8<-------
>
> \version "2.4.2"
> twobar = \relative c' {
>   \clef treble
>   c1 | c1
> }
> onebar = \relative c' {
> c1
> }
> \score {
>   \new Staff {
>  \set Score.skipBars = ##t
>   %  f1
>     \repeat percent 2 {\twobar}
>   R1*3 }
> }
>
> Cheers,
>
> Bruce.
>
>
> _______________________________________________
> bug-lilypond mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-lilypond




reply via email to

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