diff options
author | Hans Hagen <pragma@wxs.nl> | 2018-09-26 15:15:30 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2018-09-26 15:15:30 +0200 |
commit | d6c24a529d922ac67d2a30595c52b6b9547dce77 (patch) | |
tree | 9143971200bbe13e5b945a295b1c5d9c6ca4f04b /tex/context/base/mkiv/strc-sec.mkiv | |
parent | 28f104e641e84d484a22266d87536ef7d765b223 (diff) | |
download | context-d6c24a529d922ac67d2a30595c52b6b9547dce77.tar.gz |
2018-09-26 14:34:00
Diffstat (limited to 'tex/context/base/mkiv/strc-sec.mkiv')
-rw-r--r-- | tex/context/base/mkiv/strc-sec.mkiv | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/strc-sec.mkiv b/tex/context/base/mkiv/strc-sec.mkiv index 637db03f4..8f6038da7 100644 --- a/tex/context/base/mkiv/strc-sec.mkiv +++ b/tex/context/base/mkiv/strc-sec.mkiv @@ -869,6 +869,9 @@ \ifdefined\triggerautostructurelevel \else \let\triggerautostructurelevel\relax \fi +\newtoks\everybeforesectionheadhandle +\newtoks\everyaftersectionheadhandle + \def\strc_sectioning_handle#1#2#3% name data userdata (we can move #1 to the caller) {\xdef\currenthead {#1}% \xdef\currentheadcoupling{\sectionheadcoupling\currenthead}% @@ -882,7 +885,7 @@ \strc_sectioning_initialize_placement \strc_sectioning_initialize_number % - \flushingcolumnfloatsfalse + \the\everybeforesectionheadhandle % % todo: also mark (for header) % @@ -968,7 +971,9 @@ \strc_sectioning_after_nop \fi\fi \fi - \flushingcolumnfloatstrue + % + \the\everyaftersectionheadhandle + % \setfalse\c_strc_sectioning_ignore_page % ignorespaces prevents spaces creeping in when after=\dontleavehmode \dostarttagged\t!sectioncontent\empty |