|
From: | Nick Payne |
Subject: | Re: Question about page number position and ornamentation |
Date: | Sat, 24 Nov 2012 07:14:27 +1100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
On 24/11/12 06:10, Rustik wrote:
It works, bot now i have a new problem. Copyright line is disappear. I entered «\on-the-fly #not-first-page » at footerMarkup block. Without results.
I don't think there is a corresponding not-last-page unless there have been recent changes. This is what I use in the \paper block to have no page number on the first page, the page number centred at the bottom of the page for pages 2 to n-1, and the tagline on the final page:
\paper { %% 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))) oddHeaderMarkup = \markup \fill-line { " " } evenHeaderMarkup = \markup \fill-line { " " } oddFooterMarkup = \markup \fill-line { \column { \fontsize #-1 \on-the-fly #not-first-page \on-the-fly #not-last-page \fromproperty #'page:page-number-string \on-the-fly #last-page \fromproperty #'header:tagline } } evenFooterMarkup = \oddFooterMarkup }
[Prev in Thread] | Current Thread | [Next in Thread] |