|
From: | Mats Bengtsson |
Subject: | Re: Simple substitution for oddFooterMarkup? |
Date: | Fri, 03 Nov 2006 09:43:09 +0100 |
User-agent: | Thunderbird 1.5.0.7 (X11/20060909) |
address@hidden wrote:
Hi -- Your macro definition:boldPageNumber = \markup { \fill-line { \bold \fontsize #3 \on-the-fly #print-page-number-check-first \fromproperty #'page:page-number-string } }Question: if print-page-number-check-first is a defined function, does it have to be referenced as a literal symbol (by adding an apostrophe after the #)? -- #'print-page-number-check-first
No, here you want to actually apply the function. If you add an apostrophe (you "quote" it in Scheme terminology), you just get a symbol named print-page-number-check-first. See http://community.schemewiki.org/?howto-learn-scheme for more information. /Mats
[Prev in Thread] | Current Thread | [Next in Thread] |