From: hanwen Date: Sun, 6 Jun 2004 22:12:16 +0000 (+0000) Subject: set optimal-page-breaks as default X-Git-Tag: release/2.3.9^2~160 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=9007721134c662f97348206b059d01bec4171774;p=lilypond.git set optimal-page-breaks as default --- diff --git a/ChangeLog b/ChangeLog index 53ff4ebc79..3ebbab8f16 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-06-07 Han-Wen Nienhuys + + * ly/book-paper-defaults.ly: set optimal-page-breaks as default + 2004-06-06 Han-Wen Nienhuys * ly/engraver-init.ly (AncientRemoveEmptyStaffContext): remove diff --git a/lily/page.cc b/lily/page.cc index b84131a677..b40d805654 100644 --- a/lily/page.cc +++ b/lily/page.cc @@ -202,6 +202,11 @@ Page::text_height () const return h; } + +/* + TODO: unused? + + */ LY_DEFINE (ly_page_paper_lines, "ly:page-paper-lines", 1, 0, 0, (SCM page), "Return paper-lines from @var{page}.") diff --git a/lily/paper-line.cc b/lily/paper-line.cc index eda36f62eb..21c51439c1 100644 --- a/lily/paper-line.cc +++ b/lily/paper-line.cc @@ -18,8 +18,6 @@ IMPLEMENT_TYPE_P (Paper_line, "ly:paper-line?"); IMPLEMENT_DEFAULT_EQUAL_P (Paper_line); -#define TITLE_PENALTY -1 - Paper_line::Paper_line (Stencil s, int penalty, bool is_title) { diff --git a/ly/book-paper-defaults.ly b/ly/book-paper-defaults.ly index b4e81fcae3..561231be41 100644 --- a/ly/book-paper-defaults.ly +++ b/ly/book-paper-defaults.ly @@ -36,8 +36,8 @@ (baseline-skip . 2) (word-space . 0.6))) - #(define page-breaking ly:ragged-page-breaks) - %%#(define page-breaking ly:optimal-page-breaks) + % #(define page-breaking ly:ragged-page-breaks) + #(define page-breaking ly:optimal-page-breaks) #(define page-to-stencil ly:page-header-lines-footer-stencil)