Enhancement: Page breaking to avoid widow lines

2010-01-12 Thread b1
Here is a proposed patch to add functionality to the Page Spacer. When typesetting large quantities of markup lines, Lilypond currently does not try to avoid widowed/orphaned lines. Some publishers will consider this an unacceptable typographical error. I have added a few lines to the Page Spa

Re: Where does paper-height come from?

2010-01-11 Thread b1
Thanks Alexander, This does indeed look suspiciously close to the truth. But which part of the code might do this conversion? I looked at the level of raw module-define! and ly_module_lookup(), I do not see how these can contain any conversion code? Quoting Alexander Kobel : b...@shingaro

Where does paper-height come from?

2010-01-11 Thread b1
Hi all, I am playing with the vertical spacing algorithms, and am very surprised by the behavior of "page-height". Let's say for example that I set my paper to A6. This, by ISO216, is 148mm high. Following the code in paper.scm, (I am using the most current git head), I can see inernal-set-