bug-lilypond
[Top][All Lists]
Advanced

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

Percents repeats confused by polyphony


From: Mark Polesky
Subject: Percents repeats confused by polyphony
Date: Fri, 9 Apr 2010 11:41:53 -0700 (PDT)

The first of a group of "full measure" percent repeat
symbols doesn't get printed when the music expression is
polyphonic (see the attached png); and the following errors
are generated:

programming error: must have Item for spanner bound of PercentRepeat
programming error: Multi_measure_rest::get_rods (): I am not spanned!

Also, a pdf file is produced, despite getting these:

error: failed files: "percent_repeats.ly"
shell returned 1

Here's a test file:

\version "2.13.18"
\relative c'' {
  \repeat percent 4 {
    << { c4 c c c } \\ { f,4 f f f } >>
  }
}

One workaround is to have the user manually add:

\set countPercentRepeats = ##f

...but I assume this is a needless burden.  I glanced at
percent-repeat-engraver.cc, but I still don't know any C++,
so I'm unable to solve it myself.  Is there a way to have
the countPercentRepeats context property set to #f by
default?  Or is the real problem some sort of flawed
assumption within the PercentRepeat or Multi_measure_rest
code?  I have no idea.

But I presume this is a bug which hopefully is easy to fix.

Any insights?
- Mark


      

Attachment: percent-repeats.png
Description: PNG image


reply via email to

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