Chip wrote:
Lily still breaks lines where it wants to.
You are fighting something very powerful and don't know it.
All that blank space on those pages!
It is reasonable to think that saying \pageBreak means that you
are quite happy with whatever blank space is needed to skip the rest
of the current page.
But the default page breaking algorithm doesn't see it the same way;
it abhors that bare expanse, and tries to make your meagre snippets stretch
all the way down to the bottom, i.e. it takes charge of the line breaking.
What makes this confusing is that it seems to behave very erratically:
some pages are stretched a lot, others hardly at all; just changing between
A4 and Letter can make a big difference.
Three alternatives:
A
In \paper, add
page-spacing-weight = #0
which tells the default algorithm to let the blank space stay blank.
But have you noticed how _long_ it takes to do what it does?
B
Replace the default algorithm with something less ambitious.
In \paper, add
#(define page-breaking ly:minimal-breaking)
This runs more quickly.
C
The third way is different.
Put each \score inside a \bookpart block (making \pageBreak redundant).
This runs quickly too, BUT
you may notice there are no page numbers (issue 715).
In \paper, add the workaround
print-first-page-number = ##t
Then you can get rid of ragged-right and line-break-permission.
Cheers,
Robin
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user