summaryrefslogtreecommitdiff
path: root/tex/context/base/xtag-ini.tex
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/xtag-ini.tex')
-rw-r--r--tex/context/base/xtag-ini.tex14
1 files changed, 7 insertions, 7 deletions
diff --git a/tex/context/base/xtag-ini.tex b/tex/context/base/xtag-ini.tex
index d7e01afd7..b6845a90c 100644
--- a/tex/context/base/xtag-ini.tex
+++ b/tex/context/base/xtag-ini.tex
@@ -386,12 +386,12 @@
% \def\disableXML
% {\setnormalcatcodes\processingXMLfalse}
-\letcatcodecommand\xmlcatcodesn `\& \doXMLentity
-\letcatcodecommand\xmlcatcodesn `\< \doXMLelement
-\letcatcodecommand\xmlcatcodese `\& \doXMLentity
-\letcatcodecommand\xmlcatcodese `\< \doXMLelement
-\letcatcodecommand\xmlcatcodesr `\& \doXMLentity
-\letcatcodecommand\xmlcatcodesr `\< \doXMLelement
+\defcatcodecommand\xmlcatcodese `\& \doXMLentity
+\defcatcodecommand\xmlcatcodese `\< \doXMLelement
+\defcatcodecommand\xmlcatcodesr `\& \doXMLentity
+\defcatcodecommand\xmlcatcodesr `\< \doXMLelement
+\defcatcodecommand\xmlcatcodesn `\& \doXMLentity
+\defcatcodecommand\xmlcatcodesn `\< \doXMLelement
\letcatcodecommand\xmlcatcodesr `\# \letterhash
\letcatcodecommand\xmlcatcodesr `\$ \letterdollar
@@ -403,7 +403,7 @@
\letcatcodecommand\xmlcatcodesr `\} \letterrightbrace
\letcatcodecommand\xmlcatcodesr `\| \letterbar
-\bgroup \catcode`\&=13
+\bgroup \catcode`\&=13 \let&\relax
\xdef\entityhash {&\string#035;}
\xdef\entitydollar {&\string#036;}