summaryrefslogtreecommitdiff
path: root/tex/context/base/page-sid.mkiv
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2014-10-14 19:15:04 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2014-10-14 19:15:04 +0200
commita00a679b99cf194f9a2abd82cb61b5eaa3961e47 (patch)
treec1bfc0358066d70b54737a41cf2e1a72aea79a67 /tex/context/base/page-sid.mkiv
parent78f6c091678e633ae9139c0a45e83df61acb7c69 (diff)
downloadcontext-a00a679b99cf194f9a2abd82cb61b5eaa3961e47.tar.gz
2014-10-14 18:54:00
Diffstat (limited to 'tex/context/base/page-sid.mkiv')
-rw-r--r--tex/context/base/page-sid.mkiv8
1 files changed, 8 insertions, 0 deletions
diff --git a/tex/context/base/page-sid.mkiv b/tex/context/base/page-sid.mkiv
index adb662808..3f6e7a45c 100644
--- a/tex/context/base/page-sid.mkiv
+++ b/tex/context/base/page-sid.mkiv
@@ -199,6 +199,14 @@
\global\setfalse\c_page_sides_short
\global\setfalse\c_page_sides_flag}
+\unexpanded\def\doifelsesidefloat
+ {\par
+ \ifnum\dimexpr\d_page_sides_vsize-\pagetotal\relax>\zeropoint
+ \expandafter\firstoftwoarguments
+ \else
+ \expandafter\secondoftwoarguments
+ \fi}
+
% \def\page_sides_flush_floats_indeed
% {\global\advance\d_page_sides_vsize-\d_page_sides_bottomskip
% \begingroup