[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nested lilypond-book files?
From: |
Mats Bengtsson |
Subject: |
Re: nested lilypond-book files? |
Date: |
Mon, 24 Mar 2003 15:56:31 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212 |
What you can use is the standard LaTeX procedure for splitting a
document into several files, using \include or \input (read
some LaTeX introduction on the difference between these two).
However, for some strange reason, you should use the commands
\mbinclude and \mbinput instead in lilypond-book. This was
recently discussed in the mailing list.
Example
main.lilybook:
\documentclass{blah}
\begin{document}
\mbinclude{mvmt2.lilybook}
\end{document}
mvmt2.lilybook:
% Note, no \begin{document} here, since that's already
% done in the main file
lilypondfile{score-2a.ly}
/Mats
Graham Percival wrote:
This could be a stupid (La)TeX question, rather than a stupid lilypond
question, but here goes:
Can you have nested lilypond-book files? If so, how?
I'd like to do this:
main.lilybook:
\documentclass{blah}
\begin{document}
\include-lilypond-book{mvmt2.lilybook}
\end{document}
mvmt2.lilypbook:
\documentclss{blah}
\begin{document}
\lilypondinclude{score-2a.ly}
\lilypondinclude{score-2b.ly}
\end{document}
What should I put on the "\include-lilypond-book{}" line?
Cheers,
- Graham
_______________________________________________
Lilypond-user mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
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
=============================================