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 21:53:46 +0200

Please keep the mailing list copied!

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

> I load the natbib package in my main tex file, but I input separate  
> files for chapters. As you say the specific macros gets correctly  
> highlighted in the main file whereas they are unaffected in other  
> files where natbib is not explicitly loaded.

That should still work.  At least if AUCTeX is able to find the master
file.  This should be given as a file variable, e.g. like this:

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: "master"
%%% End: 

> The value of font-latex-user-keyword-classes is currently:
>
> (("testkey"
>    (("citet" ""))
>    (:foreground "DarkCyan")
>    command))

The entry for \citet is lacking a format specifier.

-- 
Ralf



reply via email to

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