I am wondering if there is a fast way to replace \[ ... \] with
\begin{equation} ... \end{equation}. From looking at the code of
LaTeX-modify-environment, it seems that it is hard-coded to look for
"begin" and "end"...
What's the use case here? Changing the current environment while you
are editing (in) it or changing several environments across a file? For
the first there is no support in `LaTeX-modify-environment' (yet) and
the second would be a case for search and replace.
I was thinking about the first point. I usually use display equations
without tags, but every now and then, after writing some equation using
\[ ... \], I realize that I need to refer to it later. At that point I
would like to move the point to that equation and change it to
\begin{equation} ... \end{equation}.
\[...\] could be supported better in AUCTeX. If we take a look at
modification we should probably also take a look at insertion.
OK, that's just some suggestion for the future...
Thanks,
Evgeny
_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex