lilypond-user
[Top][All Lists]
Advanced

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

Re: Simple variable definition


From: David Bobroff
Subject: Re: Simple variable definition
Date: Sun, 21 Aug 2011 08:32:35 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0) Gecko/20110812 Thunderbird/6.0

On 8/21/2011 7:21 AM, Vaughan McAlley wrote:
I’ve spent way to long trying to work this out... the simple test file:

%test1.ly
\version "2.14.2"

myTranspose =    \transpose c' c
staffOneName = "Soprano"

% Version for men’s choir
%{
myTranspose =  \transpose c' g
staffOneName = "Alto"
%}

...produces

test1.ly:4:0: error: syntax error, unexpected STRING

What’s going on here? There are no misplaced curly braces or the like...

Thanks,
Vaughan

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user

I tried something of the sort a while back. This simply doesn't work. It looks like it should work, but it doesn't. The answer I got was that something isn't 'exported'. The short answer is; You can't do it this way. You have to work around it.

-David



reply via email to

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