lilypond-user
[Top][All Lists]
Advanced

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

Syntax error


From: alex stone
Subject: Syntax error
Date: Mon, 4 Oct 2010 19:18:48 +0400

I can't for the life of me figure out what i've done here. (new lily user)

Working in lilypondtool 2.12.894 (jedit 4.3.2), with lily 2.13.36

Here's the error:

> %lilypond %args "/home/alex/audio-projects/wobbly"
Processing `/home/alex/audio-projects/wobbly'
Parsing...
/home/alex/audio-projects/wobbly:138:37: error: syntax error, unexpected STRING
        \set Staff.instrumentName = "
                                     Horn F 1"
error: failed files: "/home/alex/audio-projects/wobbly"
Processing time: 1 seconds
>

..................................................................

And here's the code:

staffHornInF = \new Staff {
        \set Staff.instrumentName = "Horn F 1"
        \set Staff.midiInstrument = "french horn"
        \transposition f,
        \key f \major
        \clef treble
        \relative c' {  
        R2.*2
        f4-> \f c4\> c
        c4 c c \p \!
        R2.
        R2.*2
        \bar  "|."
        }

}

....................................................................

The FH is set up the same as all the other instruments, which seem to
parse ok. (At least up to the FH in the score. Who knows what will
happen next, if i can fix this.)

I'm stumped as to why i'm getting a basic syntax error with the
instrument name, when it's the same format as the rest.

Help?

Alex.

-- 
www.openoctave.org

address@hidden
address@hidden



reply via email to

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