bug-auctex
[Top][All Lists]
Advanced

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

[Bug-AUCTeX] Reformat Verbatim env


From: Ph . Ivaldi
Subject: [Bug-AUCTeX] Reformat Verbatim env
Date: Wed, 12 Oct 2011 11:34:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

Hello,

M-: (LaTeX-verbatim-environments)
("Verbatim" "BVerbatim" "phpcode" "sqlcode" "xmlcode" "htmlcode"
"htmlcode*" "Vcolor" "lstlisting" "minted" "phpcode*" "sqlcode*" ...)

C-h v LaTeX-verbatim-environments
("Verbatim" "BVerbatim" "phpcode" "sqlcode" "xmlcode" "htmlcode" "htmlcode*" 
"Vcolor" "lstlisting" "minted" "phpcode*" "sqlcode*" "xmlcode*" "Vcolor*" 
"lstlisting*" "minted*" "verbatim" "verbatim*")

I select the following code and type C-c C-e bar [ret]
8<------8<------8<------8<------8<------8<------8<------8<------8<------
truc
\begin{sqlcode}
a
b
c
\end{sqlcode}
8<------8<------8<------8<------8<------8<------8<------8<------8<------

I obtain
8<------8<------8<------8<------8<------8<------8<------8<------8<------
\begin{bar}
  truc
\begin{sqlcode}
  a b c
\end{sqlcode}
\end{bar}
8<------8<------8<------8<------8<------8<------8<------8<------8<------

The code inside the sqlcode environment should not be reformatted.

Regard,
-- 
   Philippe Ivaldi
http://www.piprime.fr/



reply via email to

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