Re: 2.22: unexpected bar numbering when using * lengths and skipBars

Mark Knoop <[email protected]>
Newsgroups gmane.comp.gnu.lilypond.bugs
Message-ID <[email protected]>
Hi Silas,

At 12:36 on 21 Nov 2022, Silas S. Brown wrote:
> % In 2/4 time, I want to write 4 bars rest
> % followed by 2 minims (half-notes).
> % The bar numbering comes out differently:

> \version "2.22.2"
> \relative c' {
> \set Score.skipBars = ##t
> \time 2/4 R2*4 c ^"This is bar 5" \break
> d ^"I think this should be bar 6 but it is bar 9" }

> % The problem goes away if I remember to
> % write "c2" instead of "c" after the "R2*4".

Remember that in LilyPond, durations carry over from the previous event
if not explicitly specified. This includes the duration of multimeasure
rests. You have already found the solution - this is the expected
behaviour.

--
Mark Knoop

_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.