summaryrefslogtreecommitdiff
path: root/tex/context/base/strc-flt.mkiv
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2011-09-05 17:00:12 +0300
committerMarius <mariausol@gmail.com>2011-09-05 17:00:12 +0300
commite79e4cafd297a82d6cecbb5a3329e2d69ae4cfe8 (patch)
tree417a2ea74d4f217fbbb084f75361c9c1832f65ea /tex/context/base/strc-flt.mkiv
parent55115d779b08fbd8970bd6e580cc255d7ab23ba6 (diff)
downloadcontext-e79e4cafd297a82d6cecbb5a3329e2d69ae4cfe8.tar.gz
beta 2011.09.05 15:55
Diffstat (limited to 'tex/context/base/strc-flt.mkiv')
-rw-r--r--tex/context/base/strc-flt.mkiv6
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/base/strc-flt.mkiv b/tex/context/base/strc-flt.mkiv
index 96287a24a..fbedab659 100644
--- a/tex/context/base/strc-flt.mkiv
+++ b/tex/context/base/strc-flt.mkiv
@@ -594,8 +594,8 @@
% the global settings.
\unexpanded\def\docomplexplacefloat[#1][#2]% [#3]#4%
- {\edef\currentfloat{#1}% TODO: IF UNDEFINED THEN FALLBACK TO figure
- \doifnothing\currentfloat{\let\currentfloat\v!figure}%
+ {\edef\currentfloat{#1}%
+ \doifnothing\currentfloat{\let\currentfloat\v!figure}% hack
\doifelsenothing{#2}
{\edef\floatlocation{\floatparameter\c!default}}
{\edef\floatlocation{#2}}%
@@ -626,7 +626,7 @@
\v!innermargin,\v!outermargin,\v!inneredge,\v!outeredge,%
\v!text,\v!opposite}% \v!page
-\long\def\dodocomplexplacefloat[#1][#2][#3]#4%
+\unexpanded\def\dodocomplexplacefloat[#1][#2][#3]#4%
{\flushnotes
\flushsidefloats % here !
\ifsomefloatwaiting