Andre Poenitz <[EMAIL PROTECTED]> writes:

> On Tue, Jul 02, 2002 at 10:45:02AM +0100, Angus Leeming wrote:

> > I'm of the same opinion; we need this only when a document is
> > loaded. But we still need to dump the preamble if we're to get
> > user-defined macros et al.
> 
> I though Herbert did some work on that part.
> 
> Note that "the preamble" is not sufficient anyway. We would need
> "local" defines etc as well to make it "Right"...

Well, if you have any mechanisms for xdviing/ghostviewing just part of
a document, "local" defines will fail anyway if not included in such
a region.  I would class operation of previews similarly: defs
relevant to a preview should be placed either in the preamble, or
inside of the previewed material itself.

Catering for more is being too clever, I think.  Let the user suffer
the consequences.

> > We need to split Buffer::makeLaTeXFile into two so that we can
> > just grab the preamble. Thereafter, the PreambleQueue class is
> > finished too I believe.
> 
> As I said, local defines would break that scheme. But I think we
> currently don't have the infrastructure to work around this problem.

I think it should be a reasonable requirement to the user to behave
himself in this regard.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Email: [EMAIL PROTECTED]


Reply via email to