Nick Payne wrote:
Is it possible, if I've chosen to have page numbers at the foot of the
page, to replace the page number with a tagline at the foot of the last
page? This just prints page number and not the tagline on the last page:
Hi, Nick,
try this:
%% cf. ly/titling-init.ly
#(define (not-last-page layout props arg)
(if (and (chain-assoc-get 'page:is-bookpart-last-page props #f)
(chain-assoc-get 'page:is-last-bookpart props #f))
empty-stencil
(interpret-markup layout props arg)))
\paper {
print-first-page-number = ##t
oddHeaderMarkup = \markup \null
evenHeaderMarkup = \markup \null
oddFooterMarkup = \markup \fill-line { \column {
\bold \fontsize #3 \on-the-fly #not-last-page \fromproperty
#'page:page-number-string
\on-the-fly #last-page \fromproperty #'header:tagline
} }
evenFooterMarkup = \markup \fill-line { \column {
\bold \fontsize #3 \on-the-fly #not-last-page \fromproperty
#'page:page-number-string
\on-the-fly #last-page \fromproperty #'header:tagline
} }
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user