summaryrefslogtreecommitdiff
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
parent35d6860f8d0a3dc99e81eb2646f8e55c45aab0f2 (diff)
authorindex (doc) update (28nov06)
git-svn-id: svn://tug.org/texlive/trunk@3317 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xBuild/tools/tpm-ctan-check2
-rw-r--r--Master/texmf-dist/doc/latex/authorindex/COPYING5
-rw-r--r--Master/texmf-dist/doc/latex/authorindex/NEWS19
-rw-r--r--Master/texmf-dist/doc/latex/authorindex/README8
-rw-r--r--Master/texmf-dist/doc/latex/authorindex/authorindex (renamed from Master/texmf-dist/source/latex/authorindex/authorindex)134
-rw-r--r--Master/texmf-dist/doc/latex/authorindex/authorindex.dvibin38080 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/authorindex/authorindex.pdfbin0 -> 189149 bytes
-rw-r--r--Master/texmf-dist/doc/latex/authorindex/authorindex.tex102
-rw-r--r--Master/texmf-dist/tex/latex/authorindex/authorindex.sty8
-rw-r--r--Master/texmf-dist/tpm/authorindex.tpm15
-rw-r--r--Master/texmf/lists/authorindex8
11 files changed, 231 insertions, 70 deletions
diff --git a/Build/tools/tpm-ctan-check b/Build/tools/tpm-ctan-check
index f5d530bbced..4d775ed92bb 100755
--- a/Build/tools/tpm-ctan-check
+++ b/Build/tools/tpm-ctan-check
@@ -42,7 +42,7 @@ my @WorkingTPM = qw(
flagderiv flippdf float floatflt floatrow flowfram fltpoint
fmtcount fncychap foekfont fontch fontspec footbib forloop formular
fourier fp free-math-font-survey frenchle fribrief fullpict functan
- galois gatech-thesis genmisc genmpage germbib ginpenc
+ galois gastex gatech-thesis genmisc genmpage germbib ginpenc
glossary gmdoc gmiflink gmutils gmverb gnuplottex gost graphics
graphicx-psmin greenpoint
grnumalt GuIT
diff --git a/Master/texmf-dist/doc/latex/authorindex/COPYING b/Master/texmf-dist/doc/latex/authorindex/COPYING
new file mode 100644
index 00000000000..a2960c90c3e
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/authorindex/COPYING
@@ -0,0 +1,5 @@
+The authorindex package is subject to the LaTeX project public
+license. You can find a copy of the license here:
+
+ http://www.latex-project.org/lppl.txt
+
diff --git a/Master/texmf-dist/doc/latex/authorindex/NEWS b/Master/texmf-dist/doc/latex/authorindex/NEWS
new file mode 100644
index 00000000000..fbe7e81e24e
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/authorindex/NEWS
@@ -0,0 +1,19 @@
+November 2006:
+
+- Include an enhancement by Pieter Eendebak for natbib.cfg (part
+ of the documentation)
+
+March 2005:
+
+- Support for authauthor and autheditor fields in BibTeX data base.
+ These fields serve to provide a consistent spelling of author names
+
+- Bugfix: When using multiple BibTeX data bases, they will be queried
+ in the sequence given in the LaTeX source. This is important when
+ some data bases define @STRINGs used in others.
+
+October 2004:
+
+- Bugfix: Gracefully handle spaces in citation commands with multiple
+ arguments. Previous versions included the space in the key, which
+ cased the search in the BibTeX data base to fail.
diff --git a/Master/texmf-dist/doc/latex/authorindex/README b/Master/texmf-dist/doc/latex/authorindex/README
new file mode 100644
index 00000000000..6a7671761bc
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/authorindex/README
@@ -0,0 +1,8 @@
+This package allows to create an index of all authors cited in a LaTeX
+document. Each author entry in the index contains the pages where
+these citations occur. Alternatively, the package can list the labels
+of the citations that appear in the references rather than the text
+pages.
+
+The package relies on bibtex being used to handle citations.
+Additionally, it requires Perl (version 5 or higher).
diff --git a/Master/texmf-dist/source/latex/authorindex/authorindex b/Master/texmf-dist/doc/latex/authorindex/authorindex
index d0287335ab2..be1b2d9e15d 100644
--- a/Master/texmf-dist/source/latex/authorindex/authorindex
+++ b/Master/texmf-dist/doc/latex/authorindex/authorindex
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
# This file is part of the authorindex package for LaTeX + BibTeX.
+# Version: 22. March 2005
use strict;
@@ -62,7 +63,7 @@ my $authorcount=0;
my $miniindex=0; # flag: is 1 if mini-index is requested
my $nocompress=0; # flag: is 1 if page range compression is prohibited
-my %bib; # collect .bib-file names as defined keys of hash
+my @bib; # collect .bib-file names
my %pnlist; # collect occuring pages/bib.numbers as keys of hash
my $editors=0; # number: 0 no editors; 1 editors if no authors
@@ -78,6 +79,7 @@ my %Lab2Bib; # ditto, but for occurrence in bibliography
my %Aut2Pag; # for each author gives array of pages cited/in bilio.
my %Aut2Bib; # ditto, but only occurrence in bibliography
my %Aut2Lab; # list of BibTeX entry labels an author occurs in
+my %Aut2First; # list of all 1st authors to which author was coauthor
my %LeadAutPag; # author -> hash marking pages with work author is 1st
my %printname; # sort-key -> printed representation of author
@@ -90,6 +92,10 @@ my $see=""; # string to separate other and first author, or undef.
my $bst=""; # name of BibTeX program to extract author names
my $output=""; # name of file to which author index is written
my $twoabbrev=""; # string to append to page for 2 subsequent pages
+my $also=""; # string to cross-refer to first authors
+my $alsosep=""; # seperator for referenced first authors
+
+my $useaibibcite; # flag: watch for \aibibcite, but not for \bibcite.
# scan input files and
# - build the file later to be processed by BibTeX,
@@ -101,19 +107,31 @@ open(AUXFILE,">$tmp.aux") || die "Can't open temporary file $tmp.aux\n";
open(BIBFILE,">$tmp.bib") || die "Can't open temporary file $tmp.bib\n";
while(<>){
- if(/^\\citationpage\{([^{]+)\}\{(.+)\}$/){
+ if(/^\\citationpage\{\s*([^{ ]+)\s*\}\{(.+)\}$/){
$citationcount++; # used for statistics only.
$workscount++ unless ($1 eq '*') or (exists $Lab2Pag{$1})
or (exists $Lab2Bib{$1}) or (exists $Lab2Num{$1});
$pnlist{$2}="";
push @{$Lab2Pag{$1}},$2;
print AUXFILE "\\citation{$1}\n";
- }elsif(/^\\bibcite\{([^{]+)\}\{(.+)\}$/){
+ }elsif(/^\\aibibcite\{([^{]+)\}\{(.+)\}$/){
$workscount++ unless ($1 eq '*') or (exists $Lab2Pag{$1})
or (exists $Lab2Bib{$1}) or (exists $Lab2Num{$1});
$pnlist{$2}="";
push @{$Lab2Num{$1}},$2;
- print AUXFILE "\\citation{$1}\n";
+ print AUXFILE "\\citation{$1}\n" if $usenum;
+ # using \aibibcite implies we want to ignore \bibcite. For this to
+ # work, in the .aux files, the first \aibibcite must appear before any
+ # \bibcite.
+ $useaibibcite="yes";
+ }elsif(/^\\bibcite\{([^{]+)\}\{(.+)\}$/){
+ unless($useaibibcite){
+ $workscount++ unless ($1 eq '*') or (exists $Lab2Pag{$1})
+ or (exists $Lab2Bib{$1}) or (exists $Lab2Num{$1});
+ $pnlist{$2}="";
+ push @{$Lab2Num{$1}},$2;
+ print AUXFILE "\\citation{$1}\n" if $usenum;
+ }
}elsif(/^\\bibpage\{([^{]+)\}\{(.+)\}$/){
$workscount++ unless (exists $Lab2Pag{$1})
or (exists $Lab2Bib{$1}) or (exists $Lab2Num{$1});
@@ -123,13 +141,12 @@ while(<>){
}elsif(/^\\aiexplicit\{(.+)\}\{(.+)\}$/ and !$usenum){
# above: page number might not contain '}{'
print BIBFILE "\@MISC{$tmp$explicits,author=\"$1\"}\n";
- $bib{$tmp}="";
$pnlist{$2}="";
push @{$Lab2Pag{"$tmp$explicits"}},$2;
print AUXFILE "\\citation{$tmp$explicits}\n";
$explicits++;
}elsif(/^\\bibdata\{(.+)\}$/){
- @bib{split(",",$1)}="";
+ push @bib, split(",",$1);
}elsif(/^\\aistyle\{(.+)\}$/){
warn "Multiple \\authorindexstyle\n" if $bst && ($bst ne $1);
$bst=$1;
@@ -137,7 +154,7 @@ while(<>){
($editors,$nameformat,$maxnames,$truncnames,$labeltype)=split /\|/,$1;
$usenum|=($labeltype eq "labels");
if($editors>0){
- $altedit="{ editor format }";
+ $altedit="{ peditor format }";
$addedit=$altedit if $editors==2;
}
}elsif(/^\\aifilename\{(.+)\}$/){
@@ -149,6 +166,9 @@ while(<>){
$PageTypeOrder=$1;
}elsif(/^\\aiseestring\{(.+)\}$/){
$see=$1;
+ }elsif(/^\\aialsostrings\{(.+)\}\{(.+)\}$/){
+ $also=$1;
+ $alsosep=$2;
}elsif(/^\\aitwostring\{(.+)\}$/){
$twoabbrev=$1;
}elsif(/^\\aiinbibflag$/){
@@ -167,10 +187,14 @@ $output="-" if exists $opt{'p'};
# We need at least one BibTeX database
-my $bib=join(",",keys %bib)
+push @bib, $tmp if($explicits);
+
+my $bib=join(",",@bib)
|| die "You must specify at least one BibTeX database\n";
print AUXFILE "\\bibdata{$bib}\n";
+$see && $also && die "\\aisee and \\aialso are mutually exlusive!\n";
+
# if the user hasn't explicitly given a .bst style for formatting author names,
# we generate our own based on the style options found in the input files.
@@ -187,39 +211,49 @@ unless($bst){
"purify\$ \"u\" change.case\$ write\$ newline\$\n$printkey";
$printkey="newline\$\n";
}
-
+
$ENV{$bstenv}=".:" . (exists $ENV{$bstenv} ? $ENV{$bstenv} : "");
$bst=$tmp;
open(BSTFILE,">$bst.bst") || die "Can't open $bst.bst\n";
print BSTFILE <<END; # Now comes the BibTeX programm inlined...
% Temporary file generated by $0
-entry{author editor}{}{} strings{names} integers{numnames}
+entry{author editor authauthor autheditor}{}{}
+strings{names} integers{numnames}
+function{prefersecond} % return second argument if non-empty
+{ duplicate\$ empty\$ % return first argument otherwise
+ 'skip\$ %'
+ { swap\$ }
+ if\$
+ pop\$
+}
+function{pauthor}{ author authauthor prefersecond }
+function{peditor}{ editor autheditor prefersecond }
function{format}
-{ duplicate\$ empty\$ % field present?
- { pop\$ } % no: do nothing but cleanup
- { duplicate\$ 'names := % memorise namelist in variable "names"
- num.names\$ duplicate\$
- #$maxnames > % too many names in list?
- { pop\$ #$truncnames } % yes, truncate.
- 'skip\$ % no, keep them all
+{ duplicate\$ empty\$ % field present?
+ { pop\$ } % no: do nothing but cleanup
+ { duplicate\$ 'names := %'memorise namelist in variable "names"
+ num.names\$ duplicate\$
+ #$maxnames > % too many names in list?
+ { pop\$ #$truncnames } % yes, truncate.
+ 'skip\$ %' no, keep them all
if\$
- 'numnames := % save number of names
- #0 % start index
- { duplicate\$ numnames < } % test for "while\$"
- { #1 + % next name
- duplicate\$ names swap\$ % get name list and index
- "{ll}" format.name\$ % format curr. name
- "others" = % et al part?
- 'skip\$ % yes, do not output
- { $namefmtcmd } % no: format all
- if\$
- } while\$ pop\$ % loop until index is 0
- }
+ 'numnames := %'save number of names
+ #0 % start index
+ { duplicate\$ numnames < } % test for "while\$"
+ { #1 + % next name
+ duplicate\$ names swap\$ % get name list and index
+ "{ll}" format.name\$ % format curr. name
+ "others" = % et al part?
+ 'skip\$ %' yes, do not output
+ { $namefmtcmd } % no: format all
+ if\$
+ } while\$ pop\$ % loop until index is 0
+ }
if\$
}
-function{default.type}{author format author empty\$ $altedit $addedit if\$ }
+function{default.type}{pauthor format pauthor empty\$ $altedit $addedit if\$ }
function{article}{default.type} function{book}{default.type}
-function{booklet}{default.type} function{inbook}{default.type}
+function{booklet}{default.type} function{inbook}{default.type}
function{incollection}{default.type} function{inproceedings}{default.type}
function{conference}{default.type} function{manual}{default.type}
function{mastersthesis}{default.type} function{misc}{default.type}
@@ -290,9 +324,12 @@ while(<BIBFILE>){
@{$LeadAutPag{$author}}{@{$Lab2Bib{$Lab}}}="" if exists $Lab2Bib{$Lab};
$firstauthor=$author;
$firstsortname=$sortname;
- }elsif($see){
- $printname="{$author}$see\\aifirst{$firstauthor}";
- $sortname="$sortname$see$firstsortname";
+ }else{
+ ${$Aut2First{$sortname}}{$firstsortname}="";
+ if($see){
+ $printname="{$author}$see\\aifirst{$firstauthor}";
+ $sortname="$sortname$see$firstsortname";
+ }
}
@{$Aut2Pag{$printname}}{@{$Lab2Ent{$Lab}}}="" if exists $Lab2Ent{$Lab};
@{$Aut2Pag{$printname}}{@{$Lab2Ent{'*'}}}="" if exists $Lab2Ent{'*'};
@@ -317,6 +354,23 @@ for $page (keys %pnlist){
$PageOrder{$page}=&parse_pagenumber($page);
}
+if($also){
+ my $coauthorname;
+ for $coauthorname (keys %Aut2First){
+ my @namelist;
+ my $sortname;
+ for $sortname (sort keys %{$Aut2First{$coauthorname}}){
+ push @namelist, $printname{$sortname};
+ }
+ # we rely on the fact that " " is alphabetically first, so that
+ # $justbehind will end up directly after $coauthorname
+ my $justbehind=$coauthorname." ";
+ my $pseudoname=$also.join($alsosep, @namelist);
+ $printname{$justbehind}=$pseudoname;
+ $plainname{$justbehind}=$pseudoname;
+ }
+}
+
if(exists $opt{'i'}){
# generate file for makeindex: leave the work for makeindex.
my $name;
@@ -340,9 +394,13 @@ if(exists $opt{'i'}){
my $author=$printname{$name};
my $plain=$plainname{$name};
my $rep=$author;
- print AIFILE "% @{$Aut2Lab{$author}}\n" if (exists $opt{'d'});
- $rep=($plain eq $prevplain) ? "\\airep$author" : "\\aitop$author"
- if $plain ne $author;
+ if($Aut2Lab{$author}){
+ print AIFILE "% @{$Aut2Lab{$author}}\n" if(exists $opt{'d'});
+ $rep=($plain eq $prevplain) ? "\\airep$author" : "\\aitop$author"
+ if $plain ne $author;
+ $prevplain=$plain;
+ $authorcount++;
+ }
print AIFILE "\\item[$rep]";
$Aut2Bib{$author}={} unless exists $Aut2Bib{$author};
$LeadAutPag{$author}={} unless exists $LeadAutPag{$author};
@@ -358,8 +416,6 @@ if(exists $opt{'i'}){
}
my $res=&compressed_pages($Aut2Pag{$author},\%pagerep);
print AIFILE " \\aipages{$res}\n";
- $prevplain=$plain;
- $authorcount++;
}
print AIFILE "\\end{theauthorindex}\n";
if(exists $opt{'d'}){ # in draft mode, include some statistics
diff --git a/Master/texmf-dist/doc/latex/authorindex/authorindex.dvi b/Master/texmf-dist/doc/latex/authorindex/authorindex.dvi
deleted file mode 100644
index 497a7885bac..00000000000
--- a/Master/texmf-dist/doc/latex/authorindex/authorindex.dvi
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/authorindex/authorindex.pdf b/Master/texmf-dist/doc/latex/authorindex/authorindex.pdf
new file mode 100644
index 00000000000..a6f11f128a3
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/authorindex/authorindex.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/authorindex/authorindex.tex b/Master/texmf-dist/doc/latex/authorindex/authorindex.tex
index 5044fbd25e9..7b4d2b229f2 100644
--- a/Master/texmf-dist/doc/latex/authorindex/authorindex.tex
+++ b/Master/texmf-dist/doc/latex/authorindex/authorindex.tex
@@ -22,8 +22,8 @@
\renewcommand\descriptionlabel[1]{\hspace\labelsep\normalfont\texttt{#1}}
\title{The \authorindex\ Package}
-\author{Andreas Wettstein\\\texttt{wettstae@ise.ch}}
-\date{September 2002}
+\author{Andreas Wettstein\\\texttt{wettstae@synopsys.com}}
+\date{March 2005}
\begin{document}
@@ -168,13 +168,18 @@ By default, \authorindex\ generates exactly one entry for each author in the
index. All pages with citations of the author's work go into this entry, no
matter what the co-authors for the work that you cite are.
-You can change this behavior with the \ltxinp{\aisee} command. You call
-\ltxinp{\aisee} in the preamble of your document with a string argument. For
-authors that are not the first in the author list of a work cited,
-\authorindex\ generates an entry with this authors name, followed by the string
-you have given to \ltxinp{\aisee}, followed by the name of the first author of
-the cited work. Entries for authors that are first (or even only) authors of a
-work are listed in the author index as usual.
+Optionally, you can generate a reference to first authors in the author list of
+all of the author's works. To this end, you call \ltxinp{\aialso} in the
+preamble of your document. The command takes two string arguments. The first
+argument is put before first author name, the second is used as a separator.
+
+Alternatively, you can change this behavior with the \ltxinp{\aisee} command.
+You call \ltxinp{\aisee} in the preamble of your document with a string
+argument. For authors that are not the first in the author list of a work
+cited, \authorindex\ generates an entry with this authors name, followed by the
+string you have given to \ltxinp{\aisee}, followed by the name of the first
+author of the cited work. Entries for authors that are first (or even only)
+authors of a work are listed in the author index as usual.
For example, if you write in German, you'd put
\begin{verbatim}
@@ -306,6 +311,36 @@ This approach would also work for name prefixes like ``van'' or ``de la''.
Note that the command \ltxinp{\indexspace}, which separates entries that start
with a different letters, is placed according to the format used for sorting.
+
+\subsection{Dealing with name variations}
+
+In different publications, the name of the same author may appear in different
+forms. Causes of variation are differing style conventions of various
+journals, inconsistencies caused by the author, or plain errors.
+
+Bibliographies should give the author names as close to what appears on the
+publication as the bibliography style allows. This in the interest of your
+readers, as is simplifies finding what you cite. But it also implies that
+inconsistencies carry over to the \ltxinp{author} fields of the \BibTeX\ data
+base.
+
+In contrast, for author indices, names should be used consistently. Readers
+consult the author index to find out about the works of a particular person,
+and should find all of them in a single entry, rather than scattered over
+multiple entries that correspond to different forms of the same name.
+
+To meet the conflicting needs for bibliographies and author indices,
+\authorindex\ supports two new fields for \BibTeX\ data base entries:
+\begin{description}
+\item[authauthor] Gives the author name list, using the authoritative form of
+ the authors names. The format is like for the \ltxinp{author} field.
+\item[autheditor] Likewise, for editors.
+\end{description}
+If a new field is present in a \BibTeX\ entry, \authorindex\ uses it instead of
+the \ltxinp{author} or \ltxinp{editor} field. Of course, the latter fields are
+still required for \BibTeX.
+
+
\subsection{Fonts for the names}
\ltxinp{\ainame} is a command with one argument. It determines how the
@@ -524,7 +559,17 @@ these functions to write page information along with the citation key to the
additional output for a few specific packages. Please note that these ``fixes''
may no longer work if newer versions of these packages appear.
+If you use a non-compatible package that is not listed below, it is worthwile
+to have a look into it's source code. I the simplest case, the package might
+simply include one of the listed packages (using \ltxinp{\usepackage}), and
+hence one of the examples below applies. Others might require more effort, but
+the basic strategy for a fix will be always similar to the examples below. If
+you encounter non-compatible packages, please notify me about them (ideally,
+with instructions for a fix) so that I can include them in this manual.
+
+
\subsubsection{\package{chicago}}
+\label{sec:chicago}
The standard version of the \package{chicago} package does not work with
\authorindex. For this package, there is a patch that apparently makes it work
@@ -570,22 +615,30 @@ without the \authorindex\ package.
\subsubsection{\package{natbib}}
Like \package{chicago}, the package \package{natbib} also conflicts with
-\authorindex. Michael Friendly and Patrick W.\ Daly devised a fix for Nelson
-Beebe's \package{authidx} package \cite{Beebe98}, which the former posted to
-\texttt{comp.text.tex}. With a few changes, it seems to work for \authorindex\
-too. You insert in your \file{natbib.cfg} the following lines:
+\authorindex. The following fix is based on a similar fix by Michael Friendly
+and Patrick W.\ Daly for Nelson Beebe's \package{authidx} package
+\cite{Beebe98}, plus additional support for \package{natbib}'s numerical mode
+as proposed by Pieter Eendebak. You insert in your \file{natbib.cfg} the
+following lines:
\begin{verbatim}
% natbib.cfg
-% Asoundingly Egregious Hack to make natbib work with authorindex
-% package:
-% - This tacks on to \NAT@citex, which is just for author-year
-% style citations. There's probably a better way
\AtBeginDocument{%
\@ifpackageloaded{authorindex}{%
- \let\org@@citex\NAT@citex
+ \ifNAT@numbers
+ \let\org@@citex\NAT@citexnum
+ \else
+ \let\org@@citex\NAT@citex
+ \fi
\def\@citex[#1][#2]#3{%
- \typeout {indexing: [#1][#2]{#3}}
- \org@@citex[#1][#2]{#3}\@aicitey{#3}}}{}}
+ \typeout{indexing: [#1][#2]{#3}}%
+ \org@@citex[#1][#2]{#3}%
+ \@aicitey{#3}}%
+ \renewcommand\NAT@wrout[5]{%
+ \if@filesw{%
+ \let\protect\noexpand\let~\relax
+ \immediate\write\@auxout{\string\aibibcite{#5}{#1}}%
+ \immediate\write\@auxout{\string\bibcite{#5}{{#1}{#2}{{#3}}{{#4}}}}}%
+ \fi}}{}}
\endinput
\end{verbatim}
Please note that I tested this work-around superficially. It does not repair a
@@ -593,6 +646,14 @@ conflict that occurs when the \authorindex\ package option \ltxinp{withbib} is
used.
+\subsubsection{Other packages}
+
+\begin{description}
+\item[\package{monog3}] A class from Oxford University Press that used
+ \package{chicago}. See section \ref{sec:chicago}.
+\end{description}
+
+
\section{Problems and restrictions}
Currently, I am aware of the following problems and restrictions:
@@ -623,6 +684,7 @@ Currently, I am aware of the following problems and restrictions:
I want to thank Mark A. Gordon for his substantial improvements to the language
and presentation in this manual.
+
\begin{thebibliography}{3}
\bibitem{Patashnik88a}
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}}%
diff --git a/Master/texmf-dist/tpm/authorindex.tpm b/Master/texmf-dist/tpm/authorindex.tpm
index ee49e4ea4f8..ac77e424bb0 100644
--- a/Master/texmf-dist/tpm/authorindex.tpm
+++ b/Master/texmf-dist/tpm/authorindex.tpm
@@ -3,7 +3,7 @@
<rdf:Description about="http://texlive.dante.de/texlive/Package/authorindex.zip">
<TPM:Name>authorindex</TPM:Name>
<TPM:Type>Package</TPM:Type>
- <TPM:Date>2006/01/21 00:25:32</TPM:Date>
+ <TPM:Date>2006/11/25 15:58:00</TPM:Date>
<TPM:Version></TPM:Version>
<TPM:Creator>rahtz</TPM:Creator>
<TPM:Title>Indexing citations by author names.</TPM:Title>
@@ -16,17 +16,18 @@ along with a list of pages where these citations occur.
<TPM:Size>93568</TPM:Size>
<TPM:License></TPM:License>
<TPM:Build/>
- <TPM:RunFiles size="7157">
+ <TPM:RunFiles size="7414">
texmf-dist/tex/latex/authorindex/authorindex.sty
texmf-dist/tpm/authorindex.tpm
</TPM:RunFiles>
- <TPM:DocFiles size="68727">
-texmf-dist/doc/latex/authorindex/authorindex.dvi
+ <TPM:DocFiles size="243548">
+texmf-dist/doc/latex/authorindex/COPYING
+texmf-dist/doc/latex/authorindex/NEWS
+texmf-dist/doc/latex/authorindex/README
+texmf-dist/doc/latex/authorindex/authorindex
+texmf-dist/doc/latex/authorindex/authorindex.pdf
texmf-dist/doc/latex/authorindex/authorindex.tex
</TPM:DocFiles>
- <TPM:SourceFiles size="17684">
-texmf-dist/source/latex/authorindex/authorindex
- </TPM:SourceFiles>
<TPM:Provides>Package/authorindex</TPM:Provides>
</rdf:Description>
</rdf:RDF>
diff --git a/Master/texmf/lists/authorindex b/Master/texmf/lists/authorindex
index f185d068046..45761cc8d8e 100644
--- a/Master/texmf/lists/authorindex
+++ b/Master/texmf/lists/authorindex
@@ -1,6 +1,10 @@
-texmf-dist/doc/latex/authorindex/authorindex.dvi
+texmf-dist/doc/latex/authorindex/COPYING
+texmf-dist/doc/latex/authorindex/NEWS
+texmf-dist/doc/latex/authorindex/README
+texmf-dist/doc/latex/authorindex/authorindex
+texmf-dist/doc/latex/authorindex/authorindex.pdf
texmf-dist/doc/latex/authorindex/authorindex.tex
-texmf-dist/source/latex/authorindex/authorindex
+
texmf-dist/tex/latex/authorindex/authorindex.sty
texmf-dist/tpm/authorindex.tpm