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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================
_______________________________________________ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user