auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] LaTeX-env-contents patch


From: Tassilo Horn
Subject: Re: [AUCTeX-devel] LaTeX-env-contents patch
Date: Tue, 29 Jan 2013 08:38:27 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

Mads Jensen <address@hidden> writes:

Hi Mads,

>> Is that really true?  The LaTeX2e docs say that for example a
>> filecontents environment must only occur before \documentclass.  See
>> section 3.1 of http://www.latex-project.org/guides/usrguide.pdf.
>
> To justify my claim, try compiling the attached file, and notice that
> only the second filecontents generates an error, and that the first
> one passes through with just the warning that a file is being written
> to.

Indeed.  And the error with the second filecontents actually says that
this environment must occur in the preamble which includes everything up
to the \begin{document}.

> Why the LaTeX 3 team writes this in their must be either a mistake, or
> because something changed after 2001 with the filecontents environment
> definition.

Yeah, probably.  Thanks for checking.

I've committed your patch.

Bye,
Tassilo



reply via email to

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