diff options
Diffstat (limited to 'tex/context/base/page-not.mkiv')
-rw-r--r-- | tex/context/base/page-not.mkiv | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/tex/context/base/page-not.mkiv b/tex/context/base/page-not.mkiv index d7602bd26..06e2f3875 100644 --- a/tex/context/base/page-not.mkiv +++ b/tex/context/base/page-not.mkiv @@ -13,12 +13,12 @@ \writestatus{loading}{ConTeXt Page Macros / Footnotes} -%D This is an old mechanism that will be replaced as soon as the multicolumn -%D code is redone. +%D Terrible hacks: we need to share save/restore -%D We've moved some footnote handling to a separate page module. The macros below -%D are used in the single and multi column page handlers and permit mixed usage of -%D column and page notes. +%D We've moved some footnote handling to a separate page +%D module. The macros below are used in the single and multi +%D column page handlers and permit mixed usage of column and +%D page notes. \unprotect @@ -41,13 +41,11 @@ \newdimen\totalinsertionheight -\unexpanded\def\settotalinsertionheight +\def\settotalinsertionheight {\calculatetotalnoteheight - \totalinsertionheight\dimexpr - \totalnoteheight - +\page_insert_insertion_height\s!topfloat - +\page_insert_insertion_height\s!bottomfloat - \relax} + \totalinsertionheight\totalnoteheight + \addinsertionheight\topins\to\totalinsertionheight + \addinsertionheight\botins\to\totalinsertionheight} % hm |