Ralf Angeli <ang...@caeruleus.net> 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 _______________________________________________ auctex mailing list auctex@gnu.org http://lists.gnu.org/mailman/listinfo/auctex