diff options
author | Hans Hagen <pragma@wxs.nl> | 2017-11-14 14:35:42 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2017-11-14 14:35:42 +0100 |
commit | 6f55552ca1456f0a2d50d1d0fdc8dc813d9ace77 (patch) | |
tree | 4be2ae8eabfd71f42977c74055b2f15d4f253d7b /tex/context/base/mkiv/page-one.mkiv | |
parent | 3c5bdb02c68293a907c765f109641c3939c13f6c (diff) | |
download | context-6f55552ca1456f0a2d50d1d0fdc8dc813d9ace77.tar.gz |
2017-11-14 13:58:00
Diffstat (limited to 'tex/context/base/mkiv/page-one.mkiv')
-rw-r--r-- | tex/context/base/mkiv/page-one.mkiv | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tex/context/base/mkiv/page-one.mkiv b/tex/context/base/mkiv/page-one.mkiv index f3d7aa3e4..0b67f6ef6 100644 --- a/tex/context/base/mkiv/page-one.mkiv +++ b/tex/context/base/mkiv/page-one.mkiv @@ -423,20 +423,21 @@ \fi % should be an option \endgroup - \dimen0\dimexpr\pagetotal+\floatheight+\d_strc_floats_top-\pageshrink\relax - \dimen2\pagegoal + \scratchdimenone\dimexpr\pagetotal+\floatheight+\d_strc_floats_top-\pageshrink\relax + \scratchdimentwo\pagegoal \relax % needed \ifcase\c_page_one_float_method % method 0 : raw \or % method 1 : safe - \dimen2 .99\pagegoal + % too fuzzy as it can change and for a high page it's a lot : \scratchdimentwo .99\pagegoal + \advance\scratchdimentwo -\strutdp \or % method 2 : tight - \advance\dimen0 -\onepoint + \advance\scratchdimenone -\onepoint \fi \relax % really needed ! ! ! ! - \ifdim\dimen0>\dimen2 + \ifdim\scratchdimenone>\scratchdimentwo \global\setfalse\c_page_floats_room \else \global\settrue\c_page_floats_room |