Hi,lily users: 

I try the following lily code as suggested in the email below  and I got 
error.  Then I change the version to "2.17.0"  (I have 2.17.7 installed), I got 
different error message. Appreciate if anyone can help. 


\version "2.16.0"
#(ly:score-music #{ \score { \include "jesus-love-me-this-i-know.ly" } #})

The error:
Starting lilypond-windows.exe 2.16.1 [Untitled]...
Processing 
`c:/users/tsang/appdata/local/temp/frescobaldi-qrtpmf/tmpxigjju/document.ly'
Parsing...
c:/users/tsang/appdata/local/temp/frescobaldi-qrtpmf/tmpxigjju/document.ly:3:19:
 error: cannot find file: `jesus-love-me-this-i-know.ly'
(search path: 
`c:/users/tsang/appdata/local/temp/frescobaldi-qrtpmf/tmpxigjju;C:/Program 
Files (x86)/LilyPond/usr/share/lilypond/current/fonts/svg/;C:/Program Files 
(x86)/LilyPond/usr/share/lilypond/current/fonts/type1/;C:/Program Files 
(x86)/LilyPond/usr/share/lilypond/current/fonts/otf/;C:/Program Files 
(x86)/LilyPond/usr/share/lilypond/current/scm;C:/Program Files 
(x86)/LilyPond/usr/share/lilypond/current/ps;C:/Program Files 
(x86)/LilyPond/usr/share/lilypond/current/ly;C:/Users/Tsang/Dropbox/LP_includes;D:/LILY_POND;C:/Users/Tsang/Dropbox/Lyndon/LiLy/jesus-love-me-this-i-know;C:/Users/Tsang/Dropbox/Lyndon/LiLy/whispering-hope;C:/Users/Tsang/Dropbox/Lyndon/LiLy/the-lord-is-my-strength;')
\score { \include 
"jesus-love-me-this-i-know.ly" } 
c:/users/tsang/appdata/local/temp/frescobaldi-qrtpmf/tmpxigjju/document.ly:3:50:
 error: syntax error, unexpected '}'
\score { \include "jesus-love-me-this-i-know.ly" 
} 
c:/users/tsang/appdata/local/temp/frescobaldi-qrtpmf/tmpxigjju/document.ly:3:1: 
error: GUILE signaled an error for the expression beginning here
#
(ly:score-music #{ \score { \include "jesus-love-me-this-i-know.ly" } #})
variable is unbound: #<variable 366af90 value: #<undefined>>
fatal error: failed files: 
"c:\\users\\tsang\\appdata\\local\\temp\\frescobaldi-qrtpmf\\tmpxigjju\\document.ly"
Exited with return code 1.



Starting lilypond.exe 2.17.7 [Untitled]...
Processing 
`c:/users/tsang/appdata/local/temp/frescobaldi-qrtpmf/tmpxigjju/document.ly'
Parsing...
c:/users/tsang/appdata/local/temp/frescobaldi-qrtpmf/tmpxigjju/document.ly:3:19:
 error: cannot find file: `jesus-love-me-this-i-know.ly'
(search path: 
`c:/users/tsang/appdata/local/temp/frescobaldi-qrtpmf/tmpxigjju;C:/Users/Tsang/Dropbox/LilyPond/usr/share/lilypond/current/fonts/svg/;C:/Users/Tsang/Dropbox/LilyPond/usr/share/lilypond/current/fonts/type1/;C:/Users/Tsang/Dropbox/LilyPond/usr/share/lilypond/current/fonts/otf/;C:/Users/Tsang/Dropbox/LilyPond/usr/share/lilypond/current/scm;C:/Users/Tsang/Dropbox/LilyPond/usr/share/lilypond/current/ps;C:/Users/Tsang/Dropbox/LilyPond/usr/share/lilypond/current/ly;C:/Users/Tsang/Dropbox/LP_includes;D:/LILY_POND;C:/Users/Tsang/Dropbox/Lyndon/LiLy/jesus-love-me-this-i-know;C:/Users/Tsang/Dropbox/Lyndon/LiLy/whispering-hope;C:/Users/Tsang/Dropbox/Lyndon/LiLy/the-lord-is-my-strength;')
\score { \include 
"jesus-love-me-this-i-know.ly" } 
c:/users/tsang/appdata/local/temp/frescobaldi-qrtpmf/tmpxigjju/document.ly:3:50:
 error: syntax error, unexpected '}'
\score { \include "jesus-love-me-this-i-know.ly" 
} 
c:/users/tsang/appdata/local/temp/frescobaldi-qrtpmf/tmpxigjju/document.ly:3:0: 
error: error in #{ ... #}
#(ly:score-music #{ \score { \include "jesus-love-me-this-i-know.ly" } #})
c:/users/tsang/appdata/local/temp/frescobaldi-qrtpmf/tmpxigjju/document.ly:3:1: 
error: GUILE signaled an error for the expression beginning here
#
(ly:score-music #{ \score { \include "jesus-love-me-this-i-know.ly" } #})
Wrong type argument in position 1 (expecting Score): #<unspecified>
fatal error: failed files: 
"c:\\users\\tsang\\appdata\\local\\temp\\frescobaldi-qrtpmf\\tmpxigjju\\document.ly"
Exited with return code 1.


 Blessing in+,
Ming.


>________________________________
>
>Message: 5
>Date: Mon, 26 Nov 2012 07:49:45 +0100
>From: David Kastrup <d...@gnu.org>
>To: lilypond-user@gnu.org
>Subject: Re: include header conflicts
>Message-ID: <8738zwkgdy....@fencepost.gnu.org>
>Content-Type: text/plain
>
>Kieren MacMillan <kieren_macmil...@sympatico.ca> writes:
>
>> Hello all!
>>
>> I've got an individual .ly file for each cue (song or orchestral
>> interlude) in my musical. I want to include them in a complete score
>> .ly file, but when I do that the header variables conflict (e.g., the
>> first or last 'title' or 'piece' value gets printed in the header of
>> all scores).
>
>You could suck the whole file into one score and get just the music back
>out again using ly:score-music, something like
>
>#(ly:score-music #{ \score { \include "xxx.ly" } #})
>
>The music will already be "scorified" (repeat chords expanded, \\
>replaced and other things), so you just need to add it to your book or
>whatever.
>
>-- 
>David Kastrup
>
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to