On Jun 24, 2004, at 2:22 AM, Jan Nieuwenhuizen wrote:
Will Oram writes:
lilypond-book --process='lilypond-bin -I include-mvmt1' --output=out/ tchai_op35_book.tex
Is this even valid input?
Yes. What error message do you get? If something does not work, you really need to include the error message and possibly version of your software.
This works for 2.2 from the toplevel source directory:
TEXINPUTS=Documentation/user: lilypond-book --format=latex --process='lilypond-bin -I Documentation/user' --output=out/ latex-example.latex
Sorry. The error log was so large I didn't include it. The highlights, though:
Processing...Running lilypond-bin...lilypond-book: error: `lilypond-bin' failed (status 1)
lilypond-book: error: The error log is as follows:
Now processing `lily-1310363238.ly' Parsing...
input renamed to: `mvmt1/mvmt1.ly'
mvmt1/mvmt1.ly:15:19: error: can't find file: `/defs.ly'
(search path: `/sw/share/lilypond/2.2.3/ps:/sw/share/lilypond/2.2.3/tfm:/sw/share/ lilypond/2.2.3/scm:/sw/share/lilypond/2.2.3/mf/out:/sw/share/lilypond/ 2.2.3/afm:/sw/share/lilypond/2.2.3/ly:/sw/share/lilypond/ps:/sw/share/ lilypond/tfm:/sw/share/lilypond/scm:/sw/share/lilypond/mf/out:/sw/ share/lilypond/afm:/sw/share/lilypond/ly::include-mvmt1:/Users/spamguy/ tchai_op35')
:
\include "/defs.ly"
mvmt1/mvmt1.ly:16:21: error: can't find file: `/global.ly'
(search path: `/sw/share/lilypond/2.2.3/ps:/sw/share/lilypond/2.2.3/tfm:/sw/share/ lilypond/2.2.3/scm:/sw/share/lilypond/2.2.3/mf/out:/sw/share/lilypond/ 2.2.3/afm:/sw/share/lilypond/2.2.3/ly:/sw/share/lilypond/ps:/sw/share/ lilypond/tfm:/sw/share/lilypond/scm:/sw/share/lilypond/mf/out:/sw/ share/lilypond/afm:/sw/share/lilypond/ly::include-mvmt1:/Users/spamguy/ tchai_op35')
:
\include "/global.ly"
[One of the above for each file in directory]
mvmt1/mvmt1.ly:36:10: error: unknown escaped string: `\spacing': \spacing
mvmt1/mvmt1.ly:37:11: error: Have to be in Lyric mode for lyrics: \contex t StaffGroup ="woodwinds" <<
[etc]
As I said, adding the prefix mvmt1/ to all \includes fixes this, although this defeats the purpose of using your suggestion.
Best,
Will Oram // Genius @ Large // AIM spamguy21
spamguy (at) foxchange (dot) com // wro1 (at) cwru (dot) edu
_______________________________________________ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
