unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter S Galbraith <p.galbraith@globetrotter.net>
Subject: Re: AucTeX fontifying: mishandling $ within \verb argument and verbatim environment.
Date: Fri, 08 Nov 2002 20:10:52 -0500	[thread overview]
Message-ID: <20021109011052.B1EA943D3E@mixed.dyndns.org> (raw)
In-Reply-To: Your message of "Fri, 08 Nov 2002 12:47:27 PST." <25180b3c.0211081247.76ef121c@posting.google.com>

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

  reply	other threads:[~2002-11-09  1:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-08 11:35 AucTeX fontifying: mishandling $ within \verb argument and verbatim environment Adam
2002-11-08 20:47 ` Michael J Downes
2002-11-09  1:10   ` Peter S Galbraith [this message]
     [not found]   ` <mailman.1036805218.32603.help-gnu-emacs@gnu.org>
2002-11-14 15:51     ` Michael J Downes
2002-11-15  0:54       ` Peter S Galbraith
  -- strict thread matches above, loose matches on Subject: below --
2003-01-21 19:45 Adam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021109011052.B1EA943D3E@mixed.dyndns.org \
    --to=p.galbraith@globetrotter.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).