summaryrefslogtreecommitdiff
path: root/tex/context/base/strc-sbe.mkiv
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2010-11-12 18:22:00 +0100
committerHans Hagen <pragma@wxs.nl>2010-11-12 18:22:00 +0100
commit953cd0a613be25ad37baaa745758862262e46395 (patch)
treed599c351e258d4ef3257b1de3912ad5843ae6dfc /tex/context/base/strc-sbe.mkiv
parent026f0c26fedd2cd2b96ff9eca5ec7961956b3630 (diff)
downloadcontext-953cd0a613be25ad37baaa745758862262e46395.tar.gz
beta 2010.11.12 18:22
Diffstat (limited to 'tex/context/base/strc-sbe.mkiv')
-rw-r--r--tex/context/base/strc-sbe.mkiv8
1 files changed, 6 insertions, 2 deletions
diff --git a/tex/context/base/strc-sbe.mkiv b/tex/context/base/strc-sbe.mkiv
index 75d78d48b..e9d8d9c1a 100644
--- a/tex/context/base/strc-sbe.mkiv
+++ b/tex/context/base/strc-sbe.mkiv
@@ -56,9 +56,13 @@
\setvalue {\e!start#2}{\startstructureblock[#1]}%
\setvalue {\e!stop #2}{\stopstructureblock}}
+\ifdefined \resetallstructuremarks \else
+ \let\resetallstructuremarks\relax
+\fi
+
\appendtoks
\doifsomething{\structureblockparameter\c!page}{\page[\structureblockparameter\c!page]}%
-% TODO \resetsectionmarks\zerosection
+ \resetallstructuremarks
\getstructureblockenvironment\currentstructureblock
\structureblockparameter\c!before % don't move
\dostarttagged\t!division\currentstructureblock
@@ -68,7 +72,7 @@
\structureblockparameter\c!after % don't move
\doifsomething{\structureblockparameter\c!page}{\page[\structureblockparameter\c!page]}%
\dostoptagged
-% TODO \resetsectionmarks\zerosection
+ \resetallstructuremarks
\to \everyafterstructureblock
\def\dosetupstructureblock[#1]%