From b0780a3e1545ad2dd2e6087d2fc5ad2a70257f8e Mon Sep 17 00:00:00 2001 From: Marius Date: Tue, 20 Sep 2011 01:20:13 +0300 Subject: beta 2011.09.20 00:09 --- tex/context/base/strc-flt.mkiv | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tex/context/base/strc-flt.mkiv') diff --git a/tex/context/base/strc-flt.mkiv b/tex/context/base/strc-flt.mkiv index 739e81c80..3a6aea0ab 100644 --- a/tex/context/base/strc-flt.mkiv +++ b/tex/context/base/strc-flt.mkiv @@ -128,8 +128,10 @@ \appendtoks \let\currentfloat\currentfloatcaption - \dostructurecountersetup\currentfloatcaption\floatcaptionparameter - \docheckstructurecountersetup\currentfloatcaption + \ifx\currentfloat\empty \else + \dostructurecountersetup\currentfloatcaption\floatcaptionparameter + \docheckstructurecountersetup\currentfloatcaption + \fi \to \everysetupfloatcaption %D Definitions: -- cgit v1.2.3