bug-auctex
[Top][All Lists]
Advanced

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

Re: [Bug-AUCTeX] underscores in \verb and math


From: Ralf Angeli
Subject: Re: [Bug-AUCTeX] underscores in \verb and math
Date: Wed, 19 Jul 2006 20:08:11 +0200

* Stephan Hennig (2006-07-19) writes:

> AUCTeX fails to render the following character sequence right.  The
> underscore is interpreted as an index indicator where it shouldn't
> because of the \verb command.
>
> $\verb!_my_variable_!\leq 100$

Catching that with the current way support for math, subscript in math
and verbatim is written in font-latex would require syntactic
fontification in font-lock to work with nested constructs.  This is
currently unsupported and would actually be nice to have for docTeX
mode as well.  Maybe I can cook up a patch for font-lock.el after the
release.

-- 
Ralf




reply via email to

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