summaryrefslogtreecommitdiff
path: root/tex/context/base/xtag-ini.tex
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2005-06-21 00:00:00 +0200
committerHans Hagen <pragma@wxs.nl>2005-06-21 00:00:00 +0200
commitdddd4cf24fcf8ef5f9c76acb7da468f502cd0bcd (patch)
tree868075883ed03d7c02bc2860a53ffb25b93e4ce5 /tex/context/base/xtag-ini.tex
parentdfec7488b8da12222bdaa42df6f5585b2b89fd70 (diff)
downloadcontext-dddd4cf24fcf8ef5f9c76acb7da468f502cd0bcd.tar.gz
stable 2005.06.21
Diffstat (limited to 'tex/context/base/xtag-ini.tex')
-rw-r--r--tex/context/base/xtag-ini.tex37
1 files changed, 25 insertions, 12 deletions
diff --git a/tex/context/base/xtag-ini.tex b/tex/context/base/xtag-ini.tex
index 49104030a..a3a83a918 100644
--- a/tex/context/base/xtag-ini.tex
+++ b/tex/context/base/xtag-ini.tex
@@ -307,17 +307,30 @@
.catcode`.|=.@@active
E
-.gdef.entitleXMLescapetokens
- B.activateXMLescapetokens
- .def#B&tex-hash;E*
- .def$B&tex-dollar;E*
- .def%B&tex-percent;E*
- .def\B&tex-backslash;E*
- .def^B&tex-hat;E*
- .def_B&tex-underscore;E*
- .def{B&tex-leftbrace;E*
- .def}B&tex-rightbrace;E*
- .def|B&tex-bar;E*
+* .gdef.entitleXMLescapetokens
+* B.activateXMLescapetokens
+* .def#B&tex-hash;E*
+* .def$B&tex-dollar;E*
+* .def%B&tex-percent;E*
+* .def\B&tex-backslash;E*
+* .def^B&tex-hat;E*
+* .def_B&tex-underscore;E*
+* .def{B&tex-leftbrace;E*
+* .def}B&tex-rightbrace;E*
+* .def|B&tex-bar;E*
+* E
+
+.xdef.entitleXMLescapetokens
+ B.noexpand.activateXMLescapetokens
+ .noexpand.def.noexpand#B.noexpand&.string#035;E*
+ .noexpand.def.noexpand$B.noexpand&.string#036;E*
+ .noexpand.def.noexpand%B.noexpand&.string#037;E*
+ .noexpand.def.noexpand\B.noexpand&.string#092;E*
+ .noexpand.def.noexpand^B.noexpand&.string#094;E*
+ .noexpand.def.noexpand_B.noexpand&.string#095;E*
+ .noexpand.def.noexpand{B.noexpand&.string#123;E*
+ .noexpand.def.noexpand}B.noexpand&.string#125;E*
+ .noexpand.def.noexpand|B.noexpand&.string#124;E*
E
.gdef.reduceXMLescapetokens
@@ -883,7 +896,7 @@
% \fi}
\def\XMLpureancestor#1%
- {\ifnum\numexpr\XMLdepth-#1\relax>\zerocount
+ {\ifcase\numexpr\XMLdepth-#1\relax\or
\csname\@@XMLdepth:\the\numexpr\XMLdepth-#1\relax\endcsname
\fi}