lilypond-user
[Top][All Lists]
Advanced

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

Re: include header conflicts


From: MING TSANG
Subject: Re: include header conflicts
Date: Mon, 26 Nov 2012 07:31:00 -0800 (PST)

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 <address@hidden>
To: address@hidden
Subject: 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]