1
2
3
4
5
6
7
8
9
10
11
12
13
14\writestatus
{
loading
}{
ConTeXt
Page
Macros
Footnotes
}
15
16
17
18
19
20
21
22
23\unprotect
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40\let
\checksinglecolumnfootnotes
\relax
41
42\newdimen
\totalinsertionheight
43
44\unexpanded
\def
\settotalinsertionheight
45 {
\calculatetotalnoteheight
46 \totalinsertionheight
\dimexpr
47 \totalnoteheight
48 \page_insert_insertion_height
\s!topfloat
49 \page_insert_insertion_height
\s!bottomfloat
50 \relax
}
51
52
53
54\def
\checkbegincolumnfootnotes
55 {
\ifcase
\c_strc_notes_page_location
56 \erasenotebackup
57 \else
58 \flushnotes
59 \savenotecontent
60 \fi
61 \savenotedata
}
62
63\def
\checkendcolumnfootnotes
64 {
\restorenotedata
65 \ifinsidecolumns
66 \ifcase
\c_strc_notes_page_location
\else
67 \restorenotecontent
68 \fi
69 \fi
}
70
71\protect
\endinput
72