Re: insert environment + automatic label (reftex) seems not to work correctly anymore

2023-03-12 Thread Uwe Brauer
>>> "IK" == Ikumi Keita writes: Hi Keita > Hi Uwe, >> Uwe Brauer writes: > The label format is governed by RefTeX settings when you enable RefTeX. > Thus it isn't enough just to provide >> (LaTeX-add-environments >> '("thm" LaTeX-thm-insert) >> '("exmp" LaTeX-example-insert) >> '("lem"

Re: insert environment + automatic label (reftex) seems not to work correctly anymore

2023-03-09 Thread Ikumi Keita
Hi Uwe, > Uwe Brauer writes: > However to my surprised, when I tried it out on a vanilla (no amsthm loaded) > I obtained > \begin{lem}[this] > \label{lem:new:1} > \end{lem} > \begin{thm}[this] > \label{thr:new:1} > \end{thm} > \begin{exmp}[this] > \label{sec:3} > \end{exmp}

insert environment + automatic label (reftex) seems not to work correctly anymore

2023-03-05 Thread Uwe Brauer
Hi I am using, for years, auctex+reftex, and insert either in article or in beamer class, theorems, lemma and examples like this (LaTeX-add-environments '("thm" LaTeX-thm-insert) '("exmp" LaTeX-example-insert) '("lem" LaTeX-lem-insert) Where: (defun LaTeX-thm-insert (environment)