Joe Neeman wrote:
The code looks good, I'm actually surprised at how simple it is!
I expect that a full optimal page layout module is still far away, but
we could roll out constrained line breaking relatively easily. For a
lot of music, specifying a system count will make it easy to force a
piece onto a number of pages, with a few well-placed \pageBreaks. Much
easier than it is now anyway. What do you think?
Yes, I think that might be possible without too much work. Maybe we
could allow the user to specify a global page-break-system-extent. We
then do the page breaking assuming all music systems have that Y-extent.
For 95% of the music I would use this for, that would be acceptable
since Y-extents don't vary too much. I think the main problem would be
if there are sections with more or less staves than other sections. But
this could work in the meantime.
Come to think of it, wouldn't it also be easy to make a
Constrained_page_breaker, ie. a page-breaking routine that is
constrained to put the final result in X pages? That still wouldn't be
an optimal solution to the complete problem, but it would come a long
way to automating the current page break tweaking hassle.
--
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel