[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tagline et bookpart
From: |
Eluze |
Subject: |
Re: tagline et bookpart |
Date: |
Wed, 12 Feb 2014 05:23:14 -0800 (PST) |
Rémy wrote
> En effet, j'obtiens bien un numéro de page sur toutes les pages mais y
> compris celle avec le tagline.
>
> Comment faire pour supprimer le numéro de page sur la dernière page du
> bookpart ?
il faut
- définir ce qui se passe dans les deux cas (dernière page ou pas?):
- définir not-part-last-page (pourquoi les négations ne sont-elles pas
définies par LilyPond?!)
\paper{
#(define (not-part-last-page layout props arg)
(if (chain-assoc-get 'page:is-bookpart-last-page props #f)
empty-stencil
(interpret-markup layout props arg)))
oddFooterMarkup=\markup {
\on-the-fly #part-last-page \with-color #green \box
\fromproperty #'header:tagline
\on-the-fly #not-part-last-page \with-color #red \circle
\fromproperty #'page:page-number-string
}
evenFooterMarkup=\oddFooterMarkup
}
Eluze
--
View this message in context:
http://lilypond-french-users.1298960.n2.nabble.com/tagline-et-bookpart-tp7580935p7580938.html
Sent from the LilyPond French Users mailing list archive at Nabble.com.