[Top][All Lists]

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

Re: setting the number of pages for a score

From: Han-Wen Nienhuys
Subject: Re: setting the number of pages for a score
Date: Sun, 12 Feb 2006 17:21:30 +0100
User-agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929)

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 - address@hidden -

reply via email to

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