summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/page-one.mkxl
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2021-12-24 19:46:30 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2021-12-24 19:46:30 +0100
commit1cc6c316feae649d3c8b64ef0c980dfd792c2347 (patch)
treed2153ed2d05808a40963f095fb2d29c4f5e5c4c8 /tex/context/base/mkxl/page-one.mkxl
parent19750b667c23a9f276032837d6c517063376bd0c (diff)
downloadcontext-1cc6c316feae649d3c8b64ef0c980dfd792c2347.tar.gz
2021-12-24 19:09:00
Diffstat (limited to 'tex/context/base/mkxl/page-one.mkxl')
-rw-r--r--tex/context/base/mkxl/page-one.mkxl12
1 files changed, 5 insertions, 7 deletions
diff --git a/tex/context/base/mkxl/page-one.mkxl b/tex/context/base/mkxl/page-one.mkxl
index e8f873422..61f9172ea 100644
--- a/tex/context/base/mkxl/page-one.mkxl
+++ b/tex/context/base/mkxl/page-one.mkxl
@@ -363,7 +363,7 @@
\noffloatinserts\zerocount
\let\totaltopinserted\!!zeropoint
\page_one_command_set_top_insertions_indeed
- \ifnum\rootfloatparameter\c!nbottom=\zerocount
+ \ifnum\rootfloatparameter\c!nbottom=\zerocount % \ifnum\c_page_floats_n_of_bottom=\zerocount
\ifnum\rootfloatparameter\c!nlines>\zerocount
\ifdim\totaltopinserted>\zeropoint\relax
\ifdim\dimexpr\rootfloatparameter\c!nlines\lineheight+\totaltopinserted\relax>\textheight
@@ -440,7 +440,6 @@
\page_one_command_set_bottom_insertions_indeed}
\protected\def\page_one_command_flush_top_insertions
-% {\ifvoid\namedinsertionnumber\s!topfloat\else
{\ifzeropt\page_inserts_get_height\namedinsertionnumber\s!topfloat\else
\page_one_command_flush_top_insertions_indeed % less tracing
\fi
@@ -463,7 +462,6 @@
\fi}
\protected\def\page_one_command_flush_bottom_insertions
-% {\ifvoid\namedinsertionnumber\s!bottomfloat\else
{\ifzeropt\page_inserts_get_height\namedinsertionnumber\s!bottomfloat\else
\page_one_command_flush_bottom_insertions_indeed
\fi
@@ -472,13 +470,13 @@
\def\page_one_command_flush_bottom_insertions_indeed
{\ifgridsnapping
- % \floatparameter\c!bottombefore
+ % \rootfloatparameter\c!bottombefore
\snaptogrid\hbox{\page_inserts_get_boxed\namedinsertionnumber\s!bottomfloat}%
- % \floatparameter\c!bottomafter
+ % \rootfloatparameter\c!bottomafter
\else
- \floatparameter\c!bottombefore
+ \rootfloatparameter\c!bottombefore
\page_inserts_get_unboxed\namedinsertionnumber\s!bottomfloat
- \floatparameter\c!bottomafter
+ \rootfloatparameter\c!bottomafter
\fi}
\protected\def\page_one_command_flush_floats