help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: just comments fontified in latex mode?


From: Tim X
Subject: Re: just comments fontified in latex mode?
Date: 24 Nov 2003 18:55:05 +1100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

>>>>> "Peter" == Peter S Galbraith <p.galbraith@globetrotter.net> writes:

 Peter> Joe Corneli <jcorneli@math.utexas.edu> wrote:
 >> I'm using the same .emacs as I used on my (broken) iBook, now
 >> working on a linux machine.  Just the comments are fontified by
 >> font-lock in my TeX files.  I asked my system administrator about
 >> this and he suggested using the hilit-LaTeX package.

 Peter> I'd suggest _not_ using hilit-LaTeX and I'm the one who wrote
 Peter> it.  The hilit19 interface is obsolete.
 >> It highlights stuff, but I didn't like the way it behaved (uses
 >> different colors, doesn't automatically rehighlight new $$'s,
 >> etc.).  Can anyone tell me how to get normal font-lock working
 >> again?

 Peter> It should just work.

 Peter> You might also give font-latex.el a try.  It's my hilit-LaTeX
 Peter> replacement and is used in AUC-TeX (but can be used outside of
 Peter> AUC-TeX):

 Peter> 
http://savannah.gnu.org/cgi-bin/viewcvs/auctex/auctex/font-latex.el?rev=HEAD&content-type=text/vnd.viewcvs-markup

I have the opposite problem. If I put a comment in a latex file, all
the text following the comment is highlighted with the comment font
colour until there is a ^L and then normal fontification works.

I've observed this on two Debian boxes - one running Debian Testing
(Sarge) and the other running Debian Unstable (Sid). The Debian
unstable versions are 

GNU Emacs 21.3.1
AucTex 11.13-1

I get the same results with emacs -q - don't know about emacs
--no-site-file as AucTex is initialized via the site-start.el, but
I've not modified it from the default Debian scripts. 

Tim



-- 
Tim Cross
The e-mail address on this message is FALSE (obviously!). My real e-mail is
to a company in Australia called rapttech and my login is tcross - if you 
really need to send mail, you should be able to work it out!


reply via email to

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