[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lilypond-book doesn't grok \include

From: Mats Bengtsson
Subject: Re: lilypond-book doesn't grok \include
Date: Mon, 17 Mar 2003 13:27:04 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130

Peter Chubb wrote:
"Han-Wen" == Han-Wen Nienhuys <address@hidden> writes:

Han-Wen> address@hidden writes:

I have a latex file containing fragments of lilypond code.  It
includes other files using


lilypond-book doesn't ever match this construct --- for some reason
it's looking for


Han-Wen> \include{} is a latex macro that also does other stuff
Han-Wen> (insert a line break, iirc). For this reason, we don't
Han-Wen> process \include{}.

\include{} inserts a pagebreak, actually.
This behaviour (ignoring \include{}) confused me, because the BUGS
section only mentions that \includeonly{} doesn't work --- implying to
me that regardless of what \includeonly{} says, all \include{}
directives are honoured.

I can't see any problem of supporting \include (with the exception of
the limitation currently mentioned in the docs). Lilypond-book just
has to treat \include and \input by copying the directive to the
generated .latex file and then calling lilypond-book recursively
(at least conceptually) on the file to input.
I think I saw patch sent to the list some weeks ago that did this.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]