summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/strc-sec.mkxl
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2022-05-11 11:48:41 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2022-05-11 11:48:41 +0200
commit3a55e11c7295abf8f2dfe5e9d1c8b153f4518824 (patch)
treeef19e02db5f451f90d12f88ddf60619e0cb07344 /tex/context/base/mkxl/strc-sec.mkxl
parentd2e1112ef8921f361ac7cf1b49e30923cce6d5f0 (diff)
downloadcontext-3a55e11c7295abf8f2dfe5e9d1c8b153f4518824.tar.gz
2022-05-11 11:35:00
Diffstat (limited to 'tex/context/base/mkxl/strc-sec.mkxl')
-rw-r--r--tex/context/base/mkxl/strc-sec.mkxl6
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/base/mkxl/strc-sec.mkxl b/tex/context/base/mkxl/strc-sec.mkxl
index 0776249fa..cb897d906 100644
--- a/tex/context/base/mkxl/strc-sec.mkxl
+++ b/tex/context/base/mkxl/strc-sec.mkxl
@@ -1147,11 +1147,11 @@
\newcount \c_strc_sectioning_preceding_level \c_strc_sectioning_preceding_level\plusone
\newconditional\c_strc_sectioning_auto_break \settrue\c_strc_sectioning_auto_break
\newconditional\c_strc_sectioning_ignore_page
-\newsignal \d_strc_sectioning_continuous_signal
+\newboundary \c_strc_sectioning_boundary
\protected\def\strc_sectioning_inject_continuous_signal
{\ifhmode
- \hskip\d_strc_sectioning_continuous_signal\relax
+ \boundary\c_strc_sectioning_boundary
\fi}
% \let\dotagsectionlevel\relax
@@ -1184,7 +1184,7 @@
{\ifhmode
\scratchcounter\lastpenalty
\unpenalty % no beauty in this
- \ifdim\lastskip=\d_strc_sectioning_continuous_signal
+ \ifnum\lastboundary=\c_strc_sectioning_boundary
% no page break
\ifconditional\c_strc_sectioning_ignore_page
\setfalse\c_strc_sectioning_ignore_page