lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lilypond 2.16.0 released!


From: Fredric Dannen
Subject: Re: Lilypond 2.16.0 released!
Date: Mon, 27 Aug 2012 15:29:28 -0500

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]