On 04/09/2024 11:15, David Kastrup wrote:
Raphael Mankin <r...@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.
I was looking for those, but missed that one
Thank you. An extra pair of eyes etc..
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.
--
https://saturday-october-seven.com/