summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/amscls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-10-14 22:19:57 +0000
committerKarl Berry <karl@freefriends.org>2007-10-14 22:19:57 +0000
commit6e5c0acada6a9c582fe33af8763348a18eb2a0f6 (patch)
treeb9c5791b76f3c25d0cd5207cc35c3bf01f609395 /Master/texmf-dist/tex/latex/amscls
parent53b3eebc589bf2a49e91bd9c9d8112f2b38bce11 (diff)
amsrefs update
git-svn-id: svn://tug.org/texlive/trunk@5189 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/amscls')
-rw-r--r--Master/texmf-dist/tex/latex/amscls/amsbst.sty178
-rw-r--r--Master/texmf-dist/tex/latex/amscls/amsrefs.sty115
-rw-r--r--Master/texmf-dist/tex/latex/amscls/ifoption.sty6
-rw-r--r--Master/texmf-dist/tex/latex/amscls/mathscinet.sty6
-rw-r--r--Master/texmf-dist/tex/latex/amscls/pcatcode.sty16
-rw-r--r--Master/texmf-dist/tex/latex/amscls/rkeyval.sty6
-rw-r--r--Master/texmf-dist/tex/latex/amscls/textcmds.sty6
7 files changed, 291 insertions, 42 deletions
diff --git a/Master/texmf-dist/tex/latex/amscls/amsbst.sty b/Master/texmf-dist/tex/latex/amscls/amsbst.sty
new file mode 100644
index 00000000000..7dd53bba1f7
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/amscls/amsbst.sty
@@ -0,0 +1,178 @@
+%%
+%% This is file `amsbst.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% amsrefs.dtx (with options: `bst')
+%%
+%%% ====================================================================
+%%% @LaTeX-doc-source-file{
+%%% filename = "amsrefs.dtx",
+%%% version = "2.02",
+%%% date = "2006/10/25",
+%%% time = "11:13:05 EDT",
+%%% author = "Michael J Downes and David M. Jones",
+%%% address = "American Mathematical Society,
+%%% Publications Technical Group,
+%%% PO Box 6248,
+%%% Providence, RI 02940,
+%%% USA",
+%%% email = "tech-support@ams.org",
+%%% URL = "http://www.ams.org/",
+%%% abstract = "A LaTeX package that permits bibliography style
+%%% to be controlled completely from the LaTeX side
+%%% instead of being determined chiefly by the BibTeX
+%%% style file.",
+%%% copyright = "Copyright 2001, 2004, 2006, 2007 American
+%%% Mathematical Society.",
+%%% license = "Unlimited copying and redistribution of this file
+%%% are permitted as long as this file is not
+%%% modified. Modifications, and distribution of
+%%% modified versions, are permitted, but only if
+%%% the resulting file is renamed.",
+%%% checksum = "24451 8100 25457 244022",
+%%% docstring = "The checksum field, produced by Robert Solovay's
+%%% checksum utility, gives CRC-16 checksum, lines,
+%%% words, and characters.",
+%%% }
+%%% ====================================================================
+%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesPackage{amsbst}[2004/03/29 v1.68]
+\BibSpec{article}{%
+ +{} {\PrintAuthors} {author}
+ +{.} { } {title}
+ +{.} { } {part}
+ +{:} { } {subtitle}
+ +{.} { \PrintContributions} {contribution}
+ +{.} { \PrintPartials} {partial}
+ +{.} { \emph} {journal}
+ +{} { } {volume}
+ +{} { \parenthesize} {number}
+ +{:} {} {pages}
+ +{,} { \PrintDateB} {date}
+ +{,} { } {status}
+ +{.} { \PrintTranslation} {translation}
+ +{.} { Reprinted in \PrintReprint} {reprint}
+ +{.} { } {note}
+ +{.} {} {transition}
+}
+
+\BibSpec{partial}{%
+ +{} {} {part}
+ +{:} { } {subtitle}
+ +{.} { \PrintContributions} {contribution}
+ +{.} { \emph} {journal}
+ +{} { } {volume}
+ +{} { \parenthesize} {number}
+ +{:} {} {pages}
+ +{,} { \PrintDateB} {date}
+}
+
+\BibSpec{book}{%
+ +{} {\PrintPrimary} {transition}
+ +{.} { \emph} {title}
+ +{.} { } {part}
+ +{:} { \emph} {subtitle}
+ +{.} { } {series}
+ +{,} { \voltext} {volume}
+ +{.} { Edited by \PrintNameList} {editor}
+ +{.} { Translated by \PrintNameList}{translator}
+ +{.} { \PrintContributions} {contribution}
+ +{.} { } {publisher}
+ +{.} { } {organization}
+ +{,} { } {address}
+ +{,} { \PrintEdition} {edition}
+ +{,} { \PrintDateB} {date}
+ +{.} { } {note}
+ +{.} {} {transition}
+ +{.} { \PrintTranslation} {translation}
+ +{.} { Reprinted in \PrintReprint} {reprint}
+ +{.} {} {transition}
+}
+
+\BibSpec{collection.article}{%
+ +{} {\PrintAuthors} {author}
+ +{.} { } {title}
+ +{.} { } {part}
+ +{:} { } {subtitle}
+ +{.} { \PrintContributions} {contribution}
+ +{.} { \PrintConference} {conference}
+ +{.} { \PrintBook} {book}
+ +{.} { In } {booktitle}
+ +{,} { pages~} {pages}
+ +{.} { \PrintDateB} {date}
+ +{.} { \PrintTranslation} {translation}
+ +{.} { Reprinted in \PrintReprint} {reprint}
+ +{.} { } {note}
+ +{.} {} {transition}
+}
+
+\BibSpec{conference}{%
+ +{} {} {title}
+ +{} {\PrintConferenceDetails} {transition}
+}
+
+\BibSpec{innerbook}{%
+ +{.} { \emph} {title}
+ +{.} { } {part}
+ +{:} { \emph} {subtitle}
+ +{.} { } {series}
+ +{,} { \voltext} {volume}
+ +{.} { Edited by \PrintNameList} {editor}
+ +{.} { Translated by \PrintNameList}{translator}
+ +{.} { \PrintContributions} {contribution}
+ +{.} { } {publisher}
+ +{.} { } {organization}
+ +{,} { } {address}
+ +{,} { \PrintEdition} {edition}
+ +{,} { \PrintDateB} {date}
+ +{.} { } {note}
+ +{.} {} {transition}
+}
+
+\BibSpec{report}{%
+ +{} {\PrintPrimary} {transition}
+ +{.} { \emph} {title}
+ +{.} { } {part}
+ +{:} { \emph} {subtitle}
+ +{.} { \PrintContributions} {contribution}
+ +{.} { Technical Report } {number}
+ +{,} { } {series}
+ +{.} { } {organization}
+ +{,} { } {address}
+ +{,} { \PrintDateB} {date}
+ +{.} { \PrintTranslation} {translation}
+ +{.} { Reprinted in \PrintReprint} {reprint}
+ +{.} { } {note}
+ +{.} {} {transition}
+}
+
+\BibSpec{thesis}{%
+ +{} {\PrintAuthors} {author}
+ +{,} { \emph} {title}
+ +{:} { \emph} {subtitle}
+ +{.} { \PrintThesisType} {type}
+ +{.} { } {organization}
+ +{,} { } {address}
+ +{,} { \PrintDateB} {date}
+ +{.} { \PrintTranslation} {translation}
+ +{.} { Reprinted in \PrintReprint} {reprint}
+ +{.} { } {note}
+ +{.} {} {transition}
+}
+\renewcommand{\PrintEditorsA}[1]{%
+ \def\current@bibfield{\bib'editor}%
+ \PrintNames{}{, editor\Plural{s})}{#1}%
+ \erase@field\bib'editor
+}
+\renewcommand{\PrintTranslatorsA}[1]{%
+ \def\current@bibfield{\bib'translator}%
+ \PrintNames{}{, translator\Plural{s}}{#1}%
+ \erase@field\bib'translator
+}
+\endinput
+%%
+%% End of file `amsbst.sty'.
diff --git a/Master/texmf-dist/tex/latex/amscls/amsrefs.sty b/Master/texmf-dist/tex/latex/amscls/amsrefs.sty
index 8fcd754b2e9..8d22263269a 100644
--- a/Master/texmf-dist/tex/latex/amscls/amsrefs.sty
+++ b/Master/texmf-dist/tex/latex/amscls/amsrefs.sty
@@ -9,9 +9,9 @@
%%% ====================================================================
%%% @LaTeX-doc-source-file{
%%% filename = "amsrefs.dtx",
-%%% version = "2.0",
-%%% date = "2004/06/30",
-%%% time = "11:24:39 EDT",
+%%% version = "2.02",
+%%% date = "2006/10/25",
+%%% time = "11:13:05 EDT",
%%% author = "Michael J Downes and David M. Jones",
%%% address = "American Mathematical Society,
%%% Publications Technical Group,
@@ -24,7 +24,14 @@
%%% to be controlled completely from the LaTeX side
%%% instead of being determined chiefly by the BibTeX
%%% style file.",
-%%% checksum = "09127 8030 25325 242081",
+%%% copyright = "Copyright 2001, 2004, 2006, 2007 American
+%%% Mathematical Society.",
+%%% license = "Unlimited copying and redistribution of this file
+%%% are permitted as long as this file is not
+%%% modified. Modifications, and distribution of
+%%% modified versions, are permitted, but only if
+%%% the resulting file is renamed.",
+%%% checksum = "24451 8100 25457 244022",
%%% docstring = "The checksum field, produced by Robert Solovay's
%%% checksum utility, gives CRC-16 checksum, lines,
%%% words, and characters.",
@@ -33,19 +40,14 @@
%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesPackage{amsrefs}[2006/10/25 v2.02]
\def\amsrefs@warning@nl{\PackageWarningNoLine{amsrefs}}
\@ifpackagewith{amsrefs}{beta}{%
- \amsrefs@warning@nl{The beta option is deprecated^^J%
- and will be removed in a future release of amsrefs}
- \expandafter\edef\csname opt@amsrbeta.sty\endcsname
- {\@ptionlist{amsrefs.sty}}%
- \def\@currname{amsrbeta}%
- \expandafter\let\csname amsrbeta.sty-h@@k\endcsname\@empty
- \def\@tempa{\input{amsrbeta.sty}\endinput}%
-}{%
- \let\@tempa\@empty
-}
-\@tempa
+ \amsrefs@warning@nl{The beta option is obsolete}%
+}{}
+\@ifpackagewith{amsrefs}{jpa}{%
+ \amsrefs@warning@nl{The jpa option is obsolete}%
+}{}
\IfFileExists{url.sty}{%
\RequirePackage{url}\relax
\@gobble
@@ -73,7 +75,6 @@
}
\@ifundefined{NormalCatcodes}{\RequirePackage{pcatcode}\relax}{}
\PushCatcodes\NormalCatcodes
-\ProvidesPackage{amsrefs}[2004/06/07 v1.71]
%% WARNING WARNING WARNING: Catcode of apostrophe ' is letter
%% throughout this file.
\catcode`\'=11 % letter
@@ -182,7 +183,6 @@
\DeclareBooleanOption{?}
\DeclareBooleanOption{lite}
\DeclareBooleanOption{beta}
-\DeclareBooleanOption{jpa}
\DeclareBooleanOption{bibtex-style}
\ExecuteOptions{numeric,traditional-quotes,sorted-cites,compressed-cites}
@@ -656,6 +656,11 @@
\let\set:bib'journal\output@xref@a
\let\set:bib'publisher\output@xref@a
\def\set:bib'xref##1##2{\output@xref@{##1}\@empty}%
+ \def\set:bib'book##1##2{\output@inner@xref@{##1}\@empty}%
+ \let\set:bib'conference\set:bib'book
+ \let\set:bib'partial\set:bib'book
+ \let\set:bib'reprint\set:bib'book
+ \let\set:bib'translation\set:bib'book
}
\catcode`\:=12
@@ -685,6 +690,13 @@
\@xp\g@undef\csname bi@#1\endcsname
}%
}
+
+\def\output@inner@xref@#1{%
+ \in@={#1}%
+ \ifin@\else
+ \output@xref@{#1}%
+ \fi
+}
\def\bbl@copy#1\endcsname#2{%
\begingroup
\def\@tempa{#1}%
@@ -760,6 +772,7 @@
\def\bib@print@inner#1#2{%
\begingroup
#2\relax % execute definitions locally
+ \bib@resolve@xrefs
\bib@field@patches
\bib'setup
#1%
@@ -860,6 +873,8 @@
\ifx#1\@empty
\else
\begingroup
+ \@apply\auto@protect\amsrefs@textsymbols
+ \@apply\auto@protect\amsrefs@textaccents
\let\DSK@def\xref@add@toks
\let\DSK@append\xref@append
\toks@\@emptytoks
@@ -1592,7 +1607,17 @@
\let\cite@cj\cite@compress
}%
}
-\def\bibcite#1{\@xp\bibcite@a\csname b@#1\endcsname}
+\def\amsrefs@bibcite#1{\@xp\bibcite@a\csname b@#1\endcsname}
+\AtBeginDocument{%
+ \if@filesw
+ \immediate\write\@auxout{%
+ \string\@ifundefined{amsrefs@bibcite}{}{%
+ \string\let\string\bibcite\string\amsrefs@bibcite
+ }%
+ }%
+ \fi
+ \let\bibcite\amsrefs@bibcite
+}
\def\bibcite@a#1#2{%
\ifx\relax#1%
\gdef#1{\citesel 00#2{}}%
@@ -1629,19 +1654,25 @@
\space\SentenceSpace$\uparrow$\csname br@#1\endcsname
}
\let\PrintBackRefs\@gobble
-\def\ar@hyperlink#1{\hyper@@link [cite]{}{cite.\extr@cite#1}{#1}}
+\newcommand{\shade@cite}{\overshadebox{shaderef-gray}}
+\def\ar@hyperlink#1{%
+ \hyper@@link [cite]{}{cite.\extr@cite#1}{\shade@cite{#1}}%
+}
\def\ar@SK@cite#1{\@bsphack\@xp\SK@\@xp\SK@@ref\@xp{\extr@cite#1}\@esphack}
\AtBeginDocument{%
- \@ifundefined{hyper@@link}{%
- \let\ar@hyperlink\@firstofone
+ \@ifpackageloaded{shaderef}{}{%
+ \let\shade@cite\@empty
+ }%
+ \@ifpackageloaded{hyperref}{}{%
+ \let\ar@hyperlink\shade@cite
\let\hyper@anchorstart\@gobble
\let\hyper@anchorend\relax
- }{}%
- \@ifundefined{SK@@label}{%
+ }%
+ \@ifpackageloaded{showlabels}{}{%
\let\ar@SK@cite\@gobble
\let\SK@@label\@gobble
\let\SK@\@gobbletwo
- }{}%
+ }%
}
\let\amsrefs@textaccents\@empty
\def\DeclareNameAccent{%
@@ -2409,6 +2440,7 @@
\def\bib@reprint#1{%
\begingroup
#1\relax % execute definitions locally
+ \bib@resolve@xrefs
\bib@field@patches
\bib'setup
\IfEmptyBibField{copula}{reprinted in}{\bib'copula} \nopunct
@@ -2422,6 +2454,7 @@
\def\bib@translation#1{%
\begingroup
#1\relax % execute definitions locally
+ \bib@resolve@xrefs
\bib@field@patches
\bib'setup
\let\PrintPrimary\@empty
@@ -2483,14 +2516,23 @@
}
\providecommand{\mdash}{\textemdash}
\providecommand{\ndash}{\textendash}
+\def\@scanforMR#1#2#3#4\@nil{%
+ \def\@tempa{#1#2#3#4}%
+ \if#1M%
+ \if#2R%
+ \def\@tempa{#3#4}%
+ \fi
+ \fi
+}
\def\MR#1{%
\relax\ifhmode\unskip\spacefactor3000 \space\fi
- \def\@tempa##1:##2:##3\@nil{%
- \ifx @##2\@empty##1\else\textbf{##1:}##2\fi
- }%
- \MRhref{#1}{MR \@tempa#1:@:\@nil}%
+ \begingroup
+ \@scanforMR#1\@nil
+ \edef\@tempa{MR\@nx\MRhref{\@tempa}{\@tempa}}%
+ \@xp\endgroup
+ \@tempa
}
-\providecommand{\MRhref}[1]{}
+\providecommand{\MRhref}[2]{#1}
\newcommand{\PrintReviews}[1]{%
\PrintSeries{\fld@elt}{}{,}{ }{,}{ }{,}{ }{}{#1}{}%
}
@@ -2658,7 +2700,11 @@
\amsrefs@warning{backref option requires hyperref package}%
}{%
\let\BackCite\back@cite
- \AtBeginDocument{\@starttoc{brf}{}}%
+ \AtBeginDocument{%
+ \let\ams@saved@toc\tableofcontents
+ \@starttoc{brf}{}%
+ \let\tableofcontents\ams@saved@toc
+ }%
}%
}{%
}
@@ -2692,11 +2738,6 @@
}
}{% initials? FALSE:
} % end conditional code for initials option
-\IfOption{jpa}{%
- \amsrefs@warning{The 'jpa' option is obsolete}%
- \typeout{Trying \string\usepackage{amsjpa} instead ...}%
- \RequirePackage{amsjpa}[2000/02/02]
-}{}
\let\deferredquotes\@empty
\IfOption{logical-quotes}{%
\def\deferredquoteslogical{\deferredquotes}%
@@ -2784,7 +2825,9 @@
\def\citeright{)}%
\def\@citeleft{\ifx\citesel\citesel@object\else\citeleft\fi}%
\def\citepunct{; }
-\let\BibLabel\@empty
+\def\BibLabel{%
+ \hyper@anchorstart{cite.\CurrentBib}\relax\hyper@anchorend
+}
\let\process@citelist\process@citelist@unsorted
\DeclareRobustCommand{\ycite}[1]{%
\star@{\cite@a\citesel@year{#1}}{}%
diff --git a/Master/texmf-dist/tex/latex/amscls/ifoption.sty b/Master/texmf-dist/tex/latex/amscls/ifoption.sty
index 7e6e9039dbe..2052a7547fe 100644
--- a/Master/texmf-dist/tex/latex/amscls/ifoption.sty
+++ b/Master/texmf-dist/tex/latex/amscls/ifoption.sty
@@ -21,6 +21,12 @@
%%% email = "tech-support@ams.org",
%%% URL = "http://www.ams.org/",
%%% abstract = "",
+%%% copyright = "Copyright 2001 American Mathematical Society.",
+%%% license = "Unlimited copying and redistribution of this file
+%%% are permitted as long as this file is not
+%%% modified. Modifications, and distribution of
+%%% modified versions, are permitted, but only if
+%%% the resulting file is renamed.",
%%% checksum = "06695 170 563 5432",
%%% docstring = "The checksum field, produced by Robert Solovay's
%%% checksum utility, gives CRC-16 checksum, lines,
diff --git a/Master/texmf-dist/tex/latex/amscls/mathscinet.sty b/Master/texmf-dist/tex/latex/amscls/mathscinet.sty
index 80ed5d99e57..86466787f53 100644
--- a/Master/texmf-dist/tex/latex/amscls/mathscinet.sty
+++ b/Master/texmf-dist/tex/latex/amscls/mathscinet.sty
@@ -21,6 +21,12 @@
%%% email = "tech-support@ams.org",
%%% URL = "http://www.ams.org/",
%%% abstract = "",
+%%% copyright = "Copyright 2001 American Mathematical Society.",
+%%% license = "Unlimited copying and redistribution of this file
+%%% are permitted as long as this file is not
+%%% modified. Modifications, and distribution of
+%%% modified versions, are permitted, but only if
+%%% the resulting file is renamed.",
%%% checksum = "34681 595 2175 20194",
%%% docstring = "The checksum field, produced by Robert Solovay's
%%% checksum utility, gives CRC-16 checksum, lines,
diff --git a/Master/texmf-dist/tex/latex/amscls/pcatcode.sty b/Master/texmf-dist/tex/latex/amscls/pcatcode.sty
index a9431543c5f..92a4c2d01b5 100644
--- a/Master/texmf-dist/tex/latex/amscls/pcatcode.sty
+++ b/Master/texmf-dist/tex/latex/amscls/pcatcode.sty
@@ -9,11 +9,10 @@
%%% ====================================================================
%%% @LaTeX-doc-source-file{
%%% filename = "pcatcode.dtx",
-%%% version = "1.04",
-%%% date = "2002/04/16",
-%%% time = "09:20:52 EDT",
+%%% version = "1.04b",
+%%% date = "2007/08/17",
+%%% time = "14:48:23 EDT",
%%% author = "Michael J Downes",
-%%% copyright = "Copyright 2001 American Mathematical Society",
%%% address = "American Mathematical Society,
%%% Publications Technical Group,
%%% PO Box 6248,
@@ -24,8 +23,13 @@
%%% abstract = "The pcatcode package changes LaTeX package loading
%%% internals so that all subsequently loaded packages
%%% can rely on having normal catcodes in effect.",
-%%% license = "Artistic",
-%%% checksum = "25118 359 1469 13319",
+%%% copyright = "Copyright 2001 American Mathematical Society.",
+%%% license = "Unlimited copying and redistribution of this file
+%%% are permitted as long as this file is not
+%%% modified. Modifications, and distribution of
+%%% modified versions, are permitted, but only if
+%%% the resulting file is renamed.",
+%%% checksum = "42248 378 1601 14362",
%%% docstring = "The checksum field, produced by Robert Solovay's
%%% checksum utility, gives CRC-16 checksum, lines,
%%% words, and characters.",
diff --git a/Master/texmf-dist/tex/latex/amscls/rkeyval.sty b/Master/texmf-dist/tex/latex/amscls/rkeyval.sty
index 48ae11173e0..c7306c9d11b 100644
--- a/Master/texmf-dist/tex/latex/amscls/rkeyval.sty
+++ b/Master/texmf-dist/tex/latex/amscls/rkeyval.sty
@@ -23,6 +23,12 @@
%%% abstract = "Key-value scanning functions with more restrictive
%%% syntax than the standard keyval package. This permits
%%% some improvements in the error-checking.",
+%%% copyright = "Copyright 2001 American Mathematical Society.",
+%%% license = "Unlimited copying and redistribution of this file
+%%% are permitted as long as this file is not
+%%% modified. Modifications, and distribution of
+%%% modified versions, are permitted, but only if
+%%% the resulting file is renamed.",
%%% checksum = "44721 1116 3178 30537",
%%% docstring = "The checksum field, produced by Robert Solovay's
%%% checksum utility, gives CRC-16 checksum, lines,
diff --git a/Master/texmf-dist/tex/latex/amscls/textcmds.sty b/Master/texmf-dist/tex/latex/amscls/textcmds.sty
index 4f4346c60a1..a8ecbcb872f 100644
--- a/Master/texmf-dist/tex/latex/amscls/textcmds.sty
+++ b/Master/texmf-dist/tex/latex/amscls/textcmds.sty
@@ -23,6 +23,12 @@
%%% abstract = "Short forms for textemdash and the other LaTeX
%%% commands that correspond to ligatures of
%%% convenience.",
+%%% copyright = "Copyright 2001 American Mathematical Society.",
+%%% license = "Unlimited copying and redistribution of this file
+%%% are permitted as long as this file is not
+%%% modified. Modifications, and distribution of
+%%% modified versions, are permitted, but only if
+%%% the resulting file is renamed.",
%%% checksum = "55773 283 1136 10227",
%%% docstring = "The checksum field, produced by Robert Solovay's
%%% checksum utility, gives CRC-16 checksum, lines,