bug-auctex
[Top][All Lists]
Advanced

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

Re: [Bug-AUCTeX] syntax highliting


From: Ralf Angeli
Subject: Re: [Bug-AUCTeX] syntax highliting
Date: Wed, 16 Nov 2005 14:33:29 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

* Lukasz Stelmach (2005-11-15) writes:

> Ralf Angeli wrote:
>> * Lukasz Stelmach (2005-11-14) writes:
>> 
>>>auctex-11.81 doesn't recognize and highlight properly "\citeasnoun" and
>>>"\includegraphics" commands.
>> 
>> How do you define proper recognition and highlighting?
>
> \citeasnoun should get the same coulour as \cite

There currently is no provision for coloring \citeasnoun like this and
neither are there provisions for the rest of the macros defined in
harvard.sty.

I am a bit reluctant to add this.  Over time I've become more and more
unsure if we should use such a strong color for so many macros in
AUCTeX.  It can be a good indication that AUCTeX "knows" the macro,
but maybe it should not stand out so much.

In (info "(auctex)Font Locking") it is explained how you can give such
macros some color yourself.  Of course this will have an effect on all
LaTeX documents, not only those using harvard.sty.

> and \includegraphics
> should follow the behavior of e.g. \input, as these are pairs of somehow
> related commands. Instead \citeasnoun and \includegraphics appear in gray.

There already is support for \includegraphics.  You probably haven't
activated parsing as described on the first page of AUCTeX's manual.

>> BTW, please use `M-x TeX-submit-bug-report RET' for bug reporting.
> I will.

If you had included it in your last mail, I would have been able to
tell you exactly if you failed to activate parsing.

-- 
Ralf




reply via email to

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