🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #12024

Re: How to get AucTeX not to mess up the contents of the boxedverbatim environment?

#12024
From: Ralf Angeli
Date: Tue, 19 Oct 2004 10:18
26 lines
2080 bytes
* Adam Funk (2004-10-19) writes:

> I've just started using the boxedverbatim environment of the moreverb
> package (LaTeX Companion, Section 3.3.3).  AucTex recognizes the
> verbatim environment and doesn't indent or change the line breaks
> within it (for example when putting a center environment around it with
> C-c C-e).
>
> How can I set it to treat boxedverbatim the same way?

If you only have to suppress filling, type `M-x customize-variable RET
LaTeX-indent-environment-list RET' and add an entry by using the entry
for the verbatim environment as an example.

If the environment has to be flush left like the verbatim environment
you have to customize the variable `LaTeX-verbatim-regexp' as well.

You didn't write what you actually want to put into the boxedverbatim
environment, but maybe the listings package is a better option.  And
this package will be supported by AUCTeX out of the box with the next
release.  If you want to try this right away, you can get a snapshot at
<URL:http://theotp1.physik.uni-ulm.de/~ste/comp/emacs/auctex/snapshots/>.

Followup-To: gnu.emacs.help
-- 
Ralf
Technical Details
Message-ID: <2tk80dF20jls8U1@uni-berlin.de>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail
References: <zl5dd.11307$xb.9642@text.news.blueyonder.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Thread: f9e16,1a2db780e34824cb
X-Google-Thread: 103b8b,1a2db780e34824cb
X-Google-Attributes: gidf9e16,gid103b8b,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail
From: Ralf Angeli <dev.null@iwi.uni-sb.de>
Newsgroups: comp.text.tex,gnu.emacs.help
Subject: Re: How to get AucTeX not to mess up the contents of the boxedverbatim environment?
Followup-To: gnu.emacs.help
Date: Tue, 19 Oct 2004 12:18:53 +0200
Lines: 26
Message-ID: <2tk80dF20jls8U1@uni-berlin.de>
References: <zl5dd.11307$xb.9642@text.news.blueyonder.co.uk>
Reply-To: angeli@iwi.uni-sb.de
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.uni-berlin.de zG+UTeKg2mlFJNcCNz6CZwSPP+4BU5IhcFMV8Xk7hudGLZM5V1hhwUu0iH
Mail-Copies-To: nobody
User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (berkeley-unix)
Cancel-Lock: sha1:hnDEADveJjfxIH6hqJrYZMlt1II=