lilypond-user
[Top][All Lists]
Advanced

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

Re: Layout going screwy


From: David Kastrup
Subject: Re: Layout going screwy
Date: Wed, 04 Sep 2024 12:15:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Raphael Mankin <raph@mankin.org.uk> writes:

> For reasons that not concern us I am  re-typing Cole Porter's Anything
> Goes. I get as far as the key change after bar 20 but then the layout
> goes wild: no bar numbers, line breaks fail, stray bar on the end.
>
> I have checked and double checked this, but I cannot see what is
> wrong. Any help will be appreciated.
>
> See attachments

I just placed a bar check | before each of your % Bar xxx comments (why
keep this important information from LilyPond by hiding it away in a
comment) and got the first bar check warning between those lines:

|  %Bar 11
  r4 g8. a16 b8. a16. g4
  b4 c8 d8~ d4 r4
  c2. g4
|  % Bar14

It's easy to see that the a16. is not matched by anything else producing
an odd multiple of a 1/32 note.

So from that point on, there always is a note crossing any bar line and
LilyPond refrains from breaking in the middle of a note.

Use bar checks.

-- 
David Kastrup



reply via email to

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