[Top][All Lists]

[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 15:08:26 +0100
User-agent: Gnus/5.13001 (Ma Gnus v0.10) XEmacs/21.5-b33 (linux)

>> "David" == David Kastrup <address@hidden> writes:

   > Uwe Brauer <address@hidden> writes:
   >> Hi[1]
   >> Sometimes I receive documents with have basically only 
   >> $$
   >> \int f =0
   >> $$
   >> constructions instead of say 
   >> \begin{displaymath} or {equation*} etc.
   >> Anybody has a idea how to change the evil $$ to true latex constructs by
   >> using sophisticated regexp?

   > Not all that sophisticated.

   > M-% \$\$\(.*?\)\$\$ RET \\begin{equation*}\1\\end{equation*} RET

Thanks, but

M-% is bound in Xemacs 21.5.33 and GNU emacs 24.1 to 
query-replace but it 
this should be query-replace-regexp,  right?

Your code works for  constructions like

$$ \int $$

But not for 

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

reply via email to

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