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...
(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" }
\score { \include "jesus-love-me-this-i-know.ly"
}
#
(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...
(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" }
\score { \include "jesus-love-me-this-i-know.ly"
}
#(ly:score-music #{ \score { \include "jesus-love-me-this-i-know.ly" } #})
#
(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 <
address@hidden>
To:
address@hiddenSubject: Re: include header conflicts
Message-ID: <
address@hidden>
Content-Type: text/plain
Kieren MacMillan <
address@hidden> 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