summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/authorindex/authorindex.sty8
1 files changed, 7 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/authorindex/authorindex.sty b/Master/texmf-dist/tex/latex/authorindex/authorindex.sty
index 58ea9f3a4a4..0caeaed658c 100644
--- a/Master/texmf-dist/tex/latex/authorindex/authorindex.sty
+++ b/Master/texmf-dist/tex/latex/authorindex/authorindex.sty
@@ -1,5 +1,5 @@
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{authorindex}[2002/09/13 make index of authors cited in a work]
+\ProvidesPackage{authorindex}[2005/03/22 make index of authors cited in a work]
% \ainame and \aipages determine the format of the author name and the page
% list, respectively, and are to be \renewcommand-ed explicitly by the user.
% \aibibpage and \aifirstpage are styles for pages where works appear in the
@@ -55,6 +55,7 @@
\def\aimaxauthors{\@notprerr}% preamble.
\def\authorindexstyle{\@notprerr}%
\def\aisee{\@notprerr}%
+ \def\aialso{\@notprerr}%
\def\aitwosuffix{\@notprerr}%
\def\ainamefmt{\@notprerr}}
% Define commands to be put in the .aux file and only used by the perl script.
@@ -68,6 +69,8 @@
\let\bibpage\@gobbletwo
\let\aiexplicit\@gobbletwo
\let\aifilename\@gobble
+\let\aialsostrings\@gobbletwo
+\let\aibibcite\@gobbletwo
% By default, the numbers that appear in the index are the same that appear on
% the pages. In case this does not suffice for everybody (for example, in a 2
% volume book, one might want the volume number appear in the index, but not
@@ -79,6 +82,9 @@
% determine string by which first author is cross referenced
\def\aisee#1{\AtBeginDocument{%
\if@filesw\immediate\write\@auxout{\string\aiseestring{#1}}\fi}}%
+% determine string by which first authors are cross referenced
+\def\aialso#1#2{\AtBeginDocument{%
+ \if@filesw\immediate\write\@auxout{\string\aialsostrings{#1}{#2}}\fi}}%
% determine string for abbreviation of two subsequent pages
\def\aitwosuffix#1{\AtBeginDocument{%
\if@filesw\immediate\write\@auxout{\string\aitwostring{#1}}\fi}}%