Am 02.12.2010, 12:38 Uhr, schrieb Phil Holmes <address@hidden>:
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!