bug-auctex
[Top][All Lists]
Advanced

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

Re: [Bug-AUCTeX] Problems with Font-latex-user-keyword-classes


From: Ralf Angeli
Subject: Re: [Bug-AUCTeX] Problems with Font-latex-user-keyword-classes
Date: Tue, 27 Apr 2010 19:08:26 +0200

* Martin Sjöstrand (2010-04-27) writes:

> I'm having serious problems with highlighting the keyword \footcite and
> is hoping that someone can help me.
>
> First of all, I have read the description but still can't get it to
> work. 
> I have specified the name: footcite
> the keyword:footcite (omitting the \)
> then I have set the face attribute: Foreground: green
> and value: Command with arguments.
>
> Now, only \footcite gets highlighted, but in red. How do I highlight the
> arguments? I have succeded before but can't get it to work now... 

Use the "Keywords with specs" option.  If you don't, then the macro
argument will not be highlighted.  (This is sort of configurable with
the internal(!) variable `font-latex-command-with-args-default-spec' but
I found it too risky to enable it by default because the format
specifier is also used for indicating a wrong number of arguments.)
Admittedly this is not really apparent from the description of
`font-latex-user-keyword-classes'.

-- 
Ralf




reply via email to

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