summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/icite
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-03-06 21:30:42 +0000
committerKarl Berry <karl@freefriends.org>2020-03-06 21:30:42 +0000
commit994560f76edc0ba77542b37a69a0f7e2de8733a1 (patch)
tree7a779e500559f1f6b61ede14e1f0f8e4b1e06780 /Master/texmf-dist/tex/latex/icite
parent42ae3845f0172233885a1e6895a92093a68c2711 (diff)
icite (6mar20)
git-svn-id: svn://tug.org/texlive/trunk@54130 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/icite')
-rw-r--r--Master/texmf-dist/tex/latex/icite/icite.sty22
1 files changed, 15 insertions, 7 deletions
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 <alessi@robertalessi.net>
+%% icite -- Indices locorum citatorum
+%%
+%% Copyright (C) 2019--2020 by Robert Alessi <alessi@robertalessi.net>
%%
%% Please send error reports and suggestions for improvements to Robert
%% Alessi <alessi@robertalessi.net>
@@ -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%