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 }
}