summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/authorindex/authorindex.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-01-10 22:52:26 +0000
committerKarl Berry <karl@freefriends.org>2007-01-10 22:52:26 +0000
commitc1e1e595bebb609afcffda926804d80da3a79a9b (patch)
treed8141aa4c8eed16ed6193f76a8806540af8de89c /Master/texmf-dist/tex/latex/authorindex/authorindex.sty
parent35d6860f8d0a3dc99e81eb2646f8e55c45aab0f2 (diff)
authorindex (doc) update (28nov06)
git-svn-id: svn://tug.org/texlive/trunk@3317 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/authorindex/authorindex.sty')
-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}}%