| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!DOCTYPE language> |
| 3 |
<language name="Troff Mandoc" section="Markup" version="2" kateversion="5.0" extensions="*.1;*.2;*.3;*.4;*.5;*.6;*.7;*.8;*.1m;*.3x;*.tmac" mimetype="" author="Matthew Woehlke ([email protected])" license="GPL"> |
| 4 |
|
| 5 |
<highlighting> |
| 6 |
|
| 7 |
<list name="headings"> |
| 8 |
<item>SH</item> |
| 9 |
<item>SS</item> |
| 10 |
<item>TH</item> |
| 11 |
</list> |
| 12 |
|
| 13 |
<list name="paragraph"> |
| 14 |
<item>HP</item> |
| 15 |
<item>IP</item> |
| 16 |
<item>LP</item> |
| 17 |
<item>P</item> |
| 18 |
<item>PD</item> |
| 19 |
<item>PP</item> |
| 20 |
<item>RE</item> |
| 21 |
<item>RS</item> |
| 22 |
<item>TP</item> |
| 23 |
</list> |
| 24 |
|
| 25 |
<list name="formatting"> |
| 26 |
<item>B</item> |
| 27 |
<item>BI</item> |
| 28 |
<item>BR</item> |
| 29 |
<item>I</item> |
| 30 |
<item>IB</item> |
| 31 |
<item>IR</item> |
| 32 |
<item>RB</item> |
| 33 |
<item>RI</item> |
| 34 |
<item>SM</item> |
| 35 |
<item>SB</item> |
| 36 |
</list> |
| 37 |
|
| 38 |
<list name="others"> |
| 39 |
<item>DT</item> |
| 40 |
</list> |
| 41 |
|
| 42 |
<contexts> |
| 43 |
|
| 44 |
<!-- root context --> |
| 45 |
<context name="Normal" attribute="Normal Text" lineEndContext="#stay"> |
| 46 |
<IncludeRules context="DetectComments##Roff"/> |
| 47 |
<DetectChar attribute="Macros" context="DetectDirective" char="." column="0"/> |
| 48 |
<IncludeRules context="DetectOthers##Roff"/> |
| 49 |
</context> |
| 50 |
|
| 51 |
<!-- directive start --> |
| 52 |
<context name="DetectDirective" attribute="Macros" lineEndContext="#pop"> |
| 53 |
<keyword attribute="Headings" context="Directive" String="headings"/> |
| 54 |
<keyword attribute="Paragraphs" context="Directive" String="paragraph"/> |
| 55 |
<keyword attribute="Formatting" context="Directive" String="formatting"/> |
| 56 |
<keyword attribute="Other Macros" context="Directive" String="others"/> |
| 57 |
<IncludeRules context="DetectDirective##Roff"/> |
| 58 |
</context> |
| 59 |
|
| 60 |
<context name="Directive" attribute="Identifier" lineEndContext="#pop"> |
| 61 |
<IncludeRules context="Directive##Roff"/> |
| 62 |
</context> |
| 63 |
|
| 64 |
</contexts> |
| 65 |
|
| 66 |
<itemDatas> |
| 67 |
<itemData name="Normal Text" defStyleNum="dsNormal"/> |
| 68 |
<itemData name="Macros" defStyleNum="dsFunction"/> |
| 69 |
<itemData name="Headings" defStyleNum="dsKeyword"/> |
| 70 |
<itemData name="Paragraphs" defStyleNum="dsDataType"/> |
| 71 |
<itemData name="Formatting" defStyleNum="dsKeyword"/> |
| 72 |
<itemData name="Other Macros" defStyleNum="dsFunction"/> |
| 73 |
<itemData name="Identifier" defStyleNum="dsString"/> |
| 74 |
</itemDatas> |
| 75 |
|
| 76 |
</highlighting> |
| 77 |
|
| 78 |
<general> |
| 79 |
|
| 80 |
<comments> |
| 81 |
<comment name="singleLine" start=".\"" /> |
| 82 |
</comments> |
| 83 |
|
| 84 |
<keywords casesensitive="1"/> |
| 85 |
|
| 86 |
</general> |
| 87 |
|
| 88 |
</language> |