diff options
Diffstat (limited to 'tex/context/base/strc-sbe.mkiv')
-rw-r--r-- | tex/context/base/strc-sbe.mkiv | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tex/context/base/strc-sbe.mkiv b/tex/context/base/strc-sbe.mkiv index 7db3cedb0..7b13e860b 100644 --- a/tex/context/base/strc-sbe.mkiv +++ b/tex/context/base/strc-sbe.mkiv @@ -78,7 +78,8 @@ \let\currentstructureblock\s!unknown \def\startstructureblock[#1]% - {\begingroup + {%\ctxlua{structure.counters.check(0)}% we assume sane usage of \page, as this is the only workable place (in push) + \begingroup \edef\currentstructureblock{\ctxlua{structure.sections.pushblock("#1")}}% \csname #1true\endcsname % for old times sake \setsystemmode\currentstructureblock |