Kile does not recognize the \citep keyword from Natbib! What can I do?
Kile, the TeX/LaTeX editor for the KDE became pretty good now, and I'm on the way of giving up emacs for my editing.
There was something I found annoying, though, especially when editing a file with the Natbib bibliographic style, for journals such as those from AGU:
- first, it did not recognize
citepas a keyword. - second, all authors in a
citepcommand were included in the spellchecking.
To change the synthax highlighting, you can edit the file
/path/to/kde/share/apps/katepart/syntax/latex.xml
where /path/to/kde is given by
kde-config --prefix
and add citep everywhere you can find cite.
For the spellchecking, create a file .aspell.conf in your home directory and include the line
add-tex-command citep p
And you should be done...
12/2004
Edited and reformated 12/2005
Edited and reformated 12/2005
Mattias, 13 July 2007
Thanks!
Great tip. For me it works from the "Tools" menu as well.
ZoneO, 14 January 2005
By the way, this only works properly if you start spellchecking from the menu "Edit". If you start the spellchecking from "Tools", you end up spellchecking LaTeX commands...