auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] a LaTeX-env-usepackage environment


From: Tassilo Horn
Subject: Re: [AUCTeX-devel] a LaTeX-env-usepackage environment
Date: Fri, 14 Feb 2014 08:02:18 +0100
User-agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux)

Carlos <address@hidden> writes:

> I forgot to mention something, which was one of the reasons,
> besides convenience, of using \usepackage bound to C-c C-e
>
> If
>>\usepackage is no environment
>
> What is the rationale to have 
>
> (defun LaTeX-env-document (&optional ignore)
>   "Create new LaTeX document.
> The compatibility argument IGNORE is ignored."
>   (TeX-insert-macro "documentclass")
>
> then? since documentclass is no environment either. 

Yes, but without a \documentclass you can't have a document environment,
so this is a special case.

Bye,
Tassilo




reply via email to

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