summaryrefslogtreecommitdiff
path: root/tex/context/base/strc-flt.mkvi
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/strc-flt.mkvi')
-rw-r--r--tex/context/base/strc-flt.mkvi25
1 files changed, 22 insertions, 3 deletions
diff --git a/tex/context/base/strc-flt.mkvi b/tex/context/base/strc-flt.mkvi
index 6196ae1ba..f6e1753b6 100644
--- a/tex/context/base/strc-flt.mkvi
+++ b/tex/context/base/strc-flt.mkvi
@@ -410,6 +410,16 @@
\setupcurrentfloatcaption[\c!reference={#reference},\c!title={#caption},\c!marking=,\c!list=,\c!bookmark=]%
\doifinsetelse\v!split\floatlocation\place_next_float_box_split\place_next_float_box_normal}
+\unexpanded\def\placefloat
+ {\flushnotes
+ \flushsidefloats % here !
+ \float_begin_group
+ \dotripleempty\float_place_float}
+
+\def\float_place_float[#tag]%
+ {\float_set_current_tag{#tag}%
+ \float_place_indeed}
+
% start-stop
\unexpanded\def\float_start_place#tag%
@@ -435,6 +445,18 @@
{\removeunwantedspaces
\egroup}
+\unexpanded\def\startplacefloat
+ {\flushnotes
+ \flushsidefloats % here !
+ \float_begin_group
+ \dodoubleempty\float_start_place_float}
+
+\def\float_start_place_float[#tag]%
+ {\float_set_current_tag{#tag}%
+ \float_start_place_indeed}
+
+\let\stopplacefloat\float_stop_place
+
% reserve
\unexpanded\def\float_reserve#tag%
@@ -884,9 +906,6 @@
\doifnot{\floatparameter\c!location}\v!right\hss}}}%
\fi}}
-\unexpanded\def\placefloat
- {\dotripleempty\docomplexplacefloat}
-
\unexpanded\def\placefloats
{\doflushfloats}