----- Original Message ----- From: "eluze" <elu...@gmail.com>
To: <lilypond-user@gnu.org>; "Phil Holmes" <m...@philholmes.net>
Sent: Thursday, December 02, 2010 12:13 PM
Subject: Re: Problem with ragged-last and verse numbers


Am 02.12.2010, 12:38 Uhr, schrieb Phil Holmes <m...@philholmes.net>:

OK. I think I've got this sorted out. You can (as a general rule) put the "ragged" commands inside either a \layout block, or a \paper block - or both. However, if you use a \layout block, this over-rides the settings from the \paper block, which therefore have no effect. gregorian.ly contains the line "ragged-last = ##t" in a \layout block - therefore setting this to false in a \paper block has no effect. Setting any other ragged setting in a \paper block will work. So to make ragged-last false, the \layout command in gregorian.ly has to be over-ridden with "ragged-last = ##t" in a \layout block in the source file - after the \include.

Pretty certain that's right.  Phew.

Not sure why it works like this, though.
--
Phil Holmes

nice explanation, Whew!

so to re-establish the compliance with the general rules, ragged-last should be put in a \paper block in gregorian.ly, with - as you mention - the small constraint to use it after the \include!

I think it would be better to put it in a \paper block in gregorian.ly, since this could then be over-ridden by either \paper or \layout in the lilyPond file.
--
Phil Holmes



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to