]> git.donarmstrong.com Git - lilypond.git/commit - scm/page.scm
* scm/page.scm (make-page): make it friendlier to call (esp. from C++)
authorJoe Neeman <joeneeman@gmail.com>
Tue, 8 Aug 2006 10:01:22 +0000 (10:01 +0000)
committerJoe Neeman <joeneeman@gmail.com>
Tue, 8 Aug 2006 10:01:22 +0000 (10:01 +0000)
commit6224c5c3bfe0a4c7aef15a060a323c77c99bd3f0
treea4586f0dd97ce28ce067b510e2e0fbca7f2ad219
parent51ef5c4887f63a4b64863699626678164f86d26d
* scm/page.scm (make-page): make it friendlier to call (esp. from C++)

* scm/layout-page-layout.scm (make-page-from-systems): new function
(optimal-page-breaks): use the new page-breaking calling convention

* scm/define-context-properties.scm (all-user-translation-properties):
add revokePageTurns

* lily/paper-column-engraver.cc (stop_translation_timestep): add
revokePageTurns  functionality. If there is a special barline within
the breakable region, break there instead of at the end of the region.

* lily/paper-book.cc (pages): use the new page-breaking calling convention
22 files changed:
ChangeLog
input/regression/optimal-page-breaking-hstretch.ly [new file with mode: 0644]
input/regression/page-turn-page-breaking-badturns.ly [new file with mode: 0644]
input/regression/page-turn-page-breaking.ly [new file with mode: 0644]
lily/include/optimal-page-breaking.hh [new file with mode: 0644]
lily/include/page-breaking.hh [new file with mode: 0644]
lily/include/page-spacing.hh [new file with mode: 0644]
lily/include/page-turn-page-breaking.hh [new file with mode: 0644]
lily/include/paper-column-engraver.hh
lily/optimal-page-breaking.cc [new file with mode: 0644]
lily/page-breaking-scheme.cc [new file with mode: 0644]
lily/page-breaking.cc [new file with mode: 0644]
lily/page-spacing.cc [new file with mode: 0644]
lily/page-turn-engraver.cc [new file with mode: 0644]
lily/page-turn-page-breaking.cc [new file with mode: 0644]
lily/paper-book.cc
lily/paper-column-engraver.cc
ly/declarations-init.ly
ly/paper-defaults.ly
scm/define-context-properties.scm
scm/layout-page-layout.scm
scm/page.scm