lilypond-devel
[Top][All Lists]
Advanced

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

Re: Issue 4169: Line and page breaking syntactic sugar (issue 156400043


From: k-ohara5a5a
Subject: Re: Issue 4169: Line and page breaking syntactic sugar (issue 156400043 by address@hidden)
Date: Thu, 23 Oct 2014 05:24:04 +0000

On 2014/10/22 11:20:48, Trevor Daniels wrote:
On 2014/10/22 10:33:30, Trevor Daniels wrote:

... but only for line breaking.  It seems that page breaking needs a
window of
opportunity to break a page that is several bars long.  The number of
bars
required varies with the length of the music between 2 and 5 or so,
but I've
never seen it less than 2.  So there's no chance \once will work.

Somehow I was unlucky enough to find the example that worked
{ \repeat unfold 22 b2
  \autoPageBreaksOff
  \repeat unfold 320 b2
  \once\autoPageBreaksOn
  R1
  \repeat unfold 320 b2 }

I tried to figure out why LilyPond's page-breaking usually misses these
opportunities, and concluded only that LilyPond's 'constrained-breaking'
algorithm takes a strange approach.

https://codereview.appspot.com/156400043/



reply via email to

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