Why not run lilypond-book on the main file of the document? The reason that lilypond-book wants the heading with documentclass, is that it needs to figure out the page layout of the document. Currently, this is done by running LaTeX on a dummy document with a a copy of the heading of the original document but an empty body.
/Mats
Lyle Raymond wrote:
I figured that out, and even wrote a shell script that handles the whole job.
The new question is this:
My lilypond code is embedded in chapter1.latex. Chapter One of my book is a separate file which contains no \documentclass{} heading. Lilypond-book doesn't like this. How is this handled?
Lyle
On Friday 30 July 2004 2:54 am, you wrote:
Lyle Raymond wrote:
Yesterday I posted a question regarding a problem I was having with lilypond-book (see original text below). I since discovered that the problem lies in using pdflatex to render the output. Is there a fix?
Not at the moment, since the TeX code generated by LilyPond that is included for each \begin{lilypond}...\end{lilypond} contains embedded Postscript commands that pdflatex cannot handle. The recommended solution for the moment is latex+dvips+ps2pdf, see the manual of lilypond-book for details.
/Mats
-- ============================================= 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: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================
_______________________________________________ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user