bug-lilypond
[Top][All Lists]
Advanced

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

Re: bar numbering with cadenzaOn


From: Erik Sandberg
Subject: Re: bar numbering with cadenzaOn
Date: Fri, 20 Jan 2006 17:02:37 +0100
User-agent: KMail/1.8.3

On Thursday 19 January 2006 15.38, Benoit Farley wrote:
> In the output generated by the example code below, the bar number for
> measure 3 is 2 instead of 3.

You will get a hint about the problem, if you remove the explicit \bar "|": 
\cadenzaOff should be done _one bar before_ the end of the cadenza. I find 
this behaviour rather counter-intuitive, but it's the way it is (I think it 
is for some technical reason. It should be fixable though).

> 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
[move \cadenzaOff to this line]
>   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 {
>   }
>  }
>
>
>
>
>
> _______________________________________________
> bug-lilypond mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-lilypond

-- 
Erik Sandberg
Maintainer of the Lilypond bug CVS archive,
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lily-bugs/bugs/
http://lilypond.org/bugs/v2.7/




reply via email to

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