I have just found out how to get rid of highlighting/spell checking commented text in kile. The problem lies in editing latex.xml file. You should be able to find this file in (in my ubuntu distro)
/usr/share/apps/katepart/syntax/latex.xml
or you can just download an updated version of this file from
resulting in ignoring comments by the spell checker. As you can see, almost all other environments are spell-check ignored. That's all, folks. I hope this post will be helpful.
Hello guys,
I have just found out how to get rid of highlighting/spell checking commented text in kile. The problem lies in editing latex.xml file. You should be able to find this file in (in my ubuntu distro)
/usr/share/ apps/katepart/ syntax/ latex.xml
or you can just download an updated version of this file from
https:/ /projects. kde.org/ projects/ kde/application s/kate/ repository/ revisions/ eea99f31dfe5c67 ca6a26e5bf48a89 7f9287a958/ raw/part/ syntax/ data/latex. xml
and save it to
~/.kde/ share/apps/ katepart/ syntax/ latex.xml
(This version also solves issues with highlighting of \citet{} and \citep{} commands.) Then open it and find the line (452. line) containing
<itemData name="Comment" defStyleNum= "dsComment" />
and replace it with
<itemData name="Comment" defStyleNum= "dsComment" spellChecking= "false" />
resulting in ignoring comments by the spell checker. As you can see, almost all other environments are spell-check ignored. That's all, folks. I hope this post will be helpful.
Regards,
petko