summaryrefslogtreecommitdiffstats
path: root/kate/data/latex.xml
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-10-19 22:31:56 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-10-19 22:31:56 -0500
commitbf94fa1cd02da4ac25a710440fc62170b5609e75 (patch)
treefab22c47297eec7df79885a6392468a6453c78e6 /kate/data/latex.xml
parenta151a4d477b5f9948ada98155ea9bcca7973748f (diff)
downloadtdelibs-bf94fa1cd02da4ac25a710440fc62170b5609e75.tar.gz
tdelibs-bf94fa1cd02da4ac25a710440fc62170b5609e75.zip
Update kate syntax highlighting files.
The cpp.xml now contains some TQ highlighting.
Diffstat (limited to 'kate/data/latex.xml')
-rw-r--r--kate/data/latex.xml15
1 files changed, 8 insertions, 7 deletions
diff --git a/kate/data/latex.xml b/kate/data/latex.xml
index f138b53d9..d15e8e429 100644
--- a/kate/data/latex.xml
+++ b/kate/data/latex.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
-<language name="LaTeX" version="1.47" section="Markup" kateversion="2.3" priority="10" extensions="*.tex;*.ltx;*.dtx;*.sty;*.cls;*.bbx;*.cbx;*.lbx;" mimetype="text/x-tex" casesensitive="1" author="Jeroen Wijnhout (Jeroen.Wijnhout@kdemail.net)+Holger Danielsson (holger.danielsson@versanet.de)+Michel Ludwig (michel.ludwig@kdemail.net)+Thomas Braun (thomas.braun@virtuell-zuhause.de)" license="LGPL" >
+<language name="LaTeX" version="1.48" section="Markup" kateversion="2.3" priority="10" extensions="*.tex;*.ltx;*.dtx;*.sty;*.cls;*.bbx;*.cbx;*.lbx;" mimetype="text/x-tex" casesensitive="1" author="Jeroen Wijnhout (Jeroen.Wijnhout@kdemail.net)+Holger Danielsson (holger.danielsson@versanet.de)+Michel Ludwig (michel.ludwig@kdemail.net)+Thomas Braun (thomas.braun@virtuell-zuhause.de)" license="LGPL" >
<highlighting>
<contexts>
<!-- Normal text -->
@@ -68,7 +68,7 @@
<context name="SectioningMathContrSeq" attribute="Structure Keyword Mathmode" lineEndContext="#pop">
<DetectChar char="&#xd7;" attribute="Bullet" context="#stay"/>
<RegExpr String="[a-zA-Z]+\*?" attribute="Structure Keyword Mathmode" context="#pop"/>
- <RegExpr String="[^a-zA-Z]" attribute="Structure Keyword Mathmode" context="#pop" />
+ <RegExpr String="[^a-zA-Z]" attribute="Structure Keyword Mathmode" context="#pop" />
</context>
<!-- LaTeX Footnote commands -->
@@ -339,11 +339,11 @@
<RegExpr String="\\end(?=\s*\{(tabularx|tabular|supertabular|mpsupertabular|xtabular|mpxtabular|longtable)\*?\})" attribute="Structure" context="TabFindEnd"/>
<IncludeRules context="Normal Text" />
</context>
-
+
<context name="Column Separator" attribute="Column Separator" lineEndContext="#stay">
<DetectChar char="{" attribute="Column Separator" context="Column Separator"/>
<DetectChar char="}" attribute="Column Separator" context="#pop"/>
- <RegExpr String="." attribute="Column Separator" context="#stay"/>
+ <RegExpr String="." attribute="Column Separator" context="#stay"/>
<!-- the last regexp is very stupid. Suggestions are welcome! Fallthrough did not help-->
</context>
@@ -405,7 +405,7 @@
<context name="MathContrSeq" attribute="Keyword Mathmode" lineEndContext="#pop">
<DetectChar char="&#xd7;" attribute="Bullet" context="#stay"/>
<RegExpr String="[a-zA-Z]+\*?" attribute="Keyword Mathmode" context="#pop"/>
- <RegExpr String="[^a-zA-Z]" attribute="Keyword Mathmode" context="#pop" />
+ <RegExpr String="[^a-zA-Z]" attribute="Keyword Mathmode" context="#pop" />
</context>
<!-- text in mathmode -->
@@ -414,7 +414,7 @@
</context>
<context name="MathModeTextParameterStart" attribute="Normal Text" lineEndContext="#stay" >
- <RegExpr String="\\." attribute="Normal Text" context="#stay"/>
+ <RegExpr String="\\." attribute="Normal Text" context="#stay"/>
<DetectChar char="&#xd7;" attribute="Bullet" context="#stay"/>
<RegExpr String="\$.*\$" minimal="true" attribute="Math" context="#stay"/>
<DetectChar char="{" attribute="Normal Text" context="MathModeTextParameter"/>
@@ -423,7 +423,7 @@
</context>
<context name="MathModeTextParameter" attribute="Normal Text" lineEndContext="#stay" >
- <RegExpr String="\\." attribute="Normal Text" context="#stay"/>
+ <RegExpr String="\\." attribute="Normal Text" context="#stay"/>
<DetectChar char="{" attribute="Normal Text" context="MathModeTextParameter"/>
<DetectChar char="}" attribute="Normal Text" context="#pop"/>
<DetectChar char="&#xd7;" attribute="Bullet" context="#stay"/>
@@ -588,6 +588,7 @@
<encoding char="&#255;" string="\&#34;{y}" />
<encoding char="&#255;" string="\&#34;y" />
<encoding string="''" ignored="true" />
+ <encoding string="\-" ignored="true" />
</encodings>
</spellchecking>
</language>