bug-auctex
[Top][All Lists]
Advanced

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

Re: [Bug-AUCTeX] 2008-02-02; Highlighting verbatim environments gets con


From: Uwe Siart
Subject: Re: [Bug-AUCTeX] 2008-02-02; Highlighting verbatim environments gets confused
Date: Sat, 02 Feb 2008 21:56:40 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (windows-nt)

Ralf Angeli <address@hidden> writes:

> Do you get the same erroneous behavior as you described before with
> the test case above? If not, please provide a full minimal example.

Ralf,

your test file worked also fine here. So I created a minimal example:

--8<----------8<----------8<----------8<----------
\documentclass{article}
\usepackage{alltt}
\newenvironment{Enter}{\begin{alltt}}{\end{alltt}}
\begin{document}
foo
\begin{Enter}
bar
\end{Enter}
baz
\end{document}
--8<----------8<----------8<----------8<----------

I found that the problem is provoked through the use of 'alltt'.
Admittedly, this is a very nasty arrangement. However, in AUCTeX
2007-01-23 it is handled correctly.

Maybe the problem lies buried in the style for 'alltt', because the
highlighting is correct again when you delete \usepackage{alltt}.

-- 
Uwe




reply via email to

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