diff options
author | Hans Hagen <pragma@wxs.nl> | 2020-09-02 21:10:53 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2020-09-02 21:10:53 +0200 |
commit | 436c9566a219bda323e8ef62e525b4cb7107d31d (patch) | |
tree | e80583f97751ed9aaf0428c64fa11c1d76151392 /tex/context/base/mkiv/strc-sec.mkiv | |
parent | 91db5eb6c95b185e3f1cc7aa0d04e1aeba1d4941 (diff) | |
download | context-436c9566a219bda323e8ef62e525b4cb7107d31d.tar.gz |
2020-09-02 20:37: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, 9 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/strc-sec.mkiv b/tex/context/base/mkiv/strc-sec.mkiv index 4959ffc16..2a2384656 100644 --- a/tex/context/base/mkiv/strc-sec.mkiv +++ b/tex/context/base/mkiv/strc-sec.mkiv @@ -1298,6 +1298,14 @@ \fi \glet\previoushead\currenthead} +\def\strc_sectioning_depth_correction + {\ifvmode + \edef\p_depthcorrection{\headparameter\c!depthcorrection}% + \ifx\p_depthcorrection\v!strut + \prevdepth\strutdepth + \fi + \fi} + \def\strc_sectioning_after_yes {\ifconditional\headisdisplay \ifconditional\c_strc_sectioning_auto_break @@ -1305,6 +1313,7 @@ \fi \strc_sectioning_empty_correction \headparameter\c!after + \strc_sectioning_depth_correction \fi} \unexpanded\def\strc_sectioning_prevent_page_break % see strc-con |