summaryrefslogtreecommitdiff
path: root/tex/context/base/page-flt.mkiv
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2012-07-04 14:44:00 +0200
committerHans Hagen <pragma@wxs.nl>2012-07-04 14:44:00 +0200
commit1586c3fdcdc3719777f2f6eb46ebddf778458f17 (patch)
tree564470936941bad02257b348703ef2d1127f0243 /tex/context/base/page-flt.mkiv
parent6fab0bf5d80191fb0748006da3cbdf4561541484 (diff)
downloadcontext-1586c3fdcdc3719777f2f6eb46ebddf778458f17.tar.gz
beta 2012.07.04 14:44
Diffstat (limited to 'tex/context/base/page-flt.mkiv')
-rw-r--r--tex/context/base/page-flt.mkiv13
1 files changed, 12 insertions, 1 deletions
diff --git a/tex/context/base/page-flt.mkiv b/tex/context/base/page-flt.mkiv
index 4655d92af..a608df0c8 100644
--- a/tex/context/base/page-flt.mkiv
+++ b/tex/context/base/page-flt.mkiv
@@ -20,6 +20,16 @@
\unprotect
+\installinsertion\c_page_floats_insertions_top
+\installinsertion\c_page_floats_insertions_bottom
+
+\newdimen \d_page_floats_inserted_bottom
+\newdimen \d_page_floats_inserted_top
+\newcount \c_page_floats_n_of_top \c_page_floats_n_of_top \plustwo
+\newcount \c_page_floats_n_of_bottom \c_page_floats_n_of_bottom\zerocount
+
+\newconstant \c_page_floats_insertions_topskip_mode % 1 = no topskip
+
%def\page_floats_report_saved {\showmessage\m!floatblocks2{\the\totalnoffloats}}
\def\page_floats_report_total {\showmessage\m!floatblocks4{\the\totalnoffloats}}
\def\page_floats_report_flushed{\showmessage\m!floatblocks3{\the\numexpr\totalnoffloats-\savednoffloats\relax}}
@@ -39,9 +49,10 @@
\newcount\totalnoffloats % these will be redone ... handled at the lua end anyway
\newcount\savednoffloats % these will be redone ... handled at the lua end anyway
-\newcount\noffloatinserts % these will be redone ... handled at the lua end anyway
\newcount\nofcollectedfloats % communication channel
+\newcount\noffloatinserts % these will be redone ... handled at the lua end anyway
+
\newbox \floattext
\newdimen\floatwidth