summaryrefslogtreecommitdiff
path: root/tex/context/base/page-not.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/page-not.mkiv')
-rw-r--r--tex/context/base/page-not.mkiv10
1 files changed, 6 insertions, 4 deletions
diff --git a/tex/context/base/page-not.mkiv b/tex/context/base/page-not.mkiv
index 7fae16419..d7602bd26 100644
--- a/tex/context/base/page-not.mkiv
+++ b/tex/context/base/page-not.mkiv
@@ -41,11 +41,13 @@
\newdimen\totalinsertionheight
-\def\settotalinsertionheight
+\unexpanded\def\settotalinsertionheight
{\calculatetotalnoteheight
- \totalinsertionheight\totalnoteheight
- \addinsertionheight\c_page_floats_insertions_top \to\totalinsertionheight
- \addinsertionheight\c_page_floats_insertions_bottom\to\totalinsertionheight}
+ \totalinsertionheight\dimexpr
+ \totalnoteheight
+ +\page_insert_insertion_height\s!topfloat
+ +\page_insert_insertion_height\s!bottomfloat
+ \relax}
% hm