lilypond-user
[Top][All Lists]
Advanced

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

Re: I know there is an error but I don't understand the message to find


From: Mats Bengtsson
Subject: Re: I know there is an error but I don't understand the message to find the error.
Date: Sat, 25 Feb 2006 21:27:44 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050927 Debian/1.7.8-1sarge3

I just tried your example and I didn't get any syntax error.
However, I had to replace ":||:" by ":|:"  and ":||" by ":|:" to
be able to process the file without any error.

  /Mats

Jay Hamilton, Sound and Silence wrote:

Below is the error message and the file it refers to.
I've changed everything I can think of to get it to compile but I don't know why there is a problem either with line 36 or with the one expression beginning with #.
Jay



# -*-compilation-*-
Changing working directory to `C:/Documents and Settings/Owner/Desktop/NoteWorthy/nwc files/Guitar' Processing `C:/Documents and Settings/Owner/Desktop/NoteWorthy/nwc files/Guitar/Bourree bach.ly'
Parsing...
Interpreting music... [8][16][24][26]
Preprocessing graphical objects...
C:/Program Files/LilyPond/usr/share/lilypond/2.6.4/ly/init.ly:36:1: error: GUILE signaled an error for the expression beginning here
#
(if (pair? toplevel-scores) C:/Program Files/LilyPond/usr/share/lilypond/2.6.4/ly/init.ly:36:5: error: syntax error, unexpected '(', expecting '='
#(if
     (pair? toplevel-scores)




\version "2.6.4"
\header {
    title = "Bourree"
  composer = "Bach"
  copyright = "For study purposes only"

}

#(set-global-staff-size 30)
upper = \relative c'' {
\clef treble
\key c \major
\time 4/4

r2. e'8 d c4 d8 e b4 a8 g c4 g g c d g, f' e d8 c b c d4 e8 d c4 d8 e b4 a8 g c4 c, c f e a8 d, d4. c8 c2. \bar ":||:" c8 d e4 d8 c g'4 c b8 c b c d4 g, e' g, d' c8 b a g fis! g a4 d, g d a d, b' a8 g c4 d8 e fis,4 g8 a a4. g8 g2. e'8 d
c4 d8 e b4 a8 g c4 g g c d g, f' e d8 c b c d4 e8 d c4 d8 e b4 a8 g
c4 c, c f e a8 d, d4. c8 c2. \bar ":||"
}

lower = \relative c {
\clef treble
\key c \major
\time 4/4
r2. c'8 d e4 d8 c g'4. f8 e4 c8 d e4 d8 c b4. a8 b4 c g d' g c,8 d e4 d8 c g'4
g, a g8 f e4 f8 g a4 f g g, c g' c
}

\score {
\context PianoStaff <<
\set PianoStaff.instrument = "Piano "
\context Staff = upper \upper
\context Staff = lower \lower
>>
\layout {}
\midi {\tempo 4=60 }
}



--
=============================================
        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]