ZoneO-tips for Mandriva Linux

Kile and Natbib

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 citep as a keyword.
  • second, all authors in a citep command were included in the spellchecking.
Well, there is a way around it.

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
 
© ZoneO-soft - Contact us - Start page