ok, here are a couple of the files that I am working with
I've already commented out some parts hopeing they won't cause problems.

but I get

C:/Program Files/Easy LilyPond/LilyPond/usr/share/lilypond/current/ly/english.ly:15:0: error: syntax error, unexpected STRING

pitchnamesEnglish = #`(

and nothing else. Or if that doesn't come up lilypond reports it completed in 1 second and nothing happens.

if I run lilypond on the 1.ly or the 2.ly file I get exactly what I should see for each individual song.


\version "2.12.2"
\include "english.ly"
% template for song with no repeating - several verses and a common chorus
%5#(ly:set-option 'midi-extension "midi")

\header {
  subsubtitle = \markup { \italic "Now unto the King . . . be honour and glory. - I Tim 1:17" }
  title="Come, Thou Almighty King"
  poet="Source Unknown, c.1757"
  composer="Felice de Giardini, 1716-1796"
  tagline=""
}
%{
\paper {
   %ragged-bottom=##f
   %ragged-last-bottom=##f
   between-system-padding = #0.1
   %between-system-space = #0.6
   %system-count = #1
   %bottom-margin = 3\mm
   #( define bottom-margin (* 2 mm))
}
%}
global = {
   \key g \major
   \autoBeamOff
   \time 3/4
   \override Rest #'style = #'classical	
}

%useful functions 
noteDown = #(define-music-function (parser location note)
                                         (ly:music?)
      #{
        << {} \\ $note >>
      #})

noteUp = #(define-music-function (parser location note)
                                         (ly:music?)
      #{
        << $note \\ {} >>
      #})
%{leftbrace = \markup { \override #'(font-encoding . fetaBraces) \bold \lookup #"brace105" }
rightbrace = \markup { \rotate #180 \leftbrace }
skipFour = \repeat unfold 4 { \skip 8 } 
%}


PartsOne = {
   \relative c'' {
       \stemUp
   d4 b4 g4 a4( g4) fs4 g2 r4 g4 a4 b4 c8.([ d16] c4) b4 a2 r4
   d4 b4 g4 d2 r4 a'4 b4 c4 b4. a8 g4 a4 b4 c4
   b4. a8 g4 g4 b4 d4 d4. e8 d4 c4^"rit." b4 a4 g2. \bar "|." g2. g2.
   
   }
}

PartsTwo = {
   \relative c'' {
       \stemUp
   g4 g4 d4 e4( d4) d4 d2 r4 d4 d4 g4 fs4( a4) g4 fs2 r4
   \noteDown d'4 \noteDown b4 \noteDown g4 \noteDown d2 r4 fs4 g4 a4 g4. d8 d4 fs4 g4 a4
   g4. d8 d4 d4 g4 g4 g4. g8 g4 a4 g4 fs4 d2. e2. d2.
  }
}



PartsThree = {
   \relative c' {
       \stemDown    
   b4 d4 d4 c4( b4) a4 b2 r4 b4 d4 d4 d2 d4 d2 r4
   \noteUp d4 \noteUp b4 \noteUp g4 \noteUp d2 r4 d'4 d4 d4 d4. c8 b4 d4 d4 d4 
   d4. c8 b4 b4 d4 b4 b4. c8 b4 e4 d4 c4 b2. c2. b2.
   
  }
}

PartsFour = {
   \relative c' {
       \stemDown      
   g4 g4 b,4 c4( d4) d4 g,2 r4 g'4 fs4 g4 a4( fs4) g4 d2 r4
   d'4 b4 g4 d2 r4 d4 d4 d4 g4. g8 g4 d4 d4 d4
   g4. g8 g4 g,4 g4 g'4 g4. g8 g4 c,4 d4 d4 <g g,>2. c,2. g2.
  }
}

PartsTop = {
   \global
   \clef treble
   <<  \PartsOne \PartsTwo >> \bar "|."
  }

PartsBottom = {
   \global
   \clef bass
   \override Rest #'style = #'classical
   <<  \PartsThree \PartsFour >> \bar "|."
  }
  
stanzaOne = \lyricmode { \set stanza = "1. "Come, Thou Al -- might -- y King, Help us Thy name to sing,
	Help us to praise: Fa -- ther, all -- glo -- ri -- ous, O're all vic -- 
	to -- ri -- ous, Come, and reign o -- ver us, An -- cient of Days. 
}

stanzaTwo = \lyricmode { \set stanza = "2. "Come, Thou In -- car -- nate Word, Gird on Thy might -- y sword,
	Our prayer at -- tend: Come and Thy peo -- ple bless, And give Thy
	Word Suc -- cess: Spir -- it of Ho -- li -- ness, On us De -- scend. 
} 
  
stanzaThree = \lyricmode { \set stanza = "3. "Come, Ho -- ly Com -- fort --er, Thy sa -- cred wit -- ness bear
	In This glad hour: Thou who al -- might -- y art, Now rule in
	ev -- 'ry heart, And Ne're from us de -- part, Spir -- it of pow'r. 
}
	
stanzaFour = \lyricmode { \set stanza = "4. "To the great One in Three E -- ter -- nal prais -- es be
	Hence, ev -- er -- more! His sov -- 'reign maj -- es -- ty may we in glo -- ry see, And to e -- ter -- ni -- ty Love and a -- dore!  A -- MEN 
}

\score {
   <<
       \new Staff = top
       { <<              
	       \override Staff.TimeSignature #'style = #'()
               #(set-accidental-style 'forget)
	       	\set Staff.midiInstrument="choir aahs"
	       \new Voice = "One" \PartsTop
	       \new Lyrics \lyricsto "One" \stanzaOne
         \new Lyrics \lyricsto "One" \stanzaTwo
	       \new Lyrics \lyricsto "One" \stanzaThree
	       \new Lyrics \lyricsto "One" \stanzaFour
	       
       >> }
       \new Staff = bottom
       {       
	       \override Staff.TimeSignature #'style = #'()
               #(set-accidental-style 'forget)
	       	\set Staff.midiInstrument="choir aahs"
               \PartsBottom
       }
   >>

   \layout {
   indent = #0
      \context {
          \Voice
          shapeNoteStyles = ##(do re mi fa #f la ti)
      }
   }
}

% Second score section with all the midi settings - you can add multiple instances that call a voice - like haveing 
% more than one singer singing that voice - soprano is setup that way below
%{
\score {
  \unfoldRepeats
   <<
      \new Staff = soprano
       { <<              
	 \override Staff.TimeSignature #'style = #'()
         \set Staff.midiInstrument="flute"
	 \new Voice = "One" \PartsOne
       >> }
       \new Staff = sopranotwo
       { <<              
	 \override Staff.TimeSignature #'style = #'()
         \set Staff.midiInstrument="violin"
	 \new Voice = "SecondOne" \PartsOne
       >> }
       \new Staff = alto
       { <<              
	  \override Staff.TimeSignature #'style = #'()
          \set Staff.midiInstrument="flute"
	  \new Voice = "Two" \PartsTwo
       >> }
       \new Staff = tenor
       { <<      
	  \override Staff.TimeSignature #'style = #'()
          \set Staff.midiInstrument= "flute"
          \new Voice = "Three" \PartsThree
       >> }
       \new Staff = bass
       { <<      
	  \override Staff.TimeSignature #'style = #'()
          \set Staff.midiInstrument= "flute"
          \new Voice = "Four" \PartsFour
       >> }
       >>

  \midi {
          tempoWholesPerMinute = #(ly:make-moment 100 4
	)
   }
}
%}



\version "2.12.2"
\include "english.ly"
% template for song with no repeating - several verses and a common chorus
#(ly:set-option 'midi-extension "midi")

\header {
  title="Bless Jehovah"
  subtitle = \markup { \italic "Bless the Lord, O my soul. - Psalm 103:1" }
  poet="From Psalm 103"
  composer="Silas J. Vail, 1818-1884"
  tagline=""
}

\paper {
   %ragged-bottom=##f
   %ragged-last-bottom=##f
   between-system-padding = #0.1
   %between-system-space = #0.6
   %system-count = #1
   %bottom-margin = 3\mm
   #( define bottom-margin (* 2 mm))
}

global = {
   \key g \major
   \autoBeamOff
   \partial 1
   \time 3/4
   \override Rest #'style = #'classical	
}

%useful functions 
noteDown = #(define-music-function (parser location note)
                                         (ly:music?)
      #{
        << {} \\ $note >>
      #})

noteUp = #(define-music-function (parser location note)
                                         (ly:music?)
      #{
        << $note \\ {} >>
      #})
      %{leftbrace = \markup { \override #'(font-encoding . fetaBraces) \bold \lookup #"brace105" }
rightbrace = \markup { \rotate #180 \leftbrace }
skipFour = \repeat unfold 4 { \skip 8 }
%}

PartsOne = {
   \relative c' {
       \stemUp
    d8. g16 b4. g8 fs8. a16 g4 d4 g8. b16 d4. b8 g8. b16 a2 \bar ""
    d,8. g16 b4. b8 b8. d16 d4 c4 b8. a16 g4. b8 b8. a16 g2 \bar ""
    fs8.^"Refrain" g16 a4. a8 c8. fs,16 g4 g4 b8. c16 d4. d8 d8. b16 a2 \bar ""
    d,8. g16 b4. b8 b8. d16 d4 c4 b8. a16 g4. b8 b8. a16 g2
   }
}

PartsTwo = {
   \relative c' {
       \stemUp
  \noteDown d8. d16 g4. d8 d8. d16 d4 \noteDown d4 d8. d16 g4. g8 \noteDown g8. g16 fs2 \bar ""
  \noteDown d8. d16 g4. g8 g8. f16 e4 e4 e8. e16 d4. g8  fs8. fs16 \noteDown g2 \bar ""
  d8. d16 fs4. fs8 fs8. d16 d4 d4 g8. a16 b4. b8 b8. g16 fs2 \bar ""
  \noteDown d8. d16 g4. g8 g8. f16 e4 e4 e8. e16 d4. g8 g8. fs16 \noteDown g2
  }
}



PartsThree = {
   \relative c' {
       \stemDown    
   b8. b16 d4. b8 a8. c16 b4 b4 b8. b16 b4. d8 d8. d16 d2 \bar ""
   b8. b16 d4. d8 d8. g,16 g4 g4 g8. a16 b4. d8 d8. c16 b2 \bar ""
   a8. b16 c4. c8 a8. c16 b4 b4 d8. d16 d4. d8 d8. d16 d2 \bar ""
   b8. b16 d4. d8 d8. g,16 g4 g4 g8. a16 b4. d8 d8. c16 b2
  }
}

PartsFour = {
   \relative c' {
       \stemDown      
   g8. g16 g4. g8 d8. d16 g4 g4 g8. g16 g4. g8 b8. g16 d2 \bar ""
   g8. g16 g4. g8 g8. b,16 c4 c4 c8. c16 d4. d8 d8. d16 g,2 \bar ""
   d'8. d16 d4. d8 d8. d16 g4 g4 g8. g16 g4. g8 g8. g16 d2 \bar ""
   g8. g16 g4. g8 g8. b,16 c4 c4 c8. c16 d4. d8 d8. d16 g,2
  }
}

PartsTop = {
   \global
   \clef treble
   <<  \PartsOne \PartsTwo >> \bar "|."
  }

PartsBottom = {
   \global
   \clef bass
   \override Rest #'style = #'classical
   <<  \PartsThree \PartsFour >> \bar "|."
  }
  
stanzaOne = \lyricmode { \set stanza = "1. "O my soul, bless thou Je -- ho -- vah, All with -- in me bless His name:
	Bless Je -- ho -- vah, and for -- get not, All His mer -- cies to pro -- claim,
	
}

stanzaTwo = \lyricmode { \set stanza = "2. "Who for -- gives all my trans -- gres -- sions, Thy dis -- eas -- es all who heals;
	Who re -- deems thee from de -- struc -- tion, Who with thee so kind -- ly deals;
} 
  
stanzaThree = \lyricmode { \set stanza = "3. "Who with ten -- der mer -- cies crowns thee, Who with good things fills thy mouth,
	So that e -- ven like the ea -- gle Thou has been re -- stored to youth,
	Bless Je -- ho -- vah, all His crea -- tures Ev -- er un -- der His con -- trol, 
	All Thro' -- out His vast do -- min -- ion; Bless Je -- ho -- vah, O my soul.
}
	
stanzaFour = \lyricmode { \set stanza = "4. "In His right -- euos -- ness, Je -- ho -- vah Will de -- liv -- er those dis -- tressed;
	He will ex -- e -- cute just judg -- ment In the cause of all op -- pressed

}

stanzaFive = \lyricmode { \set stanza = "5. "For as high as is the heav -- en, Far a -- bove the earth be -- low, 
	Ev -- er great to them that fear Him Is the mer -- cy He will show

}

\score {
   <<
       \new Staff = top
       { <<              
	       \override Staff.TimeSignature #'style = #'()
               #(set-accidental-style 'forget)
	       	\set Staff.midiInstrument="choir aahs"
	       \new Voice = "One" \PartsTop
	       \new Lyrics \lyricsto "One" \stanzaOne
         \new Lyrics \lyricsto "One" \stanzaTwo
	       \new Lyrics \lyricsto "One" \stanzaThree
	       \new Lyrics \lyricsto "One" \stanzaFour
	       \new Lyrics \lyricsto "One" \stanzaFive
       >> }
       \new Staff = bottom
       {       
	       \override Staff.TimeSignature #'style = #'()
               #(set-accidental-style 'forget)
	       	\set Staff.midiInstrument="choir aahs"
               \PartsBottom
       }
   >>

   \layout {
   indent = #0
      \context {
          \Voice
          shapeNoteStyles = ##(do re mi fa #f la ti)
      }
   }
}

% Second score section with all the midi settings - you can add multiple instances that call a voice - like haveing 
% more than one singer singing that voice - soprano is setup that way below
%{
\score {
  \unfoldRepeats
   <<
      \new Staff = soprano
       { <<              
	 \override Staff.TimeSignature #'style = #'()
         \set Staff.midiInstrument="flute"
	 \new Voice = "One" \PartsOne
       >> }
       \new Staff = sopranotwo
       { <<              
	 \override Staff.TimeSignature #'style = #'()
         \set Staff.midiInstrument="violin"
	 \new Voice = "SecondOne" \PartsOne
       >> }
       \new Staff = alto
       { <<              
	  \override Staff.TimeSignature #'style = #'()
          \set Staff.midiInstrument="flute"
	  \new Voice = "Two" \PartsTwo
       >> }
       \new Staff = tenor
       { <<      
	  \override Staff.TimeSignature #'style = #'()
          \set Staff.midiInstrument= "flute"
          \new Voice = "Three" \PartsThree
       >> }
       \new Staff = bass
       { <<      
	  \override Staff.TimeSignature #'style = #'()
          \set Staff.midiInstrument= "flute"
          \new Voice = "Four" \PartsFour
       >> }
       >>

  \midi {
    \context {
      \Staff
      \remove "Staff_performer"
    }
    \context {
      \Voice
      \consists "Staff_performer"      
    }
    \context {
      \Score
      tempoWholesPerMinute = #(ly:make-moment 72 2)
    }
  }
}

%}


\version "2.12.2"
\include "english.ly"
\paper
{
    print-all-headers = ##t
    bookTitleMarkup = \markup \null
}

\bookpart { \include "1.ly" }
\bookpart { \include "2.ly" }

%{
\bookpart { \include "3.ly" }
\bookpart { \include "4.ly" }
\bookpart { \include "5.ly" }
%}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to