diff options
author | Karl Berry <karl@freefriends.org> | 2017-02-10 23:27:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-02-10 23:27:51 +0000 |
commit | 192d22452649953af7f53ebf1d9930314461192c (patch) | |
tree | e024b9fd0f0aa5bf4db08b020a312362803da09c /Master/texmf-dist/tex/latex/keyfloat | |
parent | c983da027919dc58f6962b928aace7aaa30f2adb (diff) |
keyfloat (10feb17)
git-svn-id: svn://tug.org/texlive/trunk@43181 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/keyfloat')
-rw-r--r-- | Master/texmf-dist/tex/latex/keyfloat/keyfloat.sty | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/keyfloat/keyfloat.sty b/Master/texmf-dist/tex/latex/keyfloat/keyfloat.sty index 533b436555f..bfb62f07a9b 100644 --- a/Master/texmf-dist/tex/latex/keyfloat/keyfloat.sty +++ b/Master/texmf-dist/tex/latex/keyfloat/keyfloat.sty @@ -19,7 +19,7 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{keyfloat} - [2017/01/18 v0.13 Key/value interface for floats and the subcaption package.] + [2017/02/09 v0.14 Key/value interface for floats and the subcaption package.] @@ -380,9 +380,13 @@ width=\KFLT@imagewidth,height=\KFLT@h]{\KFLT@i}% \NewDocumentCommand{\KFLT@docaption}{s o m m} {% \KFLT@dosimplecaption{#1}{#2}{#3}% +\ifcsempty{KFLT@#4al}% +{}% no artist +{% yes artist \ifcsempty{KFLT@#4af}% {\index{\csname KFLT@#4al\endcsname}}% {\index{\csname KFLT@#4al\endcsname, \csname KFLT@#4af\endcsname}}% +}% yes artist }% KFLT@docaption }% no tocdata @@ -613,7 +617,9 @@ width=\KFLT@imagewidth,height=\KFLT@h]{\KFLT@i}% \KFLT@addartisttext{}% \KFLT@captioniftype{figure}{}% \ifthenelse{\boolean{KFLT@inkeysubfloats}}% -{\csname endsub\KFLT@type\endcsname}% subfloat +{ +\csname endsub\KFLT@type\endcsname +}% subfloat {% not subfloat \ifthenelse{\cnttest{\value{KFLT@keyfloatdepth}}>{0}}% keyfloats? {\endminipage}% keyfloats |