From 994560f76edc0ba77542b37a69a0f7e2de8733a1 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 6 Mar 2020 21:30:42 +0000 Subject: icite (6mar20) git-svn-id: svn://tug.org/texlive/trunk@54130 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/icite/icite.sty | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'Master/texmf-dist/tex/latex/icite') diff --git a/Master/texmf-dist/tex/latex/icite/icite.sty b/Master/texmf-dist/tex/latex/icite/icite.sty index 8c31e46a24c..02ce65dc8b0 100644 --- a/Master/texmf-dist/tex/latex/icite/icite.sty +++ b/Master/texmf-dist/tex/latex/icite/icite.sty @@ -6,7 +6,9 @@ %% %% icite.dtx (with options: `package') %% -%% Copyright (C) 2019 by Robert Alessi +%% icite -- Indices locorum citatorum +%% +%% Copyright (C) 2019--2020 by Robert Alessi %% %% Please send error reports and suggestions for improvements to Robert %% Alessi @@ -32,7 +34,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{icite} - [2019/03/17 v1.2 Make Indices locorum citatorum] + [2020/03/05 v1.3a Make Indices locorum citatorum] \RequirePackage{xkeyval} \DeclareOptionX{citecmd}[cite]{\def\ic@dfltcit{#1}} \newif\ifdefault@index @@ -135,6 +137,7 @@ \index{\@sortedauthor!\@sortedtitle}% \fi\fi% }{% + \bgroup% \DTLforeach*{icite@indices}{% \icite@subtype=subtype,\icite@index=index}{% \ifx\@subtype\icite@subtype% @@ -147,7 +150,8 @@ \else% \index{\@sortedauthor!\@sortedtitle}% \fi\fi% - \fi}} + \fi}% + \egroup}% \ifno@bibengine \ifx\@shorthand\empty% \@useauthor\ic@authtitdelim\TitleStyle{\@usetitle}% @@ -167,6 +171,7 @@ \index{\@sortedauthor!\@sortedtitle!#1}% \fi\fi% }{% + \bgroup% \DTLforeach*{icite@indices}{% \icite@subtype=subtype,\icite@index=index}{% \ifx\@subtype\icite@subtype% @@ -179,13 +184,14 @@ \else% \index{\@sortedauthor!\@sortedtitle!#1}% \fi\fi% - \fi}}% + \fi}% + \egroup}% \ifno@bibengine \ifx\@shorthand\empty% \@useauthor\ic@authtitdelim\TitleStyle{\@usetitle}% \ic@titpgdelim{#1}% \else% - \@shorthand, {#1}% + \@shorthand\ic@titpgdelim{#1}% \fi% \else% \fi% @@ -199,6 +205,7 @@ \index{\@sortedauthor!\@sortedtitle!#2}% \fi\fi% }{% + \bgroup% \DTLforeach*{icite@indices}{% \icite@subtype=subtype,\icite@index=index}{% \ifx\@subtype\icite@subtype% @@ -211,13 +218,14 @@ \else% \index{\@sortedauthor!\@sortedtitle!#2}% \fi\fi% - \fi}}% + \fi}% + \egroup}% \ifno@bibengine \ifx\@shorthand\empty% #1 \@useauthor\ic@authtitdelim\TitleStyle{\@usetitle}% \ic@titpgdelim{#2}% \else% - #1 \@shorthand, {#2}% + #1 \@shorthand\ic@titpgdelim{#2}% \fi \else% \fi% -- cgit v1.2.3