summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/strc-xml.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/strc-xml.mkiv')
-rw-r--r--Master/texmf-dist/tex/context/base/strc-xml.mkiv8
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/context/base/strc-xml.mkiv b/Master/texmf-dist/tex/context/base/strc-xml.mkiv
index 7a009958597..9696c2e06c2 100644
--- a/Master/texmf-dist/tex/context/base/strc-xml.mkiv
+++ b/Master/texmf-dist/tex/context/base/strc-xml.mkiv
@@ -13,12 +13,14 @@
\writestatus{loading}{ConTeXt Structure Macros / XML Processing}
+% This might disappear.
+
\unprotect
\startxmlsetups xml:ctx:internal:setup
- \xmlsetsetup{\xmldocument}{ctx:genericentry} {xml:ctx:genericentry}
- \xmlsetsetup{\xmldocument}{ctx:sectionentry} {xml:ctx:sectionentry}
- \xmlsetsetup{\xmldocument}{ctx:registerentry}{xml:ctx:registerentry}
+ \xmlsetsetup{#1}{ctx:genericentry} {xml:ctx:genericentry}
+ \xmlsetsetup{#1}{ctx:sectionentry} {xml:ctx:sectionentry}
+ \xmlsetsetup{#1}{ctx:registerentry}{xml:ctx:registerentry}
\stopxmlsetups
\xmlregistersetup{xml:ctx:internal:setup}