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/

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to