Nicolas Sceaux wrote:
Paul Scott <[EMAIL PROTECTED]> writes:
Nicolas Sceaux wrote:
Graham Percival <[EMAIL PROTECTED]> writes:
Could ragged-last-bottom be changed to affect all scores in a book?
Currently it only applies to the last one. (even better: could this
be alterable in separate scores?)
Still, it does not make sense to say that ragged-last-bottom should
apply to the last page of a score, for this page could also be the first
page on another score. What you and Graham seem to be requesting is a
way to split a book into several sections, with a page break between
sections, and the last page of a section with ragged-last-bottom.
Ok... if introducing sections is the easiest way to solve this.
The only place in the source code that ragged-last-bottom appears is in
scm/layout-page-layout.scm
...
(this-page (make-page
page-alist
'paper-book paper-book
'is-last last?
'page-number this-page-num))
(ragged-all? (eq? #t (ly:output-def-lookup paper 'ragged-bottom)))
(ragged-last? (eq? #t (ly:output-def-lookup paper
'ragged-last-bottom)))
(ragged? (or ragged-all?
(and ragged-last?
last?)))
(height (page-printable-height this-page))
(vertical-spacing (space-systems height current-lines ragged?))
...
I guess this problem boils down to
'is-last last?
returning the final page of the book (as a boolean), rather than the
final page of the current score.
Hmm, that still wouldn't let me alter the vertical spacing for the last
page of different scores. I guess we'd need to make ragged-last-bottom
a layout variable for that... maybe "book sections" is a better way to
go after all.
Cheers,
- Graham
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond