Trevor Bača wrote:
On 11/2/06, Mats Bengtsson <[EMAIL PROTECTED]> 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


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to