auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] user-keyword-class


From: Ralf Angeli
Subject: Re: [AUCTeX] user-keyword-class
Date: Tue, 03 Aug 2010 20:22:08 +0200

* Per Eriksson (2010-08-03) writes:

> I'm using auctex 11.85 on aquamacs 1.9 and I have recently tried to
> make my own keyword classes for highlighting latex syntax such as
> \citet{}, \citep{} and \citealp{}.

Are you loading the natbib package in your file?  If this is the case
and AUCTeX is configured to parse the contents of files, then the macros
you mentioned above should be highlighted by default.

> I have used the semi-graphical interface to add a  
> "keyword with specs" as an "command with arguments" ordering a  
> foreground color change. This has resulted in that the keyword (e.g.  
> \citet) is highlighted in purple while the argument(s) "[...]{...}"  
> remain text black and not colored as I ordered.
>
> Do anyone know why this happens and how to get the correct syntax  
> highlighting on user added keyword ?

What is the exact value of `font-latex-user-keyword-classes' now?

-- 
Ralf



reply via email to

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