Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: > Nicolas Sceaux schreef: >> Here is a patch defining a few functions for using the two-pass vertical >> spacing scheme. Example: > > given that Joe is now the Page breaking guru, I invite him to review > the code. Joe?
Joe, What the patch changes to the page breaking code is that the call of the page post processing function (which dumps the page layout) is moved to another place: a page breaking wrapper now takes care of calling the page breaking function, then the post processing function. Rationale: 1) the post processing function is used in a single place (the page breaking wrapper, instead of once in the C++ page breaking code + once in the old optimal-page-breaks + once in each user defined page breaking function) 2) the post processing function is parametrized, so that the user can change the page layout dumping function. Other changes to the code are - functions for computing system stretch (the goal is to stretch systems so that they should use all the space left on a page) - music functions used by the user to trigger the whole thing. If this is fine, I'll add some documentation on how to use that. Nicolas _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel