summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/strc-num.mkxl
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/strc-num.mkxl')
-rw-r--r--tex/context/base/mkxl/strc-num.mkxl2
1 files changed, 2 insertions, 0 deletions
diff --git a/tex/context/base/mkxl/strc-num.mkxl b/tex/context/base/mkxl/strc-num.mkxl
index 1eb4f605d..02674bce2 100644
--- a/tex/context/base/mkxl/strc-num.mkxl
+++ b/tex/context/base/mkxl/strc-num.mkxl
@@ -83,6 +83,8 @@
\permanent\def\strc_counters_way #1{\clf_way{\namedcounterparameter{#1}\c!way}}
\permanent\def\thenamedcounterlevel#1{\xthenamedheadlevel{\clf_way{\namedcounterparameter{#1}\c!way}}}
+\mutable\let\currentcounterlevel\!!zerocount % yes or no public ?
+
\protected\def\strc_counters_check_setup
{\edef\p_name{\directcounterparameter\s!name}%
\ifx\currentcounter\p_name