[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nested lilypond-book files?
From: |
Oscar A. Valdez |
Subject: |
Re: nested lilypond-book files? |
Date: |
Wed, 26 Mar 2003 21:53:53 -0600 |
User-agent: |
Internet Messaging Program (IMP) 3.2 |
\mbinlude works, but inserts page breaks before and after the included parts.
\mbinput crashes with the following output:
Traceback (most recent call last):
File "/usr/bin/lilypond-book", line 1540, in ?
do_file(input_filename)
File "/usr/bin/lilypond-book", line 1424, in do_file
chunks = read_doc_file(input_filename)
File "/usr/bin/lilypond-book", line 1007, in read_doc_file
chunks = chop_chunks(chunks, 'input', do_input_file, 1)
File "/usr/bin/lilypond-book", line 953, in chop_chunks
newchunks = newchunks + func(m)
File "/usr/bin/lilypond-book", line 880, in do_input_file
return read_doc_file(m.group('filename'))
IndexError: no such group
Any ideas on getting \input or \mbinput to work?
Oscar
==============================================
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
-------------------------------------------------
Este correo se envio usando IMP Webmail
Visite el proyecto en: http://horde.org/imp