summaryrefslogtreecommitdiff
path: root/tex/context/base/xtag-rng.tex
blob: 524bba2d1ef4c05e006b71974853914a1ddc35cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
%D \module
%D   [       file=xtag-rng,
%D        version=2002.10.29,
%D          title=\CONTEXT\ XML Support,
%D       subtitle=Relax NG, 
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA / Hans Hagen \& Ton Otten}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

\unprotect 

%D The following commands picks up a named block from the
%D given file and pretty prints it. 
%D
%D \starttyping 
%D \showRNGcomponent [eximple.rng] [request]
%D \stoptyping
%D
%D If needed, you adapt the colors used by redefining the
%D \type {xtag} color palet. 

\fetchruntimecommand\showRNGcomponent {\f!xtagprefix\s!run}

\protect \endinput