summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/back-exp.mkxl
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/back-exp.mkxl')
-rw-r--r--tex/context/base/mkxl/back-exp.mkxl6
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/base/mkxl/back-exp.mkxl b/tex/context/base/mkxl/back-exp.mkxl
index 3c8c23c59..ff0602aee 100644
--- a/tex/context/base/mkxl/back-exp.mkxl
+++ b/tex/context/base/mkxl/back-exp.mkxl
@@ -15,6 +15,8 @@
\writestatus{loading}{ConTeXt Backend Macros / XML export}
+\newinteger\tagparcounter
+
\registerctxluafile{back-exp} {autosuffix}
\registerctxluafile{back-exp-imp-tag}{autosuffix}
\registerctxluafile{back-exp-imp-mth}{autosuffix}
@@ -49,8 +51,6 @@
\expandafter\ctxcommand
\fi}
-\newcount\tagparcounter
-
\permanent\protected\lettonothing\dotagsetparcounter
\permanent\protected\lettonothing\doresetparcounter
@@ -158,7 +158,7 @@
\appendtoks
\enforced\permanent\protected\def\dotagsetparcounter
- {\global\advance\tagparcounter\plusone\c_attr_taggedpar\tagparcounter}%
+ {\global\advanceby\tagparcounter\plusone\c_attr_taggedpar\tagparcounter}%
\enforced\permanent\protected\def\doresetparcounter
{\c_attr_taggedpar\attributeunsetvalue}%
\to \everyenableelements