Thanks, Graham!

I figured out what my problem was - the syntax in odd and even headers. I like 
my page numbers in the usual spot -- even left, odd right -- and the headers 
centered on all pages starting from page 2.

In 2.14, I was using this syntax:

  oddHeaderMarkup = \markup \fill-line {
  " "
  \on-the-fly #not-first-page \fromproperty #'header:title
  \on-the-fly #not-first-page \on-the-fly #print-page-number-check-first 
\fromproperty #'page:page-number-string
  }
  evenHeaderMarkup = \markup \fill-line {
  \on-the-fly #print-page-number-check-first \fromproperty 
#'page:page-number-string
  \on-the-fly #not-first-page \fromproperty #'header:composer
  " "
}

But 2.16 will not accept this syntax, nor create a PDF. And the convert-ly -e 
*.ly function won't fix the problem, or even identify it.

But this works:

  oddHeaderMarkup = \markup \fill-line {
    " "
  \on-the-fly #not-first-page \fromproperty #'header:title
  \on-the-fly #not-first-page \on-the-fly #print-page-number-check-first 
\fromproperty #'page:page-number-string }
  
  evenHeaderMarkup = \markup \fill-line {
  \on-the-fly #not-first-page \on-the-fly #print-page-number-check-first 
\fromproperty #'page:page-number-string
  \on-the-fly #not-first-page { \center-align \fromproperty #'header:composer  
} " " }

   
}

Fred
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to