1 <?xml version="1.0"?>
\r
3 <!DOCTYPE MODE SYSTEM "xmode.dtd">
\r
7 <PROPERTY NAME="lineComment" VALUE="%" />
\r
8 <PROPERTY NAME="wordBreakChars" VALUE="{}" />
\r
10 <RULES IGNORE_CASE="FALSE">
\r
12 <SPAN TYPE="MARKUP" DELEGATE="MATH">
\r
18 <SPAN TYPE="MARKUP" DELEGATE="MATH">
\r
23 <!-- \[...\] (LaTeX math mode) -->
\r
24 <SPAN TYPE="MARKUP" DELEGATE="MATH">
\r
29 <!-- some commands must be handled specially -->
\r
30 <SEQ TYPE="KEYWORD1">\$</SEQ>
\r
31 <SEQ TYPE="KEYWORD1">\\</SEQ>
\r
32 <SEQ TYPE="KEYWORD1">\%</SEQ>
\r
34 <!-- \iffalse ... \fi - a block comment -->
\r
35 <SPAN TYPE="COMMENT1">
\r
36 <BEGIN>\iffalse</BEGIN>
\r
40 <!-- \begin{verbatim} ... \end{verbatim} -->
\r
41 <SPAN TYPE="KEYWORD1" DELEGATE="VERBATIM">
\r
42 <BEGIN>\begin{verbatim}</BEGIN>
\r
43 <END>\end{verbatim}</END>
\r
46 <!-- \verb|sometext| -->
\r
47 <SPAN TYPE="KEYWORD1" DELEGATE="VERBATIM"
\r
48 NO_LINE_BREAK="TRUE">
\r
49 <BEGIN>\verb|</BEGIN>
\r
52 <!-- \... commands -->
\r
53 <MARK_FOLLOWING TYPE="KEYWORD1">\</MARK_FOLLOWING>
\r
56 <EOL_SPAN TYPE="COMMENT1">%</EOL_SPAN>
\r
58 <!-- word separators -->
\r
59 <SEQ TYPE="OPERATOR">{</SEQ>
\r
60 <SEQ TYPE="OPERATOR">}</SEQ>
\r
61 <SEQ TYPE="OPERATOR">[</SEQ>
\r
62 <SEQ TYPE="OPERATOR">]</SEQ>
\r
65 <RULES SET="MATH" DEFAULT="MARKUP">
\r
66 <!-- some commands must be handled specially -->
\r
67 <SEQ TYPE="KEYWORD3">\$</SEQ>
\r
68 <SEQ TYPE="KEYWORD3">\\</SEQ>
\r
69 <SEQ TYPE="KEYWORD3">\%</SEQ>
\r
71 <!-- \... commands -->
\r
72 <MARK_FOLLOWING TYPE="KEYWORD3">\</MARK_FOLLOWING>
\r
74 <!-- word separators -->
\r
75 <SEQ TYPE="KEYWORD2">)</SEQ>
\r
76 <SEQ TYPE="KEYWORD2">(</SEQ>
\r
77 <SEQ TYPE="KEYWORD2">{</SEQ>
\r
78 <SEQ TYPE="KEYWORD2">}</SEQ>
\r
79 <SEQ TYPE="KEYWORD2">[</SEQ>
\r
80 <SEQ TYPE="KEYWORD2">]</SEQ>
\r
81 <SEQ TYPE="KEYWORD2">=</SEQ>
\r
82 <SEQ TYPE="KEYWORD2">!</SEQ>
\r
83 <SEQ TYPE="KEYWORD2">+</SEQ>
\r
84 <SEQ TYPE="KEYWORD2">-</SEQ>
\r
85 <SEQ TYPE="KEYWORD2">/</SEQ>
\r
86 <SEQ TYPE="KEYWORD2">*</SEQ>
\r
87 <SEQ TYPE="KEYWORD2">></SEQ>
\r
88 <SEQ TYPE="KEYWORD2"><</SEQ>
\r
89 <SEQ TYPE="KEYWORD2">&</SEQ>
\r
90 <SEQ TYPE="KEYWORD2">|</SEQ>
\r
91 <SEQ TYPE="KEYWORD2">^</SEQ>
\r
92 <SEQ TYPE="KEYWORD2">~</SEQ>
\r
93 <SEQ TYPE="KEYWORD2">.</SEQ>
\r
94 <SEQ TYPE="KEYWORD2">,</SEQ>
\r
95 <SEQ TYPE="KEYWORD2">;</SEQ>
\r
96 <SEQ TYPE="KEYWORD2">?</SEQ>
\r
97 <SEQ TYPE="KEYWORD2">:</SEQ>
\r
98 <SEQ TYPE="KEYWORD2">'</SEQ>
\r
99 <SEQ TYPE="KEYWORD2">"</SEQ>
\r
100 <SEQ TYPE="KEYWORD2">`</SEQ>
\r
103 <EOL_SPAN TYPE="COMMENT1">%</EOL_SPAN>
\r
106 <RULES SET="VERBATIM" DEFAULT="NULL" />
\r