lilypond-user
[Top][All Lists]
Advanced

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

Re: Simple substitution for oddFooterMarkup?


From: Mats Bengtsson
Subject: Re: Simple substitution for oddFooterMarkup?
Date: Thu, 02 Nov 2006 17:25:17 +0100
User-agent: Thunderbird 1.5.0.7 (X11/20060909)



Trevor Bača wrote:
On 11/2/06, Mats Bengtsson <address@hidden> wrote:



Hm; maybe it simplifies things a bit to get rid of the include file
and do the example in a single file like this?

%%% BEGIN %%%

\version "2.9.27"

boldNumber = \markup { \fill-line { \bold \fontsize #3 \on-the-fly
#print-page-number-check-first \fromproperty #'page:page-number-string
} }

\paper {
 oddFooterMarkup = \boldNumber
}

\new Staff {
  c'4
}

%%% END %%%

And here the same parser error arises ...

 Parsing...ERROR: Unbound variable: print-page-number-check-first

... which makes me think that maybe there's something going on other
than a scoping error.
You will have to copy the definition also in this case. As far as I can understand, the macros defined using (define ...) in ly/titling-init.ly are only visible within ly/titling-init.ly (or maybe within a group of init files), but clearly not in the user
files.

  /Mats




reply via email to

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