auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] change: documents with $$ to \begin{documents}


From: Uwe Brauer
Subject: Re: [AUCTeX-devel] change: documents with $$ to \begin{documents}
Date: Sun, 04 Jan 2015 18:30:38 +0100
User-agent: Gnus/5.13001 (Ma Gnus v0.10) XEmacs/21.5-b33 (linux)

   > Uwe Brauer <address@hidden> writes:

   > You have to enter ^J as C-q C-j

Thanks, I re-wrote it as a interactive function:


(defun  my-LaTeX-swap-dollars () 
  (interactive)
  (while (re-search-forward  "\\$\\$\\(\\(.\\|\n\\)*?\\)\\$\\$" nil t)
        (replace-match "\\\\begin{equation*}\\1\\\\end{equation*}" nil nil)))

Maybe most of you will find this trivial, but maybe something like this
could be included in AucTeX?

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


reply via email to

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