buff-imp-parsed-xml.mkiv /size: 1428 b    last modification: 2020-07-01 14:35
1%D \module
2%D   [       file=buff-imp-parsed-xml,
3%D        version=2010.10.19,
4%D          title=\CONTEXT\ Visualizer Macros,
5%D       subtitle=Parsed \XML,
6%D         author=Hans Hagen,
7%D           date=\currentdate,
8%D      copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
9%C
10%C This module is part of the \CONTEXT\ macro||package and is
11%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
12%C details.
13
14% todo: color specific elements
15
16\registerctxluafile{buff-imp-parsed-xml}{}
17
18\unprotect
19
20\definestartstop
21    [ParsedXmlSnippet]
22    [%\c!before=\blank,
23     %\c!after=\blank,
24     \c!style=\tt]
25
26\definestartstop
27    [ParsedXmlSnippetDocType]
28    [\c!style=boldface,
29     \c!color=darkgreen]
30
31\definestartstop
32    [ParsedXmlSnippetElement]
33    [\c!style=boldface,
34     \c!color=darkblue]
35
36\definestartstop
37    [ParsedXmlSnippetInstruction]
38    [\c!style=boldface,
39     \c!color=darkgreen]
40
41\definestartstop
42    [ParsedXmlSnippetCdata]
43    [\c!style=boldface,
44     \c!color=darkgreen]
45
46\definestartstop
47    [ParsedXmlSnippetComment]
48    [\c!style=boldface,
49     \c!color=darkgreen]
50
51\definestartstop
52    [ParsedXmlSnippetKey]
53    [\c!style=boldface,
54     \c!color=darkred]
55
56% \definestartstop
57%     [ParsedXmlSnippetQuote]
58%     [\c!style=,
59%      \c!color=]
60
61\definestartstop
62    [ParsedXmlSnippetValue]
63    [\c!style=,
64     \c!color=]
65
66\definetyping
67    [PARSEDXML]
68    [option=parsed-xml]
69
70\protect \endinput
71