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/applications/kate/repository/revisions/eea99f31dfe5c67ca6a26e5bf48a897f9287a958/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

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kile in Ubuntu.
https://bugs.launchpad.net/bugs/380860

Title:
  kile spell checker not aware of latex

To manage notifications about this bug go to:
https://bugs.launchpad.net/kile/+bug/380860/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to