From e5fe861660d5cf60cfeb67f7e57f659b309e9613 Mon Sep 17 00:00:00 2001 From: Marius Date: Wed, 8 Jun 2011 20:40:24 +0300 Subject: beta 2011.06.08 19:06 --- tex/context/base/strc-flt.mkiv | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 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 32024a276..9d0b5b0d7 100644 --- a/tex/context/base/strc-flt.mkiv +++ b/tex/context/base/strc-flt.mkiv @@ -5,7 +5,7 @@ %D subtitle=Float Numbering, %D author=Hans Hagen, %D date=\currentdate, -%D copyright=PRAGMA-ADE / Hans Hagen] +%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] %C %C This module is part of the \CONTEXT\ macro||package and is %C therefore copyrighted by \PRAGMA. See mreadme.pdf for @@ -302,15 +302,6 @@ \installstructurelistprocessor{float}{\usestructurelistprocessor{number+title}} -% \def\thecurrentfloatnumber -% {\ifnofloatcaption \else \ifnofloatnumber \else -% \ifx\currentfloatnumber\relax\else -% \dostarttagged\t!floattag\empty -% \labeltexts\currentfloat{\ctxlua{structures.lists.savedprefixednumber("\currentfloat",\currentfloatnumber)}}% -% \dostoptagged -% \fi -% \fi \fi} - \unexpanded\def\thecurrentfloatnumbersuffix {\doifsomething{\floatcaptionparameter\c!suffix} {\floatcaptionparameter\c!suffixseparator @@ -319,11 +310,23 @@ \def\thecurrentfloatnumber {\ifnofloatcaption \else \ifnofloatnumber \else \ifx\currentfloatnumber\relax\else - \dostarttagged\t!floattag\empty - \labeltexts\currentfloat - {\ctxlua{structures.lists.savedprefixednumber("\currentfloat",\currentfloatnumber)}% - \thecurrentfloatnumbersuffix}% - \dostoptagged +% \dostarttagged\t!floatlabel\empty +% \labeltexts\currentfloat +% {\dostoptagged +% \dostarttagged\t!floatnumber\empty +% \ctxlua{structures.lists.savedprefixednumber("\currentfloat",\currentfloatnumber)}% +% \thecurrentfloatnumbersuffix +% \dostoptagged +% \dostarttagged\t!floatlabel\empty}% +% \dostoptagged +% \taggedlabeltexts\currentfloat\currentfloat +% {\ctxlua{structures.lists.savedprefixednumber("\currentfloat",\currentfloatnumber)}% +% \thecurrentfloatnumbersuffix}% + \namedtaggedlabeltexts + \t!floatlabel \currentfloat + \t!floatnumber\currentfloat + {\ctxlua{structures.lists.savedprefixednumber("\currentfloat",\currentfloatnumber)}% + \thecurrentfloatnumbersuffix}% \fi \fi \fi} -- cgit v1.2.3