2 page-breaking-scheme.cc -- implement bindings to the various
5 source file of the GNU LilyPond music typesetter
7 (c) 2006--2007 Joe Neeman <joeneeman@gmail.com>
10 #include "paper-book.hh"
11 #include "page-turn-page-breaking.hh"
12 #include "optimal-page-breaking.hh"
14 LY_DEFINE (ly_page_turn_breaking, "ly:page-turn-breaking",
16 "Optimally break (pages and lines) the Paper_book PB such that page turns "
17 "only happen in specified places, returning its pages.")
19 Page_turn_page_breaking b (unsmob_paper_book (pb));
23 LY_DEFINE (ly_optimal_breaking, "ly:optimal-breaking",
25 "Optimally break (pages and lines) the Paper_book PB to minimise badness in "
26 "bother vertical and horizontal spacing.")
28 Optimal_page_breaking b (unsmob_paper_book (pb));