I wanted to adapt the Kate LaTeX Syntax Highlighting file (in my case: /usr/share/kde4/apps/katepart/syntax/latex.xml
), to have a different highlighting in Kile, as in the answer to disable syntax highlighting in kile. Before that, I made a copy of the original file.
But my intended change did not work and also the Syntax Highlighting in some LaTeX documents didn't work any more, after restarting Kile. Interestingly, some documents highlighted still in the original way, but those that were edited last, not.
Hence, I wanted to switch back to the original version and just moved the backup copy I had made to the original place. However, after restarting the computer, the Syntax Highlighting still does not work. When in Kile, I click "Tools"
-> "Highlighting"
-> "Markup"
, but there is no Latex to be selected. In Kate, I cannot select Latex either.
What did I do wrong?! Do I have to do something else to make Kate & Kile recognize the file?! It has the same permissions as the other files in the folder.
I tried to resolve my problem by downloading the latex.xml file from the Kate repository, but also this file does not change anything.