+2006-10-26 Joe Neeman <joeneeman@gmail.com>
+
+ * Documentation/topdocs/NEWS.tely: add 2 entries for the
+ page breaking stuff
+
+ * Documentation/user/page.itely: remove time-scaled-music
+ bug for the Page_turn_engraver
+
+ * lily/paper-book.cc (set_system_penalty): backwards
+ compatibility (breakbefore) for the old page breaker
+
2006-10-25 Graham Percival <gpermus@gmail.com>
* Diocumentation/user/instrument-notation.itely: added more
@end ignore
+@item Horizontal and vertical spacing are now done at the same time
+so that pages are filled more evenly.
+@item The page breaking algorithm is capable of detecting page turns
+and formatting the music accordingly.
@c Insert any new material above this line. -gp
@refbugs
-The @code{Page_turn_engraver} does not respect time-scaled music. For example, the
-following example does not behave as expected:
-
-@example
-\new Staff \with @{ \consists "Page_turn_engraver" @}
-@{
- a4 b c d |
- R1 | % a page turn will be allowed here
- a4 b \times 2/3 @{c d e@} |
- R1 | % a page turn will NOT be allowed here
- a1
-@}
-@end example
-
There should only be one @code{Page_turn_engraver} in a score. If there is more
than one, they will interfere with each other.
cols.back ()->set_property ("page-break-permission", sym);
}
else if (Prob *pb = unsmob_prob (sys))
- pb->set_property ("page-break-permission", sym);
+ {
+ pb->set_property ("page-break-permission", sym);
+ /* backwards compatibility for the old page breaker */
+ pb->set_property ("penalty", scm_from_int (b ? -10001 : 10001));
+ }
}
}
}