[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AucTeX fontifying: mishandling $ within \verb argument and verbatim
From: |
Peter S Galbraith |
Subject: |
Re: AucTeX fontifying: mishandling $ within \verb argument and verbatim environment. |
Date: |
Fri, 08 Nov 2002 20:10:52 -0500 |
Michael J Downes <epsmjd@ams.org> wrote:
> Adam <a24061@void.yahoo.void.com> writes:
>
> > ...in your \verb!$PATH! blah blah
> > blah
> > \begin{verbatim}
> > $ passwd
> > Changing password for USERID
> > (current) UNIX password:
> > New password:
> > Retype new password:
> > passwd: all authentication tokens updated successfully
> > $ logout
> > \end{verbatim}
> > blah
> > blah
> >
> > Everything from PATH through {verbatim} and from logout onward is colored
> > as if in math mode. Anyone know how to fix this?
>
> A workaround that I sometimes use is
>
> \newcommand{\ignore}[1]{}
>
> ...in your \verb!$PATH!\ignore$ blah blah
I wouldn't know how to fix the \verb problem (I don't even know thta
LaTeX command and don't have a LaTeX book close-by), but without that
line the \vertabim is handled correctly by font-latex.el
Peter