lilypond-user
[Top][All Lists]
Advanced

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

Re: brace mismatch in init.ly


From: Mats Bengtsson
Subject: Re: brace mismatch in init.ly
Date: Thu, 25 Nov 2004 11:34:49 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

I'm sure that the problem is in your input file, and that the
error message is misleading.

Especially, I would look for double quotes in the input file.

   /Mats

Matthijs Frankena wrote:
Hello,

Having finally installed Fedora Core 2 and everything to get going with Lilypond, I run into the following:

----------
$ lilypond DeinHerz.ly
GNU LilyPond 2.4.1
Processing `DeinHerz.ly'
Ontleden...

/usr/share/lilypond/2.4.1/ly/init.ly:28:5: fout: syntax error, unexpected STRING, expecting '=':
                       "\n"

/usr/share/lilypond/2.4.1/ly/init.ly:28:8: fout: onbekende ontsnapte string: `\n':
           "\n
              "

/usr/share/lilypond/2.4.1/ly/init.ly:29:62: waarschuwing: Haakjes paren niet:
           input-file-name ": old relative compatibility was not use
                                                                    d."

fout: bestanden gefaald: DeinHerz.ly
----------

Apparently there's some mismatch in braces in this section in init.ly:
------------
\maininput
%% there is a problem at the end of the input file

%%
%% Above and below comments compensate for the parser's look-ahead.
%%

#(if (and (ly:get-option 'old-relative)
     (defined? 'input-file-name)
     (not (ly:get-option 'old-relative-used)))
 (ly:warn (string-append
       "\n"
       input-file-name ": old relative compatibility was not used."
   )))%% there is a problem at the end of the input file
-----------------

Can anyone tell me where to add/delete a brace, or whether the fault lies in my input file?

TIA,

Matthijs


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

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

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