lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Optimal page breaking


From: Joe Neeman
Subject: Re: Optimal page breaking
Date: Sat, 09 May 2009 17:19:33 -0700

On Sun, 2009-05-10 at 00:18 +0100, Anthony W. Youngman wrote:
> Isn't working "quite right" and I can't see how to fix it (12.2).

>From the content of your email, I suppose you mean page-turn-breaking
rather than optimal-breaking?

> 
> I've got a piece that I would like to fit on 3 pages (it insists on 
> going to 4 :-( but it also insists on breaking at rests after page 1 and 
> 3. There's a rest on the last line of page 2 that it should break after, 
> which would then give me one turn instead of 2 (and far more time to 
> turn in :-)

If you know exactly where you want the page turn to happen, you can
leave the Page_turn_engraver out and specify the turn with
\allowPageTurn. In general, if you prefer page turns only after longer
rests, you can set the context property minimumPageTurnLength to
something larger than the default.

> 
>  From the documentation it seems like it's supposed to break after every 
> second page (ie what I want). But it's breaking on the first and every 
> subsequent 2 which I don't want. I thought there was an option to tell 
> it whether to break after odd or even pages but this isn't mentioned 
> along with everything else. Does this option exist, and what is it?

The page turn algorithm isn't very flexible in this regard: it only does
page turns after odd-numbered pages. If you don't want a page turn after
the first page, you need to set first-page-number to 2.

Joe






reply via email to

[Prev in Thread] Current Thread [Next in Thread]