* 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 _______________________________________________ bug-auctex mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-auctex
