[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Page Spacer gets confused by next-space leading to unusable layout
From: |
Joe Neeman |
Subject: |
Re: Page Spacer gets confused by next-space leading to unusable layout |
Date: |
Wed, 13 Jan 2010 10:08:04 +1100 |
On Tue, 2010-01-12 at 17:26 +0000, Boris Shingarov wrote:
> When typesetting a large volume of markuplines, the Page Spacer gets
> confused by the setting of next-space (1.0 by default).
Thanks for finding this. next-space is deprecated, so this is a bug.
> It does
> take it into account when calculating the forces, but ignores it when
> actually placing the lines on the page. This leads to horrible layout.
> For example, if line height is 3, and printable height is 120, then
> the force calculation adds next-space to spring_len, resulting in
> only 120/4=30 lines. But the actual spacing, when the page is produced,
> is 3, not 3+1=4. In other words, at the pitch the lines are spaced,
> there is space for 40 lines, resulting in 30 printed and 10 empty lines.
>
> As a workaround, I make the default next-space to be 0.0. It would be
> better to only do it if the line is a markup line, but it is unclear to
> me how to get back from the Line_details to the System_spec which
> produced it.
Do you mean a markup line as opposed to a title? Currently, the vertical
spacing doesn't differentiate between the two.
> Similarly, nonzero padding in "between-title-spacing" produces the
> same bad look. I have to set it to 0.0 in the score:
>
> \paper {
> #(set-paper-size "a6")
> between-title-spacing = #'((padding . 0))
> }
Are you proposing that this be the default? (By the way, your line above
unsets between-title-spacing #'space, etc. in addition to setting
'padding).
Cheers,
Joe