Re: Full bar rest printed incorrectly after time signature change

Kevin Barry <[email protected]>
Newsgroups gmane.comp.gnu.lilypond.bugs
Message-ID <Y1vmvdPUqE/[email protected]>
On Fri, Oct 28, 2022 at 01:04:38PM +0000, Ole V. Villumsen via bug-lilypond wrote:
> The incomplete 3/4 measure still has not got bar number 1. For most
> purposes we can probably live with that. Setting the current bar
> number explicitly to 1 did not help (apparently upbeats don’t have bar
> numbers). But setting it to 2 for the following bar fixes it for the
> remainder of the score.

If you use \partial at the beginning of a score it treats the resulting
duration as the length of music preceding the first bar. This is how bar
numbering generally works for upbeats/anacrusis.

> I consider it a workaround not to say a hack. I still firmly believe
> that the bug I was reporting is real.

Partial expects to be given a duration. I think it will not work as you
expect if you multiply the duration by 0 (which is probably a kind of
intpu that was not anticipated). At the point when you used it it's
already effectively "between" bars and if you supply a duration it will
apply to the *next* bar, not the *previous* bar.

All of the examples of \partial in the documentation use it at the
beginning of a bar and supply the duration. If you do the same it should
work for you.

Kevin

_______________________________________________
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.