[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Making a lilypond-book -- IT WORKS...sort of
From: |
Mats Bengtsson |
Subject: |
Re: Making a lilypond-book -- IT WORKS...sort of |
Date: |
Fri, 02 Jul 2004 11:23:06 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616 |
I don't understand what's going on here. Could you please send
the full example (in a private email if you wish) or send the
following:
- The generated .tex file that you process with latex.
- The output of 'grep renameinput lily-*.ly' (to be run in the
output directory of lilypond-book.
/Mats
Will Oram wrote:
A more serious problem is that I can't seem to have multiple
\lilypondfile's in one .tex file. This is my code:
\documentclass[a4paper]{opera}
\begin{document}
\title {Violin Concerto in D Major}
\subtitle {Opus 35}
\author {Peter Ilyitch Tchaikovsky}
\date {\today}
\maketitle
\begin{center}
{\huge{I. Allegro Moderato}} \\
\end{center}
\lilypondfile{mvmt1/mvmt1.ly}
\begin{center}
{\huge{III. Finale}} \\
\end{center}
\lilypondfile{mvmt3/mvmt3.ly}
\end{document}
The resulting output is the title page, mvmt1 header, mvmt1, NO
header at all, mvmt1 AGAIN. What's up?
I tried your example with some small files in mvmt1.ly and mvmt3.ly and
it works fine here. You can hopefully get a hint on what's up if you
run lilypond-book with the additional flag --verbose and also take a
careful look at the printouts from LaTeX.
--verbose doesn't reveal much, other than it is indeed compiling the
same mvmt1 twice. The last thing lilypond-book says that's on track is
'input renamed to: `mvmt3/mvmt3.ly''. After that it proceeds to
reprocess mvmt1.
I recommend to remove all
lily-*.ly files first to make sure that lilypond-book reruns all the
steps.
AFAIK, I have to do that every time I build this project, else I get
'All snippets are up to date', whether or not that's actually true.
Will Oram // Genius @ Large // AIM spamguy21
spamguy (at) foxchange (dot) com // wro1 (at) cwru (dot) edu
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: address@hidden
WWW: http://www.s3.kth.se/~mabe
=============================================