On 11/12/12 14:19, Kieren MacMillan wrote:
Hi all,
In the docs, it says “The ly:minimal-breaking function performs minimal
computations to calculate the page breaking: it fills a page with as many
systems as possible before moving to the next one.”
This does not seem to be the case.
It would be difficult to provide a minimal example, but the fact that it isn't
working as documented is clear from the current score I'm working on:
1. It's 28 pages long, and most systems are 1-, 2-, or 3-stave systems (it's a
vocal book for a musical).
2. When ragged-bottom and ragged-last-bottom are both ##t, the gap at the
bottom of p1 is almost big enough to hold the top 2 systems on p2.
3. This pattern [of having more than enough room on the bottom of a given page
to handle 1-2 of the systems from the next page] is seen throughout the score,
though not on every single page break.
Can anyone explain what the algorithm is supposed to be doing, or guess why it
might be failing for me?
(I've noticed this behaviour since at least 2.17.1 and almost certainly
earlier, but I've been too busy to post a question about it until now.)
I noticed something similar with the current development version a few
days back. The example below outputs onto two pages without any
complaint, but if you change ragged-bottom and ragged-last-bottom to
##t, the console outputs two identical warnings: "warning: cannot fit
music on page: ragged-spacing was requested, but page was compressed",
and the output is now over three pages, with four systems on the third page.
\version "2.17.8"
\paper {
ragged-bottom = ##f
ragged-last-bottom = ##f
ragged-last = ##f
}
\relative c'' {
\repeat unfold 1000 { c4 }
}
Nick
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user