In the following, for some reason the footnote appears three times on the first page, overlaying the lowest stave, and once each on the second and third pages. Also, on page two, the footnote is below the page number, and on page three it is above the tagline.

It's some interaction with the on-the-fly settings in the paper block, as if I comment out \on-the-fly #not-last-page, then the footnote on page three disappears, and if I also comment out \on-the-fly #last-page \fromproperty #'header:tagline, then the footnotes on pages two and three disappear and the footnote appears only twice on the first page.

\version "2.15.31"

\paper {
    #(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 \null
    evenHeaderMarkup = \markup \null
    oddFooterMarkup = \markup \fill-line { \center-column {
            \on-the-fly #print-page-number-check-first
            \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
}

\relative c' {
\footnote #'(0.5 . 5) #'NoteHead \markup { Now is the time for all good men to come to the aid of the party }
    c4 c c c
    \repeat unfold 900 { c4 }
}

Nick

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to