summaryrefslogtreecommitdiff
path: root/tex/context/base/page-sid.mkiv
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2012-07-04 10:42:00 +0200
committerHans Hagen <pragma@wxs.nl>2012-07-04 10:42:00 +0200
commit6fab0bf5d80191fb0748006da3cbdf4561541484 (patch)
tree85ef2d4c3b8dd63bf3a1b27ec7eb621761efee73 /tex/context/base/page-sid.mkiv
parent16a05ab43b53feac7c21bceccc2886857e9822a8 (diff)
downloadcontext-6fab0bf5d80191fb0748006da3cbdf4561541484.tar.gz
beta 2012.07.04 10:42
Diffstat (limited to 'tex/context/base/page-sid.mkiv')
-rw-r--r--tex/context/base/page-sid.mkiv9
1 files changed, 4 insertions, 5 deletions
diff --git a/tex/context/base/page-sid.mkiv b/tex/context/base/page-sid.mkiv
index f4d42a41c..f3b54e430 100644
--- a/tex/context/base/page-sid.mkiv
+++ b/tex/context/base/page-sid.mkiv
@@ -104,13 +104,12 @@
\let\logsidefloat \relax
-\newif\ifroomforfloat % shared (will change)
\newif\iftracesidefloats % public (might change)
% end of public variables
\def\page_sides_insert_info
- {\doinsertfloatinfo}
+ {\page_floats_report_total}
\def\page_sides_apply_horizontal_shift
{\ifdim\d_page_sides_maximum>\zeropoint
@@ -601,7 +600,7 @@
\fi
\relax % really needed ! ! ! !
\ifdim\dimen0>\dimen2
- \global\roomforfloatfalse
+ \global\setfalse\c_page_floats_room
\else
\ifdim\dimexpr\pagegoal-\d_page_sides_vsize\relax<\d_page_sides_bottomskip
\global\advance\d_page_sides_vsize \dimen0
@@ -612,7 +611,7 @@
\global\advance\d_page_sides_vsize \d_page_sides_bottomskip
\global\setfalse\c_page_sides_short
\fi
- \global\roomforfloattrue
+ \global\settrue\c_page_floats_room
\fi}
\def\page_sides_prepare_space
@@ -633,7 +632,7 @@
\page_sides_relocate_float{#1}%
\page_sides_apply_vertical_shift
\page_sides_analyse_space
- \ifroomforfloat \else
+ \ifconditional\c_page_floats_room \else
\page_otr_fill_and_eject_page
\page_sides_analyse_space
\page_sides_inject_dummy_lines