lilypond-devel
[Top][All Lists]
Advanced

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

Re: Can an identifier contain a \score?


From: Erik Sandberg
Subject: Re: Can an identifier contain a \score?
Date: Tue, 8 Nov 2005 10:48:32 +0100
User-agent: KMail/1.8.3

On Monday 07 November 2005 18.14, Mark Cookson wrote:
> On 11/7/05, Erik Sandberg <address@hidden> 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




reply via email to

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