auctex
[Top][All Lists]
Advanced

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

[AUCTeX] font lock user-defined commands


From: Hans Halvorson
Subject: [AUCTeX] font lock user-defined commands
Date: Thu, 05 Jul 2007 16:59:42 -0400
User-agent: Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.7 Emacs/22.1.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

Regarding font-locking of user-defined commands, I have tried to
follow the instructions in the manual, and I am still unable to get it
to work.  

As a test, I am trying to get "\defin" to highlight.  I have tried
both of the following in the custom variables in my .emacs:

(font-latex-user-keyword-classes (quote (("defin" ("defin") (:foreground 
"cyan") (command 1)))))

(font-latex-match-bold-command-keywords '("defin"))

Neither of these is making any difference -- "\defin" and
"\defin{foobar}" are still showing up in light gray.  What am I doing
wrong here?  (I am running AucTeX 11.84 on Emacs CVS 22.1.50.)

Thanks,
Hans




reply via email to

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