auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Re: labels in align env (amsmath style)


From: David Kastrup
Subject: Re: [AUCTeX] Re: labels in align env (amsmath style)
Date: Fri, 10 Nov 2006 00:01:51 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Seweryn Kokot <address@hidden> writes:

>>> Here typing M-RET I get \item 
>
>>Again, parsing needs to be enabled for this to work.
>
> I'm using auctex 11.83 and I didn't mention but I do have
> TeX-parse-self enabled:
> --- .emacs
> (load "auctex.el" nil t t)
> (load "preview-latex.el" nil t t)
> (setq TeX-electric-escape t)
> (setq TeX-auto-save t)
> (setq TeX-parse-self t)
> (setq-default TeX-master nil)
> ---
>
> and what should I actually get after typing M-RET? \label or \\? now I
> get \item :(
>
> For now I do: 
> C-c C-e align
> C-c C-(             to get \label for the first equation
> a & = b + c \\
> C-c C-(             to get \label for the second equation
> x & = 1 + d

No, this should not be necessary.  You have a problem with parsing,
seemingly.  C-c C-e should place the first label by itself, and M-RET
should place \\ and another label.

What does
C-h v LaTeX-item-list RET
report?

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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