summaryrefslogtreecommitdiff
path: root/tex/context/base/xtag-run.tex
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2003-03-03 00:00:00 +0100
committerHans Hagen <pragma@wxs.nl>2003-03-03 00:00:00 +0100
commit76c1d3fbb08e9b34c68f4b326b538f5802802500 (patch)
tree7a2111798bfa0ac208caa249510c8135dace8059 /tex/context/base/xtag-run.tex
parent94506ae16cbb3851986ebf900316894301f46667 (diff)
downloadcontext-76c1d3fbb08e9b34c68f4b326b538f5802802500.tar.gz
stable 2003.03.03
Diffstat (limited to 'tex/context/base/xtag-run.tex')
-rw-r--r--tex/context/base/xtag-run.tex14
1 files changed, 14 insertions, 0 deletions
diff --git a/tex/context/base/xtag-run.tex b/tex/context/base/xtag-run.tex
index 759513890..b8ba2b36e 100644
--- a/tex/context/base/xtag-run.tex
+++ b/tex/context/base/xtag-run.tex
@@ -228,6 +228,20 @@
\processcommalist[#1]\dodoprocessXMLbuffer
\egroup}}
+\gdef\showXMLtext#1%
+ {\bgroup
+ \dontcomplain
+ \XMLlevel\maxcard
+ \increment\@@xfniveau % hack
+ \tttf
+ \ifautoXMLshow \let\executeXMLelement\autoshowXMLelement \fi
+ \let\executeXMLentity\@XMLentity
+ \let\par\allowbreak\let\endgraf\par
+ \setbox\scratchbox\hbox
+ {\enableXML\verbatimXML\scantokens{#1}\removelastskip}%
+ \unhbox\scratchbox
+ \egroup}
+
%D
\gdef\showXSDcomponent