Warning, /frameworks/syntax-highlighting/autotests/reference/test.mkiv.ref is written in an unsupported language. File is not indexed.

0001 <Comment>% ConTeXt test file for Kate's syntax highlighting and code folding</Comment><br/>
0002 <Normal Text></Normal Text><br/>
0003 <Normal Text></Normal Text><br/>
0004 <Comment>%% Comments</Comment><br/>
0005 <Comment>%   This is a comment</Comment><br/>
0006 <Macro>\%</Macro><Normal Text>  Not a comment</Normal Text><br/>
0007 <Macro>\\</Macro><Comment>% This is a comment</Comment><br/>
0008 <Normal Text></Normal Text><br/>
0009 <Normal Text></Normal Text><br/>
0010 <Comment>%% Start/stop blocks</Comment><br/>
0011 <Block>\startsection</Block><br/>
0012 <Normal Text>Can be nested</Normal Text><br/>
0013 <Block>\startitemize</Block><br/>
0014 <Macro>\item</Macro><Normal Text> normal</Normal Text><br/>
0015 <Block>\stopitemize</Block><br/>
0016 <Normal Text>normal</Normal Text><br/>
0017 <Block>\stopsection</Block><br/>
0018 <Comment>% \startblock \stopblock should be comments</Comment><br/>
0019 <Normal Text></Normal Text><br/>
0020 <Normal Text></Normal Text><br/>
0021 <Comment>%% Commands</Comment><br/>
0022 <Macro>\def</Macro><Brace>{</Brace><Block>\startstuff</Block><Brace>}</Brace><br/>
0023 <Block>\startstuff</Block><Normal Text> should be normal command colour</Normal Text><br/>
0024 <Normal Text></Normal Text><br/>
0025 <Macro>\setupindenting</Macro><Normal Text>[yes, big]</Normal Text><br/>
0026 <Section>\section</Section><Brace>{</Brace><Normal Text>normal</Normal Text><Brace>}</Brace><br/>
0027 <Normal Text></Normal Text><br/>
0028 <Normal Text></Normal Text><br/>
0029 <Comment>%% Inline math</Comment><br/>
0030 <Block>$</Block><Math>equations are green, </Math><Macro>\commands</Macro><Math> somewhat darker</Math><br/>
0031 <Normal Text>it can also run over multiple lines</Normal Text><br/>
0032 <Comment>% Comment</Comment><br/>
0033 <Block>$</Block><br/>
0034 <Normal Text>normal</Normal Text><br/>
0035 <Block>\mathematics</Block><Brace>{</Brace><Math>equations are green, </Math><Macro>\commands</Macro><Math> somewhat darker</Math><br/>
0036 <Math>it can also run over multiple lines</Math><br/>
0037 <Macro>\mathematics</Macro><Brace>{</Brace><Math>nested math should be green</Math><Brace>}</Brace><Math> this should still be green</Math><br/>
0038 <Comment>% Comment</Comment><br/>
0039 <Brace>}</Brace><br/>
0040 <Normal Text>normal</Normal Text><br/>
0041 <Block>\math</Block><Brace>{</Brace><Math>equations are green, </Math><Macro>\commands</Macro><Math> somewhat darker</Math><br/>
0042 <Math>it can also run over multiple lines</Math><br/>
0043 <Macro>\math</Macro><Brace>{</Brace><Math>nested math should be green</Math><Brace>}</Brace><Math> this should still be green</Math><br/>
0044 <Comment>% Comment</Comment><br/>
0045 <Brace>}</Brace><br/>
0046 <Normal Text>normal</Normal Text><br/>
0047 <Block>\m</Block><Brace>{</Brace><Math>equations are green, </Math><Macro>\commands</Macro><Math> somewhat darker</Math><br/>
0048 <Math>it can also run over multiple lines</Math><br/>
0049 <Macro>\m</Macro><Brace>{</Brace><Math>nested math should be green</Math><Brace>}</Brace><Math> this should still be green</Math><br/>
0050 <Comment>% Comment</Comment><br/>
0051 <Brace>}</Brace><br/>
0052 <Normal Text>normal</Normal Text><br/>
0053 <Block>\mathematics</Block><Math> the first character should be green </Math><Brace>{}</Brace><br/>
0054 <Block>\math</Block><Math>        the first character should be green </Math><Brace>{}</Brace><br/>
0055 <Block>\m</Block><Math>           the first character should be green </Math><Brace>{}</Brace><br/>
0056 <Normal Text>normal</Normal Text><br/>
0057 <Comment>% $should$ \mathematics{still} \math{be} \m{commented}</Comment><br/>
0058 <Normal Text></Normal Text><br/>
0059 <Normal Text></Normal Text><br/>
0060 <Comment>%% Display math</Comment><br/>
0061 <Block>$$</Block><br/>
0062 <Math>equations are green, </Math><Macro>\commands</Macro><Math> somewhat darker</Math><br/>
0063 <Math>it can also run over multiple lines</Math><br/>
0064 <Comment>% Comment</Comment><br/>
0065 <Block>$$</Block><br/>
0066 <Normal Text>normal</Normal Text><br/>
0067 <Block>\startformula</Block><br/>
0068 <Math>equations are green, </Math><Macro>\commands</Macro><Math> somewhat darker</Math><br/>
0069 <Math>it can also run over multiple lines</Math><br/>
0070 <Comment>% Comment</Comment><br/>
0071 <Math></Math><br/>
0072 <Math>Nested formulae should not work</Math><br/>
0073 <Math>The following should be red:</Math><br/>
0074 <Error>\startformula</Error><br/>
0075 <Math>Should still be math colour</Math><br/>
0076 <Block>\stopformula</Block><br/>
0077 <Normal Text>normal</Normal Text><br/>
0078 <Normal Text></Normal Text><br/>
0079 <Comment>%% Verbatim</Comment><br/>
0080 <Block>\starttyping</Block><br/>
0081 <Verbatim>All text in here should be verbatim colour</Verbatim><br/>
0082 <Verbatim>% This should not be a comment</Verbatim><br/>
0083 <Verbatim>&@@#^%&^#$</Verbatim><br/>
0084 <Verbatim></Verbatim><br/>
0085 <Verbatim>Nested typing should be displayed in verbatim colour</Verbatim><br/>
0086 <Block>\starttyping</Block><br/>
0087 <Block>\stoptyping</Block><br/>
0088 <Verbatim>should still be verbatim colour</Verbatim><br/>
0089 <Verbatim>% This should not be a comment</Verbatim><br/>
0090 <Block>\stoptyping</Block><br/>
0091 <Normal Text></Normal Text><br/>
0092 <Normal Text>normal</Normal Text><br/>
0093 <Normal Text></Normal Text><br/>
0094 <Normal Text></Normal Text><br/>
0095 <Comment>%% Tables</Comment><br/>
0096 <Block>\starttabulate</Block><Normal Text>[|c|c|c|]</Normal Text><br/>
0097 <Macro>\FL</Macro><br/>
0098 <Macro>\NC</Macro><Normal Text> header1 </Normal Text><Macro>\NC</Macro><Normal Text> header2 </Normal Text><Macro>\NC</Macro><Normal Text> header3 </Normal Text><Macro>\NR</Macro><br/>
0099 <Macro>\ML</Macro><br/>
0100 <Macro>\NC</Macro><Normal Text> value1 </Normal Text><Macro>\NC</Macro><Normal Text> value2 </Normal Text><Macro>\NC</Macro><Normal Text> value3 </Normal Text><Macro>\NR</Macro><br/>
0101 <Macro>\NC</Macro><Normal Text> value4 </Normal Text><Macro>\NC</Macro><Normal Text> value5 </Normal Text><Macro>\NC</Macro><Normal Text> value6 </Normal Text><Macro>\NR</Macro><br/>
0102 <Macro>\BL</Macro><br/>
0103 <Block>\stoptabulate</Block><br/>
0104 <Normal Text></Normal Text><br/>
0105 <Normal Text>Commands for TABLE environment (</Normal Text><Block>\bTABLE</Block><Normal Text> and </Normal Text><Block>\eTABLE</Block><Normal Text>, </Normal Text><Block>\bTD</Block><Normal Text> and </Normal Text><Block>\eTD</Block><Normal Text>, etc.) should emulate start/stop blocks</Normal Text><br/>
0106 <Block>\bTABLE</Block><Normal Text>[split=yes]</Normal Text><br/>
0107 <Normal Text>  </Normal Text><Block>\bTR</Block><Normal Text> </Normal Text><Block>\bTD</Block><Normal Text> value1 </Normal Text><Block>\eTD</Block><Normal Text> </Normal Text><Block>\bTD</Block><Normal Text> value2 </Normal Text><Block>\eTD</Block><Normal Text> </Normal Text><Block>\bTD</Block><Normal Text> value3 </Normal Text><Block>\eTD</Block><Normal Text> </Normal Text><Block>\eTR</Block><br/>
0108 <Normal Text>  </Normal Text><Block>\bTR</Block><Normal Text> </Normal Text><Block>\bTD</Block><Normal Text> value4 </Normal Text><Block>\eTD</Block><Normal Text> </Normal Text><Block>\bTD</Block><Normal Text> value5 </Normal Text><Block>\eTD</Block><Normal Text> </Normal Text><Block>\bTD</Block><Normal Text> value6 </Normal Text><Block>\eTD</Block><Normal Text> </Normal Text><Block>\eTR</Block><br/>
0109 <Block>\eTABLE</Block><br/>
0110 <Normal Text></Normal Text><br/>
0111 <Block>\startxtable</Block><br/>
0112 <Normal Text>  </Normal Text><Block>\startxrow</Block><br/>
0113 <Normal Text>    </Normal Text><Block>\startxcell</Block><Normal Text> value1 </Normal Text><Block>\stopxcell</Block><br/>
0114 <Normal Text>    </Normal Text><Block>\startxcell</Block><Normal Text> value2 </Normal Text><Block>\stopxcell</Block><br/>
0115 <Normal Text>  </Normal Text><Block>\stopxrow</Block><br/>
0116 <Normal Text>  </Normal Text><Block>\startxrow</Block><br/>
0117 <Normal Text>    </Normal Text><Block>\startxcell</Block><Normal Text> value3 </Normal Text><Block>\stopxcell</Block><br/>
0118 <Normal Text>    </Normal Text><Block>\startxcell</Block><Normal Text> value5 </Normal Text><Block>\stopxcell</Block><br/>
0119 <Normal Text>  </Normal Text><Block>\stopxrow</Block><br/>
0120 <Block>\stopxtable</Block><br/>