auctex
[Top][All Lists]
Advanced

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

[AUCTeX] Re: Font changing commands messed up after listings containing


From: Tassilo Horn
Subject: [AUCTeX] Re: Font changing commands messed up after listings containing $
Date: Sat, 11 Jul 2009 22:40:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Ralf Angeli <address@hidden> writes:

Hi Ralf,

>> How do I teach auctex to ignore any dollars in lstlisting
>> environments?
>
> `texmathp' is not aware of verbatim content.  One could probably
> change this by letting it call `LateX-verbatim-p' (if available) each
> time it finds a math switching command.  This will make it slower,
> though.
>
> The usual workaround for your problem is to add "%$" after the
> environment with the verbatim text.

Ah, that works.  I already tried "% $" which didn't work.

Bye,
Tassilo





reply via email to

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