auctex-devel
[Top][All Lists]
Advanced

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

[AUCTeX-devel] reftex, insert labels automatically enumerate


From: Uwe Brauer
Subject: [AUCTeX-devel] reftex, insert labels automatically enumerate
Date: Sun, 19 Aug 2018 18:11:38 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)


Hi

I just realised the following:
I have the following setting (just the relevant part)


(setq reftex-label-alist
        '(("equation"  ?e "eq:%f:" "~(\\ref{%s})" t
           ("Equation" "Eq." "Eqn." "Gleichung"  "Gl."))
           ("enumerate" ?i "item:%f:" "~\\ref{%s}" nil
           (regexp "Items?" "Punkte?"))))

But the label for enumerate is *not* automatically inserted!

I obtain 

\begin{enumerate}
  \item 
\end{enumerate}


And not 

\begin{enumerate}
  \item \label{item:proof-sec3-B:1}
\end{enumerate}

Is this a bug?

Uwe Brauer 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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