bug-lilypond
[Top][All Lists]
Advanced

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

bar numbering with cadenzaOn


From: Benoit Farley
Subject: bar numbering with cadenzaOn
Date: Thu, 19 Jan 2006 14:38:34 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

In the output generated by the example code below, the bar number for 
measure 3 is 2 instead of 3.

I understood that \cadenzaOn stopped the automatic metering and
automatic bar numbering such that after the f' in measure 2, there is no bar 
added and no incrementing of the bar number.  When \cadenzaOff is met and
a new bar is added, the bar numbering should resume from 2 and be 
incremented to 3.  But it remains to 2.  I get this result with version
2.7.27 on Windows XP and Windows 2000.

Benoit Farley

\score {
  \context Staff {
   \override Score.BarNumber #'break-visibility = #end-of-line-invisible
  \key f \major
  \time 4/4
  %measure 1
  f' 1
  %measure 2 ----- the bar generated automatically has number 2 printed
  \cadenzaOn
  r8 bes' c'' bes' g' bes' g' f' 
  %extension of measure 2
  e' f' e' d' bes a bes' d'
  \cadenzaOff
  \bar "|"   %%% the bar should be numbered 3, but it is numbered 2
  %measure 3
  a1
  %measure 4 --- this bar should be numbered 4, but it is numbered 3
  f1
  }
   \layout {
  }
 }







reply via email to

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