[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Issue 2369 in lilypond: Strange interaction between page number settings
From: |
lilypond |
Subject: |
Issue 2369 in lilypond: Strange interaction between page number settings and footnote |
Date: |
Thu, 01 Mar 2012 13:18:51 +0000 |
Status: Accepted
Owner: ----
Labels: Type-Ugly
New issue 2369 by address@hidden: Strange interaction between page
number settings and footnote
http://code.google.com/p/lilypond/issues/detail?id=2369
Reported by Nick Payne:
http://lists.gnu.org/archive/html/bug-lilypond/2012-02/msg01221.html
I was able to reproduce this with 2.15.31 on linux-x86_64 but I haven't
posted the output as it is too large, a 300k 3-page pdf.
Text of original post follows:
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
- Issue 2369 in lilypond: Strange interaction between page number settings and footnote,
lilypond <=