Nicolas Sceaux <nicolas.sce...@free.fr> writes: > Le 9 nov. 2009 à 11:10, Jiri Zurek (Prague) a écrit : > >> >> It happens to my scores that when using \markuplines for long texts >> (more >> than a page), Lilypond leaves a first or a last line orphaned (single, >> alone) on a page. This is normally unwanted in printed >> literature. Is there >> a way how to instruct Lilypond not to leave orphaned or widowed >> single lines >> on any page? > > You may consider using the ly:minimal-breaking page breaking algorithm > for > text sections. The default algorithm, ly:optimal-breaking, is abviously > dedicated to scores, so it can lead to suboptimal results when dealing > with > text. Conversely, ly:minimal-breaking gives better results with text: it > stacks as many lines as possible on a page before brekaing to the next > one.
The answer does not fit the question. The question was not about stacking as much on a page as possible. Quite contrary: it was about stacking less than possible if it avoids ugly results. -- David Kastrup _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user