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/source/latex | |
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/source/latex')
-rw-r--r-- | Master/texmf-dist/source/latex/keyfloat/keyfloat.dtx | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/Master/texmf-dist/source/latex/keyfloat/keyfloat.dtx b/Master/texmf-dist/source/latex/keyfloat/keyfloat.dtx index 848e2bd37f9..0379749ae14 100644 --- a/Master/texmf-dist/source/latex/keyfloat/keyfloat.dtx +++ b/Master/texmf-dist/source/latex/keyfloat/keyfloat.dtx @@ -17,7 +17,7 @@ % \iffalse %<package>\NeedsTeXFormat{LaTeX2e} %<package>\ProvidesPackage{keyfloat} -%<package> [2017/01/18 v0.13 Key/value interface for floats and the subcaption package.] +%<package> [2017/02/09 v0.14 Key/value interface for floats and the subcaption package.] % %<*driver> \documentclass{ltxdoc} @@ -316,7 +316,7 @@ Keywords={LaTeX, floats, key/val, subcaption, rows}% %<*package> % \fi % -% \CheckSum{1021} +% \CheckSum{1022} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -341,6 +341,7 @@ Keywords={LaTeX, floats, key/val, subcaption, rows}% % \changes{v0.12}{2016/12/05}{Docs: Improved index.} % \changes{v0.13}{2017/01/18}{\ 2017/01/18} % \changes{v0.13}{2017/01/12}{Docs: Other Settings.} +% \changes{v0.14}{2017/02/09}{\ 2017/02/09} @@ -2600,8 +2601,9 @@ width=\KFLT@imagewidth,height=\KFLT@h]{\KFLT@i}% % % See Table \ref{tab:captions} for the possible combinations of % the caption-related keys: |c|, |cstar|, and |sc|. -% \begin{macrocode} -% \end{macrocode} +% +% \changes{v0.14}{2017/02/09}{Fix: No index entry if no artist given.} +% % There are two versions, depending on whether \pkg{tocdata} is loaded. % \begin{macrocode} \@ifpackageloaded{tocdata} @@ -2665,11 +2667,15 @@ width=\KFLT@imagewidth,height=\KFLT@h]{\KFLT@i}% % \begin{macrocode} \KFLT@dosimplecaption{#1}{#2}{#3}% % \end{macrocode} -% Create an index entry depending on whether there is a first name: +% Create an index entry depending on whether there is a last, first name: % \begin{macrocode} +\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 % \end{macrocode} @@ -3207,7 +3213,9 @@ width=\KFLT@imagewidth,height=\KFLT@h]{\KFLT@i}% % If are inside \env{keysubtabs}, end the subtable: % \begin{macrocode} \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 |