On Monday 07 November 2005 18.14, Mark Cookson wrote:
> On 11/7/05, Erik Sandberg <[EMAIL PROTECTED]> wrote:
> > \score blocks can not be surrounded by { }. Try
> >
> > foo = \score { ... }
> >
> > --
> > Erik
>
> Thanks for the reply Erik. I'm afraid I'm being a little dense, but
> although...
>
>
> \book { \header {title = "Grade 5 Scales"}
> \score {\new Staff{c d e}}
> }
>
>
> ...works fine, when I try to rearrange it to...
>
>
> foo = \score {\new staff{c d e}}
>
> \book { \header {title = "Grade 5 Scales"}
> \foo
> }
>
> ...I still get an error message: syntax error, unexpected SCORE_IDENTIFIER
> \foo

Oh, it seems that you need to say \score{\foo}

Han-Wen: I find this syntax rather illogical. Is there a particular reason for 
it? May I change it?

-- 
Erik


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

Reply via email to