| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!DOCTYPE language> |
| 3 |
<language name="GlossTex" version="3" kateversion="5.79" extensions="*.gdf" section="Markup" mimetype="text/x-gdf" casesensitive="1" author="Thomas Braun([email protected])" license="LGPL"> |
| 4 |
<highlighting> |
| 5 |
<contexts> |
| 6 |
<context name="Comment" attribute="Comment" lineEndContext="#stay"> |
| 7 |
<StringDetect String="@entry" attribute="Entry" context="Entry"/> |
| 8 |
</context> |
| 9 |
<context name="Entry" attribute="Entry" lineEndContext="#pop"> |
| 10 |
<DetectChar char="{" attribute="Normal Text" context="Label"/> |
| 11 |
<DetectChar char="}" attribute="Normal Text" context="Text"/> |
| 12 |
</context> |
| 13 |
<context name="Label" attribute="Label" lineEndContext="#pop"> |
| 14 |
<DetectChar char="," attribute="Normal Text" context="Abbrev"/> |
| 15 |
<DetectChar char="}" attribute="Normal Text" context="Text"/> |
| 16 |
</context> |
| 17 |
<context name="Abbrev" attribute="Abbrev" lineEndContext="#pop"> |
| 18 |
<RegExpr String="\{[^\{\}]*\}" attribute="Abbrev" context="#stay"/> |
| 19 |
<DetectChar char="," attribute="Normal Text" context="Full"/> |
| 20 |
<DetectChar char="}" attribute="Normal Text" context="Text"/> |
| 21 |
</context> |
| 22 |
<context name="Full" attribute="Full" lineEndContext="#pop"> |
| 23 |
<RegExpr String="\{[^\{\}]*\}" attribute="Full" context="#stay"/> |
| 24 |
<DetectChar char="}" attribute="Normal Text" context="Text"/> |
| 25 |
</context> |
| 26 |
<context name="Text" attribute="Normal Text" lineEndContext="Comment"> |
| 27 |
<IncludeRules context="##LaTeX" includeAttrib="true"/> |
| 28 |
</context> |
| 29 |
</contexts> |
| 30 |
<itemDatas> |
| 31 |
<itemData name="Normal Text" defStyleNum="dsNormal"/> |
| 32 |
<itemData name="Comment" defStyleNum="dsComment"/> |
| 33 |
<itemData name="Entry" defStyleNum="dsVariable"/> |
| 34 |
<itemData name="Label" defStyleNum="dsDataType"/> |
| 35 |
<itemData name="Abbrev" defStyleNum="dsOthers"/> |
| 36 |
<itemData name="Full" defStyleNum="dsString"/> |
| 37 |
</itemDatas> |
| 38 |
</highlighting> |
| 39 |
<general> |
| 40 |
<keywords casesensitive="0" weakDeliminator="\" wordWrapDeliminator=",{}[]"/> |
| 41 |
<comments> |
| 42 |
<comment name="singleLine" start="%" /> |
| 43 |
</comments> |
| 44 |
</general> |
| 45 |
</language> |