lilypond-devel
[Top][All Lists]
Advanced

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

Re: systems-per-page and blank-page-penalty


From: James Lowe
Subject: Re: systems-per-page and blank-page-penalty
Date: Mon, 09 Feb 2015 21:02:46 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

On 09/02/15 10:19, Werner LEMBERG wrote:
> consider the following snippet.
> 
> #(set-default-paper-size "a6")
> 
> \paper { systems-per-page = 6 blank-page-penalty = 1000
> 
> #(define page-breaking ly:page-turn-breaking)
> 
> copyright = "" footer = "" tagline = "" }
> 
> m = \relative c' { f'8 f, f f f f f f | \repeat unfold 11 { f8 f f
> f f f f f  } | }
> 
> { \m \allowPageTurn \m \allowPageTurn \m \m }
> 
> There is a blank page in it, and I would like to avoid that, thus
> the `blank-page-penalty' parameter.  [In this demo snippet the
> result would be extremely ugly, but in real-life situations with
> more break points it would be much less disturbing.]
> 
> However, it doesn't work.
> 
> Looking into `page-breaking.cc' (function 
> `Page_breaking::space_systems_on_n_or_one_more_pages'), I see that
> no blank page penalties are checked if `systems-per-page' is set.
> This looks wrong to me.
> 
> 
> Werner

Maybe I'm being a bit hasty but

https://code.google.com/p/lilypond/issues/detail?id=4285

James



reply via email to

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