X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Ftitling.scm;h=28e0e9c8c8fc4c81ec80682e817fb51e64a40b00;hb=4d8f773563ad6b84f08d1c30667f444178fb75d0;hp=f6ac5f0b124ecc84f08a0023a9da150116f70cbd;hpb=9f3572d98bb948c9689cd1f75401a029451fa001;p=lilypond.git diff --git a/scm/titling.scm b/scm/titling.scm index f6ac5f0b12..28e0e9c8c8 100644 --- a/scm/titling.scm +++ b/scm/titling.scm @@ -2,8 +2,8 @@ ;;;; ;;;; source file of the GNU LilyPond music typesetter ;;;; -;;;; (c) 2004--2006 Jan Nieuwenhuizen -;;;; Han-Wen Nienhuys +;;;; (c) 2004--2007 Jan Nieuwenhuizen +;;;; Han-Wen Nienhuys (define-public (layout-extract-page-properties layout) (list (append `((line-width . ,(ly:paper-get-number @@ -12,7 +12,8 @@ ;;;;;;;;;;;;;;;;;; -(define-public ((marked-up-headfoot what-odd what-even) layout scopes page-number last?) +(define-public ((marked-up-headfoot what-odd what-even) + layout scopes page-number is-book-last-page is-part-last-page) "Read variables WHAT-ODD, WHAT-EVEN from LAYOUT, and interpret them as markup. The PROPS argument will include variables set in SCOPES and @@ -41,7 +42,8 @@ page:last?, page:page-number-string and page:page-number (cons 'header:tagline (ly:modules-lookup scopes 'tagline (ly:output-def-lookup layout 'tagline))) - (cons 'page:last? last?) + (cons 'page:last? is-book-last-page) + (cons 'page:part-last? is-part-last-page) (cons 'page:page-number-string (number->string page-number)) (cons 'page:page-number page-number)))