[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 2.22: unexpected bar numbering when using * lengths and skipBars
From: |
Mark Knoop |
Subject: |
Re: 2.22: unexpected bar numbering when using * lengths and skipBars |
Date: |
Mon, 21 Nov 2022 12:54:45 +0000 |
User-agent: |
mu4e 1.8.11; emacs 28.1 |
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