>If I add a blank page on the back of the ToC, 
>so that the first piece starts on a right-hand page, I'm getting a page 
>number of 0 appearing on that supposedly blank page. How can I prevent 
>that?

I've been using:

%       hdr-delay
#(define (hdr-delay layout props arg)
        (define (ancestor layout)
        (let ((parent (ly:output-def-parent layout)))
                (if
                        (not (ly:output-def? parent))
                        layout
                        (ancestor parent) ) ) )
                (if
                        (not (< (chain-assoc-get 'page:page-number props -1) 2))
                        (interpret-markup layout props arg)
                        empty-stencil )
)

I do not understand this code, having harvested it from messages regarding
title pages and headers, etc. (search the forum for negative page numbers, I
think). I then monkeyed around until it works for me, preventing a
header/footer from happening until the page number =>2.

In the header/footer, I use:

        \on-the-fly #hdr-delay

instead of "\on-the-fly #not-first-page". Does this work for you?
David

-- 
View this message in context: 
http://old.nabble.com/How-to-prevent-page-number-appearing-on-back-of-title-page--tp31411388p31413532.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to