summaryrefslogtreecommitdiff
path: root/tex/context/base/xtag-rng.tex
blob: a3a529f7f015b2aa3c69fcfa8adabda65b202c6b (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 \starttypen 
%D \showRNGcomponent [eximple.rng] [request]
%D \stoptypen
%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