Le 31 mai 2010 à 17:11, Kieren MacMillan a écrit :
> [Lilypond 2.13.21]
>
> Hey all,
>
> I'm trying to get a score out this afternoon (for a competition deadline
> tomorrow!) and I'm running into a bug...
>
> My score looks quite nice on 17 systems spread over 5 pages -- I would like:
> Page 1: title + 3
> Pages 2-4: 4 systems
> Page 5: 2 systems
>
> Unfortunately, "minimal-breaking" causes Lilypond to [try to] cram everything
> on one page, whereas "optimal-breaking" gives 3 systems for most pages and 4
> on the last (even though ragged-last-bottom = ##t). No doubt one or more of
> my problems is related to the known bug regarding the missing properties
> blank-page-force = 0
> blank-after-score-page-force = 0
> but I've explicitly set that as well.
>
> Other than manually inserting breaks, what can I do to get Lilypond to Do The
> Right Thing™?
If you compile LilyPond yourself, you might try the following patch:
diff --git a/lily/page-breaking.cc b/lily/page-breaking.cc
index 0ef1a30..2251e50 100644
--- a/lily/page-breaking.cc
+++ b/lily/page-breaking.cc
@@ -1137,6 +1137,7 @@ Page_breaking::pack_systems_on_least_pages (vsize
configuration, vsize first_pag
Page_spacing space (page_height (first_page_num, false), this);
cache_line_details (configuration);
+ compute_line_heights ();
for (vsize line = 0; line < cached_line_details_.size (); line++)
{
Real prev_force = space.force_;
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user