[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: page-turn-breaking with \pageBreak after title page uses awkward bre
Re: page-turn-breaking with \pageBreak after title page uses awkward breaking (i.e. empty page, not at rest)
Mon, 09 Aug 2010 13:54:47 -0700
On Sun, 2010-08-08 at 17:33 +0200, Reinhold Kainhofer wrote:
> I'm having problems with page-turn breaking in one of my instrumental scores.
> As the score is 3 pages (with optimal breaking) and has a long rest about 2/3
> into the piece (with enough wiggle room to move the page break to the rest),
> wanted to add a nice title page (and a \pageBreak before the whole score) and
> let lilypond do page-turn breaking.
> Unfortunately, LilyPond gives a warning:
> Calculating page and line breaks (1 possible page breaks)...
> warning: cannot fit the first page turn onto a single page. Consider setting
> first-page-number to an even number.
> And LilyPond refuses to break the score at the R1*12.
> Attached is an example. The page turn between page 3 and 4 should ideally be
> placed at the R1*12, but lilypond refuses to do so, instead breaking at the
> R1*5 and leaving one page empty (so 5 pages are used!).
> Is this a bug in the page-turn algorithm?
Yes, the page-turn algorithm did not recognize page turns after titles
or markups. This is fixed in git, but you will still need to add
\allowPageTurn after the title page.