diff options
Diffstat (limited to 'tex/context/base/strc-flt.mkiv')
-rw-r--r-- | tex/context/base/strc-flt.mkiv | 33 |
1 files changed, 18 insertions, 15 deletions
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} |