Version: 1.9 (using KDE 3.3.2, (3.1)) Compiler: gcc version 3.3.5 (Debian 1:3.3.5-13) OS: Linux (i686) release 2.6.8-2-386 The editor within Kile should highlight cite commands (citeA, citeyear, ...) from the apacite package like LaTeX's normal cite command. See http://www.tug.org/tex-archive/biblio/bibtex/contrib/apacite/apacite.pdf in section 3 (page 10) for a list of all cite commands.
Hi, currently we don't have any additional cite commands implemented into the syntax file because we don't want to create a huge (and therefor resource hungry ) highlightning file. With KDE 4 it will be possible to highlight arbitrary text at runtime, and we will definitly use it to highlight custom commands. Until then you can edit the syntax file by yourself. The file is called latex.xml and resides in debian at /usr/share/apps/katepart/syntax/latex.xml. Alter the line <RegExpr String="\\(label|pageref|ref|vpageref|vref|cite)(?=[^a-zA-Z])" attribute="Structure" context="Label"/> to something like <RegExpr String="\\(label|pageref|ref|vpageref|vref|cite|mycite|mycite2)(?=[^a-zA-Z])" attribute="Structure" context="Label"/> ^^^^^^^^^^^^^^^ Regards, Thomas
I guess it will then be possible to create specific files for highlighting and specific functionality (like bringing up the citation pulldown menu) for popular LaTeX packages? (Which could be distributed with Kile or made by the users.) Or how is this going to be implemented?
The version 1.33 of the latex highlighting file supports much more cite commands as before. Our current idea is to support biblatex commands properly as this is in my eyes the future.