[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Layout going screwy
From: |
William Rehwinkel |
Subject: |
Re: Layout going screwy |
Date: |
Wed, 4 Sep 2024 11:31:46 -0400 |
User-agent: |
Mozilla Thunderbird |
I'm reminded of this unfortunate example from an otherwise
excellently-done edition of the Buxtehude cantata "Membra Jesu Nostri"
in which the second viola da gamba part is off by a half note (the
mistake is there is a missing half note d' at the beginning of measure
20, and there is a mistakenly added note later on so the rest of the
movement is correct), a mistake which would have instantly been noticed
if bar checks had been used.
Actually, the engraving files were uploaded to IMSLP, maybe I should fix it.
-William
On 9/4/24 07:37, David Kastrup wrote:
Raphael Mankin <raph@mankin.org.uk> writes:
On 04/09/2024 11:15, David Kastrup wrote:
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.
I was looking for those, but missed that one
Thank you. An extra pair of eyes etc..
No extra pair of eyes. I didn't bother combing through your source code
manually like you did. I just added the bar checks where your comments
already indicated that a bar should be. As I said: there is no point in
keeping the bar information from LilyPond since LilyPond is pretty good
at spotting inconsistencies.
When organisation of the source is important enough to you that you add
comments like
% Bar14
there is no point whatsoever not to write
| % Bar14 instead
or (as a coding pattern)
|% 14
If you put the information in the source anyway, give LilyPond a chance
to utilize it.
--
William Rehwinkel (any pronouns)
Juilliard School '26 - Oberlin Conservatory '24
william@williamrehwinkel.net - https://williamrehwinkel.net
PGP Public Key: https://ftp.williamrehwinkel.net/pubkey.txt
excerpt.txt
Description: Text document
excerpt.jpg
Description: JPEG image
OpenPGP_signature.asc
Description: OpenPGP digital signature