summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-02-01 23:59:33 +0000
committerKarl Berry <karl@freefriends.org>2013-02-01 23:59:33 +0000
commita70d6f1377ea01eeaff566f72280cb46ea5d7384 (patch)
treeaf0146af88e266455f770af56b2e5c66269144df /Master/texmf-dist
parent017f337f3d69a9d9c9d70b904a7a0a09f3b4331e (diff)
amsrefs 2.12 (29jan13)
git-svn-id: svn://tug.org/texlive/trunk@29007 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/amsrefs/amsrdoc.pdfbin151146 -> 301422 bytes
-rw-r--r--Master/texmf-dist/doc/latex/amsrefs/amsrefs.pdfbin566994 -> 601198 bytes
-rw-r--r--Master/texmf-dist/doc/latex/amsrefs/amsxport.pdfbin149517 -> 291339 bytes
-rw-r--r--Master/texmf-dist/doc/latex/amsrefs/changes.pdfbin65129 -> 180728 bytes
-rw-r--r--Master/texmf-dist/doc/latex/amsrefs/cite-xa.pdfbin39513 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/amsrefs/cite-xb.pdfbin44861 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/amsrefs/cite-xh.pdfbin36746 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/amsrefs/cite-xs.pdfbin94964 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/amsrefs/ifoption.pdfbin56162 -> 123992 bytes
-rw-r--r--Master/texmf-dist/doc/latex/amsrefs/mathscinet.pdfbin247312 -> 209826 bytes
-rw-r--r--Master/texmf-dist/doc/latex/amsrefs/pcatcode.pdfbin84458 -> 133523 bytes
-rw-r--r--Master/texmf-dist/doc/latex/amsrefs/rkeyval.pdfbin106360 -> 198834 bytes
-rw-r--r--Master/texmf-dist/doc/latex/amsrefs/textcmds.pdfbin98548 -> 189097 bytes
-rw-r--r--Master/texmf-dist/source/latex/amsrefs/00readme.txt236
-rw-r--r--Master/texmf-dist/source/latex/amsrefs/README254
-rw-r--r--Master/texmf-dist/source/latex/amsrefs/amsrdoc.tex144
-rw-r--r--Master/texmf-dist/source/latex/amsrefs/amsrefs.dtx315
-rw-r--r--Master/texmf-dist/source/latex/amsrefs/amsrefs.faq (renamed from Master/texmf-dist/doc/latex/amsrefs/amsrefs.faq)0
-rw-r--r--Master/texmf-dist/source/latex/amsrefs/amsrefs.ins6
-rw-r--r--Master/texmf-dist/source/latex/amsrefs/cite-xa.tex (renamed from Master/texmf-dist/doc/latex/amsrefs/cite-xa.tex)0
-rw-r--r--Master/texmf-dist/source/latex/amsrefs/cite-xb.tex (renamed from Master/texmf-dist/doc/latex/amsrefs/cite-xb.tex)0
-rw-r--r--Master/texmf-dist/source/latex/amsrefs/cite-xh.tex (renamed from Master/texmf-dist/doc/latex/amsrefs/cite-xh.tex)0
-rw-r--r--Master/texmf-dist/source/latex/amsrefs/cite-xs.tex (renamed from Master/texmf-dist/doc/latex/amsrefs/cite-xs.tex)0
-rw-r--r--Master/texmf-dist/source/latex/amsrefs/gktest.ltb (renamed from Master/texmf-dist/doc/latex/amsrefs/gktest.ltb)0
-rw-r--r--Master/texmf-dist/source/latex/amsrefs/install.txt97
-rw-r--r--Master/texmf-dist/source/latex/amsrefs/jr.bib (renamed from Master/texmf-dist/doc/latex/amsrefs/jr.bib)0
-rw-r--r--Master/texmf-dist/source/latex/amsrefs/manifest.txt2
-rw-r--r--Master/texmf-dist/source/latex/amsrefs/textcmds.dtx34
-rw-r--r--Master/texmf-dist/tex/latex/amsrefs/amsbst.sty15
-rw-r--r--Master/texmf-dist/tex/latex/amsrefs/amsrefs.sty198
-rw-r--r--Master/texmf-dist/tex/latex/amsrefs/textcmds.sty30
31 files changed, 832 insertions, 499 deletions
diff --git a/Master/texmf-dist/doc/latex/amsrefs/amsrdoc.pdf b/Master/texmf-dist/doc/latex/amsrefs/amsrdoc.pdf
index afa0717f58d..b830c049e66 100644
--- a/Master/texmf-dist/doc/latex/amsrefs/amsrdoc.pdf
+++ b/Master/texmf-dist/doc/latex/amsrefs/amsrdoc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/amsrefs/amsrefs.pdf b/Master/texmf-dist/doc/latex/amsrefs/amsrefs.pdf
index 19d5835e992..98ca3fbaf57 100644
--- a/Master/texmf-dist/doc/latex/amsrefs/amsrefs.pdf
+++ b/Master/texmf-dist/doc/latex/amsrefs/amsrefs.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/amsrefs/amsxport.pdf b/Master/texmf-dist/doc/latex/amsrefs/amsxport.pdf
index 91421c1cb33..a7c14494596 100644
--- a/Master/texmf-dist/doc/latex/amsrefs/amsxport.pdf
+++ b/Master/texmf-dist/doc/latex/amsrefs/amsxport.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/amsrefs/changes.pdf b/Master/texmf-dist/doc/latex/amsrefs/changes.pdf
index 6fc5b0bc13f..1adccc4756e 100644
--- a/Master/texmf-dist/doc/latex/amsrefs/changes.pdf
+++ b/Master/texmf-dist/doc/latex/amsrefs/changes.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/amsrefs/cite-xa.pdf b/Master/texmf-dist/doc/latex/amsrefs/cite-xa.pdf
deleted file mode 100644
index 7a3040f4e38..00000000000
--- a/Master/texmf-dist/doc/latex/amsrefs/cite-xa.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/amsrefs/cite-xb.pdf b/Master/texmf-dist/doc/latex/amsrefs/cite-xb.pdf
deleted file mode 100644
index 069c72b4d83..00000000000
--- a/Master/texmf-dist/doc/latex/amsrefs/cite-xb.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/amsrefs/cite-xh.pdf b/Master/texmf-dist/doc/latex/amsrefs/cite-xh.pdf
deleted file mode 100644
index 481b39e2904..00000000000
--- a/Master/texmf-dist/doc/latex/amsrefs/cite-xh.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/amsrefs/cite-xs.pdf b/Master/texmf-dist/doc/latex/amsrefs/cite-xs.pdf
deleted file mode 100644
index e7065a83a44..00000000000
--- a/Master/texmf-dist/doc/latex/amsrefs/cite-xs.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/amsrefs/ifoption.pdf b/Master/texmf-dist/doc/latex/amsrefs/ifoption.pdf
index af8c90e62ba..e240f9b7445 100644
--- a/Master/texmf-dist/doc/latex/amsrefs/ifoption.pdf
+++ b/Master/texmf-dist/doc/latex/amsrefs/ifoption.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/amsrefs/mathscinet.pdf b/Master/texmf-dist/doc/latex/amsrefs/mathscinet.pdf
index 85e503d24d7..7e7d8d8224a 100644
--- a/Master/texmf-dist/doc/latex/amsrefs/mathscinet.pdf
+++ b/Master/texmf-dist/doc/latex/amsrefs/mathscinet.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/amsrefs/pcatcode.pdf b/Master/texmf-dist/doc/latex/amsrefs/pcatcode.pdf
index 56c6ce01fa8..484dbdf7d28 100644
--- a/Master/texmf-dist/doc/latex/amsrefs/pcatcode.pdf
+++ b/Master/texmf-dist/doc/latex/amsrefs/pcatcode.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/amsrefs/rkeyval.pdf b/Master/texmf-dist/doc/latex/amsrefs/rkeyval.pdf
index f182193defc..6359228d3ba 100644
--- a/Master/texmf-dist/doc/latex/amsrefs/rkeyval.pdf
+++ b/Master/texmf-dist/doc/latex/amsrefs/rkeyval.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/amsrefs/textcmds.pdf b/Master/texmf-dist/doc/latex/amsrefs/textcmds.pdf
index ab3573882e7..8ce661b2cfe 100644
--- a/Master/texmf-dist/doc/latex/amsrefs/textcmds.pdf
+++ b/Master/texmf-dist/doc/latex/amsrefs/textcmds.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/amsrefs/00readme.txt b/Master/texmf-dist/source/latex/amsrefs/00readme.txt
deleted file mode 100644
index 2d89ab2e25e..00000000000
--- a/Master/texmf-dist/source/latex/amsrefs/00readme.txt
+++ /dev/null
@@ -1,236 +0,0 @@
-00readme.txt for amsrefs 2.10 [2012/05/08]
-
-See section III (REMARKS ON THIS RELEASE) for notes on the
-compatibility of this release with previous releases.
-
-See also install.txt. There is a history of changes at the end of this
-file.
-
-Copyright 2001-2004, 2007, 2008, 2010, 2011, 2012 American Mathematical Society.
-
-This work may be distributed and/or modified under the
-conditions of the LaTeX Project Public License, either version 1.3c
-of this license or (at your option) any later version.
-The latest version of this license is in
- http://www.latex-project.org/lppl.txt
-and version 1.3c or later is part of all distributions of LaTeX
-version 2005/12/01 or later.
-
-This work has the LPPL maintenance status `maintained'.
-
-The Current Maintainer of this work is the American Mathematical
-Society.
-
-American Mathematical Society
-Technical Support
-Publications Technical Group
-201 Charles Street
-Providence, RI 02904
-USA
-tel: (401) 455-4080
- (800) 321-4267 (USA and Canada only)
-fax: (401) 331-3842
-email: tech-support@ams.org
-
-========================================================================
-
-The amsrefs package deals with bibliographies and citations in LaTeX
-documents. The basic citation command remains more or less the same as
-in standard LaTeX (\cite), but a number of additional variations address
-certain known pitfalls or gaps in the standard LaTeX set of citation
-features.
-
-The command for bibliography items is different -- \bib instead of
-\bibitem -- for reasons that will be evident upon further reading in
-the documentation.
-
-A set of BibTeX style files are provided to allow people to extract
-data from .bib files and produce .bbl files in amsrefs format instead
-of conventional \bibitem format.
-
-User documentation is in amsrdoc.pdf and amsrefs.faq.
-
-Technical documentation (including documentation for package writers)
-is in amsrefs.pdf.
-
-========================================================================
-I. FEATURES
-
--- Preservation of structure.
-
-The internal structural information of the bibliography entries is not
-lost when they are imported from the database file into the LaTeX
-document. This takes on its greatest significance when archiving
-documents in LaTeX form or transmitting them to another user (such as a
-publisher).
-
--- Deferred formatting.
-
-This means that the style of the bibliography can be changed on demand
-without re-importing everything from the original database(s).
-
--- More natural data format for titles.
-
-Proper nouns do not need to have braces added to prevent capitalization
-problems.
-
--- Less ambiguous format for author names.
-
-When author names are given in inverted order (last name first) it is
-possible for LaTeX to unambiguously identify the last name without any
-further markup, even in cases like Saunders Mac Lane (Mac Lane,
-Saunders) versus Stephen H. Lane (Lane, Stephen H.), or Cam Van Tran
-(Tran, Cam Van) versus Bert Van Keulen (Van Keulen, Bert). In
-BibTeX some of these would need to have extra braces added to ensure
-that the surname is accurately distinguished.
-
--- Author-year citations.
-
-There is integrated support for citations in author-year form.
-
--- Back-reference support.
-
-Works in conjunction with the hyperref package.
-
--- Setup requires only LaTeX knowledge.
-
-All bibliography setup can be done in LaTeX; learning another
-programming language (such as, the one used in BibTeX bst files) is
-unnecessary.
-
--- Self-printable database files.
-
-A LaTeX document that contains only a bibliography in amsrefs forms can
-be used as a database for exporting entries to other documents. And
-because it is a LaTeX document, the database can be printed directly at
-any time simply by running it through LaTeX in the usual way.
-
--- Self-contained.
-
-In many cases it seems possible to do without BibTeX entirely. For
-example, if the entries are extracted from a single database file that
-is maintained in sorted order, the bibliography can be printed directly
-by LaTeX on the first pass and the citations resolved on the second
-pass.
-
-========================================================================
-II. GETTING STARTED
-
-1. Install the package, referring to install.txt as needed.
-
-2. There are four example files provided:
-
- cite-xa : Demonstrates an author-year citation scheme. The
- bibliography is embedded in the .tex file instead of
- residing in a separate .bbl file.
-
- cite-xb : Demonstrates usage with more-or-less standard BibTeX
- methods.
-
- cite-xs : Shows how the bbl file can be created by LaTeX itself from a
- suitably presorted ltb file.
-
- cite-xh : A working hyperref/backrefs example.
-
-3. Run LaTeX on cite-xa.tex. Take a look at the messages that have to
- do with citations and the bibliography section. Run LaTeX again to
- resolve the citations and check the output.
-
-4. Run LaTeX on cite-xb.tex. Run BibTeX. Look at the bbl file.
- Interesting, huh? Run LaTeX twice more to resolve the citations.
-
-5. Run LaTeX on cite-xs.tex and look at the output.
-
-6. Run pdflatex on cite-xh.tex (it is set up to use BibTeX also, like
- cite-xb).
-
-========================================================================
-III. REMARKS ON THIS RELEASE
-
-This release fixes a few bugs and restates the license under which the
-package is distributed.
-
-See section IV (CHANGE LOG) for a complete list of user-visible
-changes.
-
-========================================================================
-IV. CHANGE LOG
-
-2004-06-30 amsrefs.dtx 2.0
-
- * Major rewrite of internals. See changes.pdf for information on
- the user-visible changes.
-
-2006-10-25 amsrefs.dtx 2.02
-
- -- Updated copyright and license fields.
- -- Numerous bug fixes.
-
- * amsrefs.dtx 2.02:
- -- Fixed bug in copying cross-referenced entries from .ltb files
- to the .bbl file.
- -- Fixed disappearing table of contents when used with AMS
- document classes.
- -- Enabled xrefs in more fields.
- -- Fixed spacing problems with \MR. Also be more forgiving if
- the argument to \MR begins with "MR" or "MR ".
- -- Added support for showlabels.sty.
- -- Fixed some bugs in the interaction with hyperref.
- -- Removed support for the obsolete beta and jpa package options.
-
- * amsxport.dtx 2.01:
- -- Fixed bug in sort order of references.
-
-2007-10-22 amsrefs.dtx 2.03
-
- -- .sty files now unpack into tex/latex/amsrefs instead of
- tex/latex/amscls.
-
- * amsrefs.dtx 2.03:
- -- Added the msc-links option.
- -- \nocite no longer produces a back reference with the backrefs
- option.
- -- The backrefs option no longer automatically loads hyperref.
- -- Fixed support for showkeys (not showlabels, as incorrectly
- stated in the release notes for 2.02) and the showkeys
- notcite option.
- -- Modified the bibdiv, bibchapter and bibsection environments
- to set the page headings correctly for non-AMS document
- classes.
- -- For journals with issue numbers but no volumes, the issue
- number is now treated as a volume number, per AMS house
- style.
- -- \cite and related commands can now be used within the fields
- of a \bib item, for example, note={See also \cite{SokalB1998}}
-
- * textcmds.dtx 1.06:
- -- Added \q for symmetry with \qq.
-
-amrefs.dtx 2.03, 2.04, 2.05: AMS-internal modifications only.
-
-2008-07-25 amsrefs.dtx 2.06
-
- -- Modified \BibLabel to typeset numeric labels flush-right
- instead of flush-left, per AMS house style.
-
-2008-07-25 amsrefs.dtx 2.07: AMS-internal modifications.
-
-2010-08-13 amsrefs.dtx 2.08
-
- -- Updated license to LPPL.
- -- Patched author-year \BibLabel to support hyperref.
- -- Added \biblistfont to support easier customization of
- bibliography font.
-
-2010-08-17 amsrefs.dtx 2.09
-
- -- Restored support for \citeform that was inadvertently lost
- somewhere along the way.
- -- .bst files now unpack into bibtex/bst/amsrefs instead of
- bibtex/bst/ams
- -- .bib files now unpack into bibtex/bib/amsrefs instead of
- bibtex/bib/ams
-
-2012-05-08 amsrefs.dtx 2.10
- -- patched amsbst.sty to remove unwanted close paren from \PrintEditorsA
- -- patched \@endbiblist to reset \previous@primary between biblists
diff --git a/Master/texmf-dist/source/latex/amsrefs/README b/Master/texmf-dist/source/latex/amsrefs/README
index 2d89ab2e25e..0571c4c4dbe 100644
--- a/Master/texmf-dist/source/latex/amsrefs/README
+++ b/Master/texmf-dist/source/latex/amsrefs/README
@@ -1,12 +1,6 @@
-00readme.txt for amsrefs 2.10 [2012/05/08]
+README for amsrefs 2.12 [2013/01/15]
-See section III (REMARKS ON THIS RELEASE) for notes on the
-compatibility of this release with previous releases.
-
-See also install.txt. There is a history of changes at the end of this
-file.
-
-Copyright 2001-2004, 2007, 2008, 2010, 2011, 2012 American Mathematical Society.
+Copyright 2001-2004, 2007, 2008, 2010-2013 American Mathematical Society.
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3c
@@ -33,12 +27,21 @@ fax: (401) 331-3842
email: tech-support@ams.org
========================================================================
+ CONTENTS
+I. OVERVIEW
+II. FEATURES
+III. INSTALLATION AND GETTING STARTED
+IV. REMARKS ON THIS RELEASE
+V. CHANGE LOG
+
+========================================================================
+I. OVERVIEW
-The amsrefs package deals with bibliographies and citations in LaTeX
-documents. The basic citation command remains more or less the same as
-in standard LaTeX (\cite), but a number of additional variations address
-certain known pitfalls or gaps in the standard LaTeX set of citation
-features.
+The amsrefs package supports bibliographies and citations in LaTeX
+documents. The basic citation command remains more or less the same
+as in standard LaTeX (\cite), but a number of additional variations
+address certain known pitfalls or gaps in the standard LaTeX set of
+citation features.
The command for bibliography items is different -- \bib instead of
\bibitem -- for reasons that will be evident upon further reading in
@@ -54,25 +57,29 @@ Technical documentation (including documentation for package writers)
is in amsrefs.pdf.
========================================================================
-I. FEATURES
+II. FEATURES
-- Preservation of structure.
-The internal structural information of the bibliography entries is not
-lost when they are imported from the database file into the LaTeX
-document. This takes on its greatest significance when archiving
-documents in LaTeX form or transmitting them to another user (such as a
-publisher).
+With BibTeX alone, the structure of a bibitem in a .bib file is lost
+when items are imported into a .bbl file for direct processing by
+LaTeX. With amsrefs, there is no such conversion; LaTeX typesets the
+bibliography directly from the structured data. The greatest
+potential advantage of this is seen when archiving documents in LaTeX
+form or transmitting them to another user (such as a publisher).
-- Deferred formatting.
-This means that the style of the bibliography can be changed on demand
-without re-importing everything from the original database(s).
+Since bibliography entries are stored in structured format in the
+LaTeX file and the formatting is under the control of a LaTeX package
+instead of a separate program, the style of the bibliography can be
+changed on demand without re-importing everything from the original
+database(s).
-- More natural data format for titles.
-Proper nouns do not need to have braces added to prevent capitalization
-problems.
+Proper nouns do not need to have braces added to prevent
+capitalization problems.
-- Less ambiguous format for author names.
@@ -80,9 +87,9 @@ When author names are given in inverted order (last name first) it is
possible for LaTeX to unambiguously identify the last name without any
further markup, even in cases like Saunders Mac Lane (Mac Lane,
Saunders) versus Stephen H. Lane (Lane, Stephen H.), or Cam Van Tran
-(Tran, Cam Van) versus Bert Van Keulen (Van Keulen, Bert). In
-BibTeX some of these would need to have extra braces added to ensure
-that the surname is accurately distinguished.
+(Tran, Cam Van) versus Bert Van Keulen (Van Keulen, Bert). In BibTeX
+some of these would need to have extra braces added to ensure that the
+surname is accurately distinguished.
-- Author-year citations.
@@ -114,7 +121,7 @@ by LaTeX on the first pass and the citations resolved on the second
pass.
========================================================================
-II. GETTING STARTED
+III. INSTALLATION AND GETTING STARTED
1. Install the package, referring to install.txt as needed.
@@ -145,41 +152,142 @@ II. GETTING STARTED
cite-xb).
========================================================================
-III. REMARKS ON THIS RELEASE
+IV. REMARKS ON THIS RELEASE
+
+Version 2.12 of amsrefs implements two new features for the biblist
+environment, one new entry type, one new warning, and one bug fix.
+
+New features: The biblist environment now takes an optional argument
+ consisting of an asterisk followed by a brace-delimited set of
+ key-value pairs. The currently supported keys are "labels," which
+ changes the label style of the current biblist, and "prefix,"
+ which adds a prefix to each label. For example, if you are using
+ numeric labels, then
+
+ \begin{biblist}*{prefix={A}}
+
+ will result in items labeled A1, A2, etc., instead of 1, 2, etc.
+
+ Similarly,
+
+ \begin{biblist}*{labels={alphabetic}}
+
+ will switch to alphabetic labels for the current bibliography.
+ Other allowable values are "numeric" and "shortalphabetic."
+
+ The biblist environment already takes a []-delimited optional
+ argument, so if you want to use both, the *-argument comes last:
+
+ \begin{biblist}[\normalsize]*{...}
+
+ NOTE: Use of non-numeric prefixes or of mixed numeric and
+ non-numeric label styles can interfere with the citation sorting
+ and compression features, depending on exactly how you arrange
+ your \cite's. You may need to pass the non-sorted-cites and
+ non-compressed-cites options to amsrefs to get the correct
+ behavior.
-This release fixes a few bugs and restates the license under which the
-package is distributed.
+New entry type: There is now a webpage entry designed for references
+ to online resources. It takes the following fields: accessdate,
+ author, date, note, subtitle, title, url.
-See section IV (CHANGE LOG) for a complete list of user-visible
-changes.
+New warning: A common mistake when using non-numeric labels is to
+ place the bibliography items in an order that is incompatible with
+ the labels assigned by amsrefs. This can result in a sequence
+ such as this
+
+ [D] John Doe. ...
+ [DS] John Doe and Jane Smith. ...
+ [D] John Dunn. ...
+
+ where amsrefs does not automatically replace the first and third
+ labels by "D1" and "D2" as it would if they were consecutive.
+ This is because the real error lies in attempting to force the
+ labels into an unordered sequence. Readers are entitled to expect
+ that reference "D2" lies between references "D1" and "DS" in the
+ bibliography just as they are entitled to expect that reference
+ [2] lies between references [1] and [3].
+
+ If amsrefs encounters a situation like this, it will now issue a
+ warning. There are three ways to resolve the problem:
+
+ 1. Rearrange the items in an order that is compatible with the
+ label style you have chosen.
+
+ 2. Choose a different label style that is compatible with the
+ order you have chosen for the items.
+
+ 3. Use the label field to override the automatically-generated
+ label and leave your readers to their own devices.
+
+Bug fix: Spaces are now ignored inside the first argument (the
+ citekey) to \bib. Previously, something like
+
+ \bib{Doe 1998}{...}{...}
+
+ along with
+
+ \cite{Doe 1998}
+
+ would result in a warning that the citation 'Doe1998' was
+ undefined since the space was stripped from the argument to \cite,
+ but not from the first argument to \bib.
========================================================================
-IV. CHANGE LOG
+V. CHANGE LOG (REVERSE CHRONOLOGICAL ORDER)
-2004-06-30 amsrefs.dtx 2.0
+2012-01-15 amsrefs.dtx v2.12
+ -- Added *-optional argument to biblist to allow setting of new
+ per-biblist prefix and labels options.
+ -- Added new webpage entry type.
+ -- Patched \bib to ignore spaces inside the citekey for
+ compatibility with \cite.
+ -- Add a warning if an out-of-order duplicate biblabel stem is
+ detected.
- * Major rewrite of internals. See changes.pdf for information on
- the user-visible changes.
+2012-07-26 amsrefs.dtx v2.11
+ -- Minimal support for mixing \bibitem with \bib. This is *not*
+ recommended practice and will not be mentioned in the user
+ documentation, but it is necessary for certain internal AMS
+ applications.
-2006-10-25 amsrefs.dtx 2.02
+ -- Eliminated the "(to appear in print)" note that \PrintDOI used
+ to add if there was was no volume field.
- -- Updated copyright and license fields.
- -- Numerous bug fixes.
+ -- Added \citeyear to aid in emulating natbib.
- * amsrefs.dtx 2.02:
- -- Fixed bug in copying cross-referenced entries from .ltb files
- to the .bbl file.
- -- Fixed disappearing table of contents when used with AMS
- document classes.
- -- Enabled xrefs in more fields.
- -- Fixed spacing problems with \MR. Also be more forgiving if
- the argument to \MR begins with "MR" or "MR ".
- -- Added support for showlabels.sty.
- -- Fixed some bugs in the interaction with hyperref.
- -- Removed support for the obsolete beta and jpa package options.
+ * textcmds.dtx 2.00:
+ -- Replaced most \newcommand's by \providecommand to minimize
+ chances of conflicts with other packages or user definitions.
- * amsxport.dtx 2.01:
- -- Fixed bug in sort order of references.
+2012-05-08 amsrefs.dtx 2.10
+ -- patched amsbst.sty to remove unwanted close paren from \PrintEditorsA
+ -- patched \@endbiblist to reset \previous@primary between biblists
+
+2010-08-17 amsrefs.dtx 2.09
+
+ -- Restored support for \citeform that was inadvertently lost
+ somewhere along the way.
+ -- .bst files now unpack into bibtex/bst/amsrefs instead of
+ bibtex/bst/ams
+ -- .bib files now unpack into bibtex/bib/amsrefs instead of
+ bibtex/bib/ams
+
+2010-08-13 amsrefs.dtx 2.08
+
+ -- Updated license to LPPL.
+ -- Patched author-year \BibLabel to support hyperref.
+ -- Added \biblistfont to support easier customization of
+ bibliography font.
+
+2008-07-25 amsrefs.dtx 2.07: AMS-internal modifications.
+
+2008-07-25 amsrefs.dtx 2.06
+
+ -- Modified \BibLabel to typeset numeric labels flush-right
+ instead of flush-left, per AMS house style.
+
+amrefs.dtx 2.03, 2.04, 2.05: AMS-internal modifications only.
2007-10-22 amsrefs.dtx 2.03
@@ -206,31 +314,27 @@ IV. CHANGE LOG
* textcmds.dtx 1.06:
-- Added \q for symmetry with \qq.
-amrefs.dtx 2.03, 2.04, 2.05: AMS-internal modifications only.
-
-2008-07-25 amsrefs.dtx 2.06
-
- -- Modified \BibLabel to typeset numeric labels flush-right
- instead of flush-left, per AMS house style.
-
-2008-07-25 amsrefs.dtx 2.07: AMS-internal modifications.
+2006-10-25 amsrefs.dtx 2.02
-2010-08-13 amsrefs.dtx 2.08
+ -- Updated copyright and license fields.
+ -- Numerous bug fixes.
- -- Updated license to LPPL.
- -- Patched author-year \BibLabel to support hyperref.
- -- Added \biblistfont to support easier customization of
- bibliography font.
+ * amsrefs.dtx 2.02:
+ -- Fixed bug in copying cross-referenced entries from .ltb files
+ to the .bbl file.
+ -- Fixed disappearing table of contents when used with AMS
+ document classes.
+ -- Enabled xrefs in more fields.
+ -- Fixed spacing problems with \MR. Also be more forgiving if
+ the argument to \MR begins with "MR" or "MR ".
+ -- Added support for showlabels.sty.
+ -- Fixed some bugs in the interaction with hyperref.
+ -- Removed support for the obsolete beta and jpa package options.
-2010-08-17 amsrefs.dtx 2.09
+ * amsxport.dtx 2.01:
+ -- Fixed bug in sort order of references.
- -- Restored support for \citeform that was inadvertently lost
- somewhere along the way.
- -- .bst files now unpack into bibtex/bst/amsrefs instead of
- bibtex/bst/ams
- -- .bib files now unpack into bibtex/bib/amsrefs instead of
- bibtex/bib/ams
+2004-06-30 amsrefs.dtx 2.0
-2012-05-08 amsrefs.dtx 2.10
- -- patched amsbst.sty to remove unwanted close paren from \PrintEditorsA
- -- patched \@endbiblist to reset \previous@primary between biblists
+ * Major rewrite of internals. See changes.pdf for information on
+ the user-visible changes.
diff --git a/Master/texmf-dist/source/latex/amsrefs/amsrdoc.tex b/Master/texmf-dist/source/latex/amsrefs/amsrdoc.tex
index 9c29af18082..ea3357a1907 100644
--- a/Master/texmf-dist/source/latex/amsrefs/amsrdoc.tex
+++ b/Master/texmf-dist/source/latex/amsrefs/amsrdoc.tex
@@ -1,6 +1,6 @@
%% filename: amsrdoc.tex
-%% version: 1.03
-%% date: 2008/10/27
+%% version: 1.04
+%% date: 2013/01/16
%%
%% American Mathematical Society
%% Technical Support
@@ -13,7 +13,7 @@
%% fax: (401) 331-3842
%% email: tech-support@ams.org
%%
-%% Copyright 2004, 2006-2008, 2010 American Mathematical Society.
+%% Copyright 2004, 2006-2008, 2010, 2013 American Mathematical Society.
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
@@ -35,6 +35,7 @@
\hyphenation{herme-neutics}
\usepackage{amsrefs}
+\usepackage{amsthm}
\renewcommand*\descriptionlabel[1]{\hspace\labelsep
\normalfont\bfseries #1:}
@@ -43,6 +44,11 @@
\makeatletter
+\newtheoremstyle{note}{3pt}{3pt}{}{}{\bfseries}{:}{.5em}{}
+
+\theoremstyle{note}
+\newtheorem*{note}{Note}
+
\def\nitem[#1]{\item[#1\@gobble]}
\DeclareRobustCommand{\fld}{\category@index{field}}
@@ -71,7 +77,7 @@
\title{User's Guide to the \pkg{amsrefs} Package}
\author{David M. Jones\\American Mathematical Society}
-\date{October 27, 2008}
+\date{January 16, 2013}
\begin{document}
@@ -439,6 +445,56 @@ write
\begin{biblist}[\setcounter{bib}{-1}]
\end{verbatim}
+The \env{biblist} environment also takes a second optional argument
+that can be used to modify the current bibliography. This argument
+consists of an asterisk followed by a set of key-value pairs
+surrounded by braces:
+\begin{verbatim}
+ \begin{biblist}*{key={val},...}
+\end{verbatim}
+Two keys are supported at present:
+\begin{description}
+
+\item[labels]
+
+Set this to ``numeric,'' ``alphabetic,'' or ``shortalphabetic'' to
+override the default label style for the current bibliography.
+
+\item[prefix]
+
+The value of this key will be prepended to each of the labels in the
+current bibliography.
+
+\end{description}
+\begin{note}
+Neither of these can be used with the \opt{author-year} option.
+\end{note}
+For example, if you are using numeric labels, then
+\begin{verbatim}
+ \begin{biblist}*{prefix={A}}
+\end{verbatim}
+will cause the items to be labeled ``A1,'' ``A2,'' etc. Similarly,
+\begin{verbatim}
+ \begin{biblist}*{labels={alphabetic}}
+\end{verbatim}
+will cause the current list to be labeled alphabetically instead of
+numerically.
+
+\begin{note}
+Depending on your specific use of \cn{cite}s, use of non-numeric
+prefixes or of mixed numeric and non-numeric label styles can
+interfere with citation sorting and compression
+(section~\ref{sec:sorting}). You may need to pass the
+\opt{non-sorted-cites} and \opt{non-compressed-cites} options to
+amsrefs to get the correct behavior.
+\end{note}
+
+If you want to use both types of optional arguments, the key-value
+pairs come second:
+\begin{verbatim}
+ \begin{biblist}[\normalsize]*{...}
+\end{verbatim}
+
Each \env{biblist} environment resets the \cnt{bib} counter so that
its items are numbered starting from~1. If you want the numbering to
start where the last \env{biblist} left off, use the \env{biblist*}
@@ -688,6 +744,17 @@ Like \emph{report} but produced by the author for an educational
institution to satisfy the requirements for a degree. Not (normally)
produced by a commercial publisher for sale.
+\item[webpage]
+
+An online resource. It is limited to the following fields:
+\fld{accessdate},
+\fld{author},
+\fld{date},
+\fld{note},
+\fld{subtitle},
+\fld{title},
+\fld{url}.
+
\end{description}
\subsection{Field names for the \cn{bib} command}
@@ -737,6 +804,12 @@ The meaning of many of these should be self-evident, so comments will
be kept to a minimum.
\begin{description}
+\item[accessdate]
+
+Used to specify the date on which a \btype{webpage} was viewed, as
+opposed to the date on which the resource was last modified, which
+would be put in the \fld{date} field.
+
\item[address]
Usually the address of the publisher or other issuing organization,
@@ -1194,7 +1267,59 @@ digits of the year are used in the label. The \opt{y2k} instructs
\end{description}
-\subsection{Citation sorting and compression}
+\begin{note}
+Since \pkg{amsrefs} leaves the order of the bibliography items up to
+the user, a common mistake when using non-numeric labels (especially
+\opt{shortalphabetic} labels) is to put the items in an order that is
+incompatible with the natural order of the labels. This can result in
+a sequence such as this:
+\begin{biblist}*{labels={shortalphabetic}}
+
+\bib{A}{article}{
+ title={\dots},
+ author={Doe, John},
+}
+
+\bib{C}{article}{
+ title={\dots},
+ author={Doe, John},
+ author={Smith, Jane},
+}
+
+\bib{B}{article}{
+ title={\dots},
+ author={Dunn, John},
+}
+\end{biblist}
+where \pkg{amsrefs} does not automatically replace the first and third
+labels by ``D1'' and ``D2'' as it would if they were consecutive.
+This is because the real error lies in attempting to force the labels
+into an unordered sequence. Readers are entitled to find reference
+``D2'' between references ``D1'' and~``DS'' in the bibliography just
+as they are entitled to find reference~[2] between references [1]
+and~[3].
+
+If \pkg{amsrefs} encounters a situation like this, it will issue a
+warning. There are three ways to resolve the problem:
+\begin{enumerate}
+
+\item
+Rearrange the items in an order that is compatible with the label
+style you have chosen.
+
+\item
+Choose a different label style that is compatible with the order you
+have chosen for the items.
+
+\item
+Use the \fld{label} field to override the automatically-generated
+label and leave your readers to their own devices.
+
+\end{enumerate}
+
+\end{note}
+
+\subsection{Citation sorting and compression}\label{sec:sorting}
When numeric citation labels are being used and \pkg{amsrefs}
encounters a list of multiple citations (for example,
@@ -1483,7 +1608,9 @@ would thus be coded as follows:
\end{verbatim}
For symmetry, a \cn{citeauthor} command, which produces the list of
authors without the year, is also provided, and plural forms
-\cn{ycites} and \cn{ocites} are provided to mirror \cn{cites}.
+\cn{ycites} and \cn{ocites} are provided to mirror \cn{cites}. There
+is also a \cn{citeyear} command that is identical to \cn{ycite} except
+that it suppresses the surrounding parentheses.
Finally, in some author-year styles, if there are three or more
authors, \cn{cite} and \cn{ocite} will produce abbreviated author
@@ -1732,4 +1859,9 @@ the comma in front of the line break, as desired:
Text\dots
\end{quote}
+\subsection{Defining custom entry types or styles}
+
+See the documentation of \cn{BibSpec} and related commands in ``The
+\pkg{amsrefs} package'' (\fn{amsrefs.pdf}).
+
\end{document}
diff --git a/Master/texmf-dist/source/latex/amsrefs/amsrefs.dtx b/Master/texmf-dist/source/latex/amsrefs/amsrefs.dtx
index 5f7f155d810..60ad1633760 100644
--- a/Master/texmf-dist/source/latex/amsrefs/amsrefs.dtx
+++ b/Master/texmf-dist/source/latex/amsrefs/amsrefs.dtx
@@ -1,6 +1,6 @@
% \def\filename{amsrefs.dtx}
-% \def\fileversion{2.10}
-% \def\filedate{2012/05/08}
+% \def\fileversion{2.12}
+% \def\filedate{2013/01/16}
%
% \iffalse meta-comment
%
@@ -15,7 +15,7 @@
% fax: (401) 331-3842
% email: tech-support@ams.org
%
-% Copyright 2001, 2004, 2006, 2007, 2010, 2012 American Mathematical Society.
+% Copyright 2001, 2004, 2006, 2007, 2010, 2012, 2013 American Mathematical Society.
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3c
@@ -834,7 +834,7 @@
% Standard declaration of package name and date.
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesPackage{amsrefs}[2012/05/08 v2.10]
+\ProvidesPackage{amsrefs}[2013/01/16 v2.12]
% \end{macrocode}
%
% \begin{macro}{\amsrefs@warning@nl}
@@ -1374,6 +1374,7 @@
% \end{macrocode}
%
% \begin{macrocode}
+\DefineSimpleKey{bib}{accessdate}
\DefineSimpleKey{bib}{address}
\DefineSimpleKey{bib}{book}
\DefineSimpleKey{bib}{booktitle}
@@ -1783,8 +1784,17 @@
+{.} {} {transition}
+{} {\SentenceSpace \PrintReviews} {review}
}
-% \end{macrocode}
-%
+
+\BibSpec{webpage}{%
+ +{} {\PrintAuthors} {author}
+ +{,} { \emph} {title}
+ +{:} { \emph} {subtitle}
+ +{} { \PrintDate} {date}
+ +{,} { \url} {url}
+ +{.} { Accessed \PrintDateField} {accessdate}
+ +{.} { } {note}
+ +{.} {} {transition}
+}
% \begin{macrocode}
\BibSpecAlias{periodical}{book}
\BibSpecAlias{collection}{book}
@@ -1835,6 +1845,11 @@
\newcounter{bib}
% \end{macrocode}
%
+% \begin{macrocode}
+\DefineSimpleKey{biblist}{prefix}
+\DefineSimpleKey{biblist}{labels}
+% \end{macrocode}
+%
% \begin{environment}{biblist}
% \begin{macrocode}
\newenvironment{biblist}{%
@@ -1865,12 +1880,48 @@
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\amsrefs@@lbibitem}
+% \begin{macro}{\amsrefs@bibitem}
+% Reference processing at the AMS sometimes results in raw
+% \cs{bibitem} entries being interspersed with \cs{bib} entries in
+% a bibliography. For that to work, we need to modify
+% \cs{@lbibitem} and \cs{@bibitem} to interoperate more smoothly
+% with \pkg{amsrefs}.
+% \begin{macrocode}
+\def\amsrefs@lbibitem[#1]#2{%
+ \begingroup
+ \def\CurrentBib{#2}%
+ \def\thebib{#1}%
+ \@nmbrlistfalse
+ \item\leavevmode
+ \if@filesw
+ {\let\protect\noexpand
+ \immediate\write\@auxout{\string\bibcite{#2}{{#1}{}}}}%
+ \fi
+ \endgroup
+ \ignorespaces
+}
+
+\def\amsrefs@bibitem#1{%
+ \def\CurrentBib{#1}%
+ \item
+ \if@filesw
+ \immediate\write\@auxout{\string\bibcite{#1}{{\the\value{\@listctr}}{}}}%
+ \fi
+ \ignorespaces
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
% \begin{macro}{\@biblist}
% \begin{macrocode}
\newcommand\@biblist[1][]{%
\stepcounter{bib@env}
\biblistfont
\labelsep .5em\relax
+ \let\@bibitem\amsrefs@bibitem
+ \let\@lbibitem\amsrefs@lbibitem
\list{\BibLabel}{%
\restore@labelwidth
\@maxlabelwidth\z@
@@ -1889,6 +1940,25 @@
\widowpenalty\clubpenalty
\frenchspacing
\ResetCapSFCodes
+ \star@{\@biblistsetup}{}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@biblistsetup}
+% \begin{macrocode}
+\newcommand{\@biblistsetup}[1]{%
+ \RestrictedSetKeys{}{biblist}{\the\rsk@toks}{#1}%
+ \rkvIfEmpty{biblist}{prefix}{}{%
+ \let\amsrefs@label@prefix\biblist'prefix
+ }%
+ \rkvIfEmpty{biblist}{labels}{}{%
+ \@ifundefined{amsrefs@option@\biblist'labels}{%
+ \amsrefs@warning{Invalid label style `\biblist'labels`}%
+ }{%
+ \csname amsrefs@option@\biblist'labels\endcsname
+ }%
+ }%
}
% \end{macrocode}
% \end{macro}
@@ -2046,10 +2116,13 @@
% \macroarg{2}{bibtype}
% \begin{macrocode}
\newcommand{\BibItem}[2]{%
- \def\@tempa{#1}%
+ \vdef\@tempa{#1}%
+ \edef\@tempa{%
+ \edef\@nx\@tempa{\@nx\@xp\@nx\zap@space\@tempa\space\@nx\@empty}%
+ }%
+ \@tempa
\edef\@tempb{%
- \@nx\@bibdef\@xp\@nx\csname setbib@#2\endcsname{#2}%
- {\macrotext\@tempa}%
+ \@nx\@bibdef\@xp\@nx\csname setbib@#2\endcsname{#2}{\@tempa}%
}%
\@tempb
}
@@ -2082,7 +2155,7 @@
% \begin{macro}{\bib@exec}
% And \cs{bib@exec} is a pointer to the procedure that
% \cs{normal@bibdef} will invoke to process the key-value pairs
-% after they've been parsed. It has one
+% after they've been parsed. It has one
% of these values:
% \begin{enumerate}
%
@@ -2334,12 +2407,6 @@
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}{\numeric@refs}
-% \begin{macrocode}
-\def\numeric@refs{00}
-% \end{macrocode}
-% \end{macro}
-%
% \begin{macro}{\bib@print}
% \MacroArgs
% \macroarg{1}{citekey}
@@ -2881,6 +2948,54 @@
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\alpha@label@}
+% \begin{macrocode}
+\def\alpha@label@{%
+ \ifx\@empty\bib'label
+ \def\thebib{\CurrentBib}%
+ \else
+ \let\thebib\bib'label
+ \fi
+}%
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\amsrefs@option@numeric}
+% \begin{macrocode}
+\def\amsrefs@option@numeric{%
+ \let\alpha@label\relax
+ \let\generate@label\relax
+ % \@nmbrlisttrue
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\amsrefs@option@alphabetic}
+% \begin{macrocode}
+\def\amsrefs@option@alphabetic{%
+ \let\alpha@label\alpha@label@
+ \let\generate@label\generate@alphalabel
+ \let\calc@author@part\calc@author@part@
+ \let\@suffix@format\@alph
+ \let\append@label@year\append@label@year@
+ % \@nmbrlistfalse
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\amsrefs@option@shortalphabetic}
+% \begin{macrocode}
+\def\amsrefs@option@shortalphabetic{%
+ \let\alpha@label\alpha@label@
+ \let\generate@label\generate@alphalabel
+ \let\calc@author@part\calc@author@part@short
+ \let\@suffix@format\@arabic
+ \let\append@label@year\@empty
+ % \@nmbrlistfalse
+}
+% \end{macrocode}
+% \end{macro}
+%
% \begin{macro}{\bib@cite}
% When \cs{bib@cite} is called, author name and year are available
% in \cs{bib@author} and \cs{bib@year}.
@@ -3009,6 +3124,18 @@
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\DuplicateBibKeyWarning}
+% \begin{macrocode}
+\def\DuplicateBibLabelWarning{%
+ \amsrefs@warning{%
+ Duplicate biblabel stem `\current@stem ' detected.\MessageBreakNS
+ This usually means the order of the bibitems\MessageBreakNS
+ is incompatible with the style of labels\MessageBreakNS
+ you are using}%
+}
+% \end{macrocode}
+% \end{macro}
+%
% \begin{macro}{\bibcite@write}
% \begin{macrocode}
\def\bibcite@write#1{%
@@ -3095,7 +3222,11 @@
\begingroup
\protected@edef\@{%
\endgroup
- \protect\section*{#1}%
+ \ifx\@bibtitlestyle\undefined
+ \protect\section*{#1}%
+ \else
+ \protect\@bibtitlestyle
+ \fi
\protect\bib@div@mark{#1}%
}%
\@
@@ -5829,6 +5960,18 @@
\let\current@year\@empty
% \end{macrocode}
%
+% \begin{macro}{\amsrefs@label@prefix}
+% \begin{macrocode}
+\let\amsrefs@label@prefix\@empty
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\thebib}
+% \begin{macrocode}
+\def\thebib{\amsrefs@label@prefix\@arabic\c@bib}
+% \end{macrocode}
+% \end{macro}
+%
% \begin{macro}{\append@to@stem}
% \begin{macrocode}
\def\append@to@stem{\global\@concat\current@stem}
@@ -5849,7 +5992,7 @@
% current stem to the empty string.
% \begin{macrocode}
\global\let\previous@stem\current@stem
- \global\let\current@stem\@empty
+ \global\let\current@stem\amsrefs@label@prefix
% \end{macrocode}
% The list of primary contributors is available to us in
% \cs{current@primary} in the form
@@ -5905,9 +6048,9 @@
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}{\calc@author@part}
+% \begin{macro}{\calc@author@part@}
% \begin{macrocode}
-\def\calc@author@part{%
+\def\calc@author@part@{%
\ifnum \@tempcnta = 1
\@xp\@oneauthorlabel\@xp{\@tempa}%
\else
@@ -5917,6 +6060,14 @@
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\calc@author@part@short}
+% \begin{macrocode}
+\def\calc@author@part@short{%
+ \@xp\@multiauthorlabel\@xp{\@tempa}%
+}%
+% \end{macrocode}
+% \end{macro}
+%
% \begin{macro}{\@firstone}
% This extracts the first character from a properly prepared author
% name (i.e., one in which accents are properly wrapped).
@@ -6034,9 +6185,9 @@
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}{\append@label@year}
+% \begin{macro}{\append@label@year@}
% \begin{macrocode}
-\def\append@label@year{%
+\def\append@label@year@{%
\safe@set\@tempcnta\bib@year
\edef\bib@citeyear{\the\@tempcnta}%
\append@to@stem{%
@@ -6072,6 +6223,15 @@
\ifx\previous@year\current@year
\@tempswatrue
\fi
+ \else
+ \begingroup
+ \let\name\@firstofone
+ \@ifundefined{amsrefs@stem@\current@stem}{%
+ \expandafter\gdef\csname amsrefs@stem@\current@stem\endcsname{}%
+ }{%
+ \DuplicateBibLabelWarning
+ }%
+ \endgroup
\fi
\if@tempswa
\global\advance\alpha@suffix\@ne
@@ -7077,7 +7237,6 @@
% \begin{macrocode}
\newcommand{\PrintDOI}[1]{%
DOI #1%
- \IfEmptyBibField{volume}{, (to appear in print)}{}%
}
% \end{macrocode}
% \end{macro}
@@ -7122,9 +7281,22 @@
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}{\print@date}
+% \begin{macro}{\PrintDateField}
% \begin{macrocode}
-\def\print@date{%
+\newcommand{\PrintDateField}[1]{%
+ \@ifempty{#1}{}{%
+ \begingroup
+ \bib@parsedate{#1}%
+ \print@full@date
+ \endgroup
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\print@full@date}
+% \begin{macrocode}
+\def\print@full@date{%
\ifx\bib@month\@empty
\else
\print@month@day
@@ -7134,6 +7306,12 @@
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\print@date}
+% \begin{macrocode}
+\let\print@date\print@full@date
+% \end{macrocode}
+% \end{macro}
+%
% \begin{macro}{\print@month@day}
% \begin{macrocode}
\def\print@month@day{%
@@ -7300,16 +7478,8 @@
% \begin{macrocode}
\IfOption{alphabetic}{%
\def\bibtex@style{amsra}%
- \def\alpha@label{%
- \ifx\@empty\bib'label
- \def\thebib{\CurrentBib}%
- \else
- \let\thebib\bib'label
- \fi
- }%
- \let\generate@label\generate@alphalabel
\let\process@citelist\process@citelist@unsorted
- \def\numeric@refs{01}%
+ \amsrefs@option@alphabetic
}{}
% \end{macrocode}
%
@@ -7319,21 +7489,8 @@
% \begin{macrocode}
\IfOption{shortalphabetic}{%
\def\bibtex@style{amsrs}%
- \def\alpha@label{%
- \ifx\@empty\bib'label
- \def\thebib{\CurrentBib}%
- \else
- \let\thebib\bib'label
- \fi
- }%
- \let\@suffix@format\@arabic
- \def\calc@author@part{%
- \@xp\@multiauthorlabel\@xp{\@tempa}%
- }%
- \let\append@label@year\@empty
- \let\generate@label\generate@alphalabel
\let\process@citelist\process@citelist@unsorted
- \def\numeric@refs{01}%
+ \amsrefs@option@shortalphabetic
}{}
% \end{macrocode}
%
@@ -7552,6 +7709,26 @@
\IfOption{author-year}{}{\PopCatcodes \endinput}
% \end{macrocode}
%
+% \begin{macro}{\@biblistsetup}
+% \begin{macrocode}
+\renewcommand{\@biblistsetup}[1]{%
+ \RestrictedSetKeys{}{biblist}{\the\rsk@toks}{#1}%
+ \rkvIfEmpty{biblist}{prefix}{}{%
+ \amsrefs@warning{%
+ The `prefix' biblist option cannot be used\MessageBreak
+ with the author-year option.%
+ }%
+ }%
+ \rkvIfEmpty{biblist}{labels}{}{%
+ \amsrefs@warning{%
+ The `labels' biblist option cannot be used\MessageBreak
+ with the author-year option.%
+ }%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+%
% \begin{macro}{\generate@label}
% \begin{macrocode}
\def\generate@label{%
@@ -7645,12 +7822,6 @@
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}{\numeric@refs}
-% \begin{macrocode}
-\def\numeric@refs{01}%
-% \end{macrocode}
-% \end{macro}
-%
% \begin{macro}{\citeleft}
% \begin{macrocode}
\def\citeleft{(}%
@@ -7709,6 +7880,18 @@
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\citeyear}
+% \begin{macrocode}
+\DeclareRobustCommand{\citeyear}[1]{%
+ \begingroup
+ \let\citeleft\@empty
+ \let\citeright\@empty
+ \star@{\cite@a\citesel@year{#1}}{}%
+ \endgroup
+}
+% \end{macrocode}
+% \end{macro}
+%
% \begin{macro}{\ocite}
% \begin{macrocode}
\DeclareRobustCommand{\ocite}[1]{%
@@ -7995,6 +8178,17 @@
+{.} {} {transition}
+{} {\SentenceSpace \PrintReviews} {review}
}
+
+\BibSpec{webpage}{%
+ +{} {\PrintAuthors} {author}
+ +{.} { \PrintDate} {date}
+ +{.} { \emph} {title}
+ +{:} { \emph} {subtitle}
+ +{,} { \url} {url}
+ +{.} { Accessed \PrintDateField} {accessdate}
+ +{.} { } {note}
+ +{.} {} {transition}
+}
% \end{macrocode}
%
% \begin{macrocode}
@@ -8010,7 +8204,7 @@
%
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesPackage{amsbst}[2012/05/08 v2.10]
+\ProvidesPackage{amsbst}[2013/01/16 v2.12]
%\RequirePackage{amsrefs}[2004/03/29]
% \end{macrocode}
%
@@ -8137,6 +8331,17 @@
+{.} { } {note}
+{.} {} {transition}
}
+
+\BibSpec{webpage}{%
+ +{} {\PrintAuthors} {author}
+ +{.} { } {title}
+ +{:} { } {subtitle}
+ +{.} { \PrintDateB} {date}
+ +{.} { \url} {url}
+ +{.} { Accessed \PrintDateField} {accessdate}
+ +{.} { } {note}
+ +{.} {} {transition}
+}
% \end{macrocode}
%
% \begin{macro}{\PrintEditorsA}
diff --git a/Master/texmf-dist/doc/latex/amsrefs/amsrefs.faq b/Master/texmf-dist/source/latex/amsrefs/amsrefs.faq
index 28456522e6a..28456522e6a 100644
--- a/Master/texmf-dist/doc/latex/amsrefs/amsrefs.faq
+++ b/Master/texmf-dist/source/latex/amsrefs/amsrefs.faq
diff --git a/Master/texmf-dist/source/latex/amsrefs/amsrefs.ins b/Master/texmf-dist/source/latex/amsrefs/amsrefs.ins
index 5135ec58a3f..72c25ecbd1e 100644
--- a/Master/texmf-dist/source/latex/amsrefs/amsrefs.ins
+++ b/Master/texmf-dist/source/latex/amsrefs/amsrefs.ins
@@ -1,6 +1,6 @@
%% filename: amsrefs.ins
%% version: 1.01
-%% date: 2012/05/08
+%% date: 2013/01/15
%%
%% American Mathematical Society
%% Technical Support
@@ -13,7 +13,7 @@
%% fax: (401) 331-3842
%% email: tech-support@ams.org
%%
-%% Copyright 2010, 2012 American Mathematical Society.
+%% Copyright 2010, 2012, 2013 American Mathematical Society.
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
@@ -38,7 +38,7 @@
\preamble
-Copyright 2001, 2004, 2006, 2007, 2010, 2012 American Mathematical Society.
+Copyright 2001, 2004, 2006, 2007, 2010, 2012, 2013 American Mathematical Society.
American Mathematical Society
Technical Support
diff --git a/Master/texmf-dist/doc/latex/amsrefs/cite-xa.tex b/Master/texmf-dist/source/latex/amsrefs/cite-xa.tex
index 4444fd5ce66..4444fd5ce66 100644
--- a/Master/texmf-dist/doc/latex/amsrefs/cite-xa.tex
+++ b/Master/texmf-dist/source/latex/amsrefs/cite-xa.tex
diff --git a/Master/texmf-dist/doc/latex/amsrefs/cite-xb.tex b/Master/texmf-dist/source/latex/amsrefs/cite-xb.tex
index 87646eb51ae..87646eb51ae 100644
--- a/Master/texmf-dist/doc/latex/amsrefs/cite-xb.tex
+++ b/Master/texmf-dist/source/latex/amsrefs/cite-xb.tex
diff --git a/Master/texmf-dist/doc/latex/amsrefs/cite-xh.tex b/Master/texmf-dist/source/latex/amsrefs/cite-xh.tex
index d0b50a72848..d0b50a72848 100644
--- a/Master/texmf-dist/doc/latex/amsrefs/cite-xh.tex
+++ b/Master/texmf-dist/source/latex/amsrefs/cite-xh.tex
diff --git a/Master/texmf-dist/doc/latex/amsrefs/cite-xs.tex b/Master/texmf-dist/source/latex/amsrefs/cite-xs.tex
index a4f2eae6e88..a4f2eae6e88 100644
--- a/Master/texmf-dist/doc/latex/amsrefs/cite-xs.tex
+++ b/Master/texmf-dist/source/latex/amsrefs/cite-xs.tex
diff --git a/Master/texmf-dist/doc/latex/amsrefs/gktest.ltb b/Master/texmf-dist/source/latex/amsrefs/gktest.ltb
index cad1401a605..cad1401a605 100644
--- a/Master/texmf-dist/doc/latex/amsrefs/gktest.ltb
+++ b/Master/texmf-dist/source/latex/amsrefs/gktest.ltb
diff --git a/Master/texmf-dist/source/latex/amsrefs/install.txt b/Master/texmf-dist/source/latex/amsrefs/install.txt
index ebf0f21d9ed..8fd6c4d0315 100644
--- a/Master/texmf-dist/source/latex/amsrefs/install.txt
+++ b/Master/texmf-dist/source/latex/amsrefs/install.txt
@@ -1,9 +1,9 @@
-install.txt for amsrefs 2.0 [2004-06-30]
+install.txt for amsrefs 2.12 [2013-01-24]
-Copyright 2002-2004, 2010 American Mathematical Society.
+Copyright 2002-2004, 2010, 2013 American Mathematical Society.
-This work may be distributed and/or modified under the
-conditions of the LaTeX Project Public License, either version 1.3c
+This work may be distributed and/or modified under the conditions
+of the LaTeX Project Public License, either version 1.3c
of this license or (at your option) any later version.
The latest version of this license is in
http://www.latex-project.org/lppl.txt
@@ -26,72 +26,63 @@ tel: (401) 455-4080
fax: (401) 331-3842
email: tech-support@ams.org
-%%%% THIS NEEDS TO BE REVISED. WE'RE GOING TO KEEP THESE SEPARATE
-
Preliminary note: The normal destination directory for amsrefs.sty in a
-standard TDS structure would be texmf/tex/latex/amscls (see step 3
-below). In the future, the amsrefs package will be integrated more
-thoroughly into the amscls distribution, but the current release has to
-be provided in the form of a separate distribution for those who already
-have the amscls distrib but not amsrefs.
+standard TDS structure is texmf/tex/latex/amsrefs (see step 3 below).
------------------------------------------------------------------------
-The first step is to identify the primary location for LaTeX input files
-on your system. Typical examples are
+If you have a relatively up-do-date TeX system that complies with the
+TeX Directory Structure (TDS) standard, installing according to the
+instructions in section I below is the easiest method. See
+
+ http://www.tug.org/tds/tds.pdf
- /usr/local/share/texmf/tex/latex... (Unix)
+for details on the TDS standard. If your TeX system does not comply
+with the TDS standard, please contact the manufacturer of your TeX
+system for details on how to install third-party TeX packages.
- C:\SWP30\TCITeX\TeX\LaTeX... (Windows)
+The first step is to identify the TEXMF folder that contains files used
+by LaTeX. To do this, look for the file article.cls. If you find, e.g.,
-We define "ROOT" to mean everything preceding the "/tex/latex" part. In
-the second example, this would be "C:\SWP30\TCITeX". ROOT will normally
-end in "texmf"; if it doesn't you may need to consult the documentation
-for your TeX system to find out what to use. In the following
-instructions, wherever you see ROOT substitute the actual directory or
-folder name that is used on your system.
+ /usr/local/share/texmf/tex/latex/base/article.cls
-If this terminology doesn't make sense to you, seek assistance from
-a friend or colleague, or from the company that you bought your TeX
-system from, or contact us at
+then we will define TEXMF to mean /usr/local/share/texmf (everything
+before the tex/latex/base part). On a Windows system the file location
+will probably be something like
- tech-support@ams.org
- 800-321-4AMS (321-4267) (USA/Canada)
- 401-455-4080
+ c:\sw\texmf\tex\latex\base\article.cls
-If you have multiple texmf trees (as discussed, for example, in the
-teTeX documentation), you may want to install amsrefs using the
-TEXMFLOCAL tree as the value of ROOT. In due course when you upgrade to
-a newer TeX system, we expect that you will find amsrefs already
-incorporated into the TEXMFMAIN tree as part of the tex/latex/amscls
-area, at which point you will no longer need the copy in your TEXMFLOCAL
-tree.
+Then we define TEXMF to mean c:\sw\texmf. In the following instructions,
+wherever you see "TEXMF" substitute the folder name determined in this
+way.
+
+If this terminology does not make sense to you, seek assistance from a
+friend or colleague, or from the company that you bought your TeX
+system from, or contact us at one of the above addresses.
------------------------------------------------------------------------
1. Download the following archive file:
- ftp://ftp.ams.org/pub/tex/amsrefs.zip
-
-2. Extract files using the texmf root directory as the destination. Some
-typical examples:
+ ftp://ftp.ams.org/pub/tex/amsrefs/amsrefs.zip
-WinZip: Click on "Extract" and then in the "Extract to" box, enter
- c:\sw\texmf (or whatever ROOT is on your system)
+2. View the following files to assess the effects of the upgrade on
+your system:
-unzip: unzip amsrefs.zip -d ROOT
+ README
+ install.txt (this file)
+ diffs-m.txt
-3. Please note that although the source files for amsrefs unpack into
-the ROOT/source/latex/amsrefs area at the present time [2001-12-28], the
-other files unpack into .../latex/amscls because that is the natural
-location for them.
+3. Backup the old version of AMS-LaTeX, preferably by moving it out of the
+TEXMF tree.
-To check the end result, you should find that you now have amsrefs.sty
-in the following location (substituting \ or : for / if appropriate):
+4. Extract files from the .zip archive using your favorite unzip tool,
+setting the extraction target directory to the texmf root directory.
- ROOT/tex/latex/amscls/amsrefs.sty
+5. To check the end result, you should find that amsrefs.sty is now in
+the following location (substituting \ or : for / if appropriate):
-If you have a teTeX system you may need to rerun mktexlsr [known in
-earlier versions of teTeX as "texhash"].
+ TEXMF/tex/latex/amsrefs/amsrefs.sty
-For a MikTeX system the command would be "initexmf -u", or look for
-"Refresh the Filename Database" in the MikTeX menus (this may be
-somewhat version-dependent).
+Some TeX systems such as TeX Live and MikTeX also use a database to
+keep track of TeX input files. If this database is not updated, your
+TeX system might not find the newly installed files. Consult your TeX
+system's documentation to determine how to update this database.
diff --git a/Master/texmf-dist/doc/latex/amsrefs/jr.bib b/Master/texmf-dist/source/latex/amsrefs/jr.bib
index 38e4eef28a4..38e4eef28a4 100644
--- a/Master/texmf-dist/doc/latex/amsrefs/jr.bib
+++ b/Master/texmf-dist/source/latex/amsrefs/jr.bib
diff --git a/Master/texmf-dist/source/latex/amsrefs/manifest.txt b/Master/texmf-dist/source/latex/amsrefs/manifest.txt
index 9ea691deb8a..0fa505e34e2 100644
--- a/Master/texmf-dist/source/latex/amsrefs/manifest.txt
+++ b/Master/texmf-dist/source/latex/amsrefs/manifest.txt
@@ -48,7 +48,7 @@ source/latex:
amsrefs
source/latex/amsrefs:
-00readme.txt
+README
amsrdoc.tex
amsrefs.dtx
amsrefs.faq
diff --git a/Master/texmf-dist/source/latex/amsrefs/textcmds.dtx b/Master/texmf-dist/source/latex/amsrefs/textcmds.dtx
index c9336c0b726..074f8300e51 100644
--- a/Master/texmf-dist/source/latex/amsrefs/textcmds.dtx
+++ b/Master/texmf-dist/source/latex/amsrefs/textcmds.dtx
@@ -1,6 +1,6 @@
% \def\filename{textcmds.dtx}
-% \def\fileversion{1.06}
-% \def\filedate{2007/10/19}
+% \def\fileversion{2.00}
+% \def\filedate{2012/08/02}
%
% \iffalse meta-comment
%
@@ -137,35 +137,35 @@
%
% Package name, date, version number.
% \begin{macrocode}
-\ProvidesPackage{textcmds}[2007/10/19 v1.06]
+\ProvidesPackage{textcmds}[2012/08/02 v2.00]
% \end{macrocode}
%
% Dashes and inverted beginning-of-sentence punctuation.
% \begin{macrocode}
\providecommand{\mdash}{\textemdash\penalty\exhyphenpenalty}
\providecommand{\ndash}{\textendash\penalty\exhyphenpenalty}
-\newcommand{\qd}{\textquestiondown}
-\newcommand{\xd}{\textexclamdown}
+\providecommand{\qd}{\textquestiondown}
+\providecommand{\xd}{\textexclamdown}
% \end{macrocode}
%
% Quote commands. Note that \cs{lq} and \cs{rq} are defined in the
% \LaTeX{} kernel to produce functionally different quote characters.
% \begin{macrocode}
-\newcommand{\ldq}{\textquotedblleft}
-\newcommand{\rdq}{\textquotedblright}
-\newcommand{\lsq}{\textquoteleft}
-\newcommand{\rsq}{\textquoteright}
+\providecommand{\ldq}{\textquotedblleft}
+\providecommand{\rdq}{\textquotedblright}
+\providecommand{\lsq}{\textquoteleft}
+\providecommand{\rsq}{\textquoteright}
% \end{macrocode}
%
% \begin{macrocode}
-\newcommand{\bul}{\textbullet}%
-\newcommand{\vsp}{\textvisiblespace}%
-\newcommand{\pdc}{\textperiodcentered}%
-\newcommand{\vrt}{\textbar}%
-\newcommand{\cir}{\textasciicircum}%
-\newcommand{\til}{\textasciitilde}%
-\newcommand{\bsl}{\textbackslash}%
-\newcommand{\cwm}{\textcompwordmark}%
+\providecommand{\bul}{\textbullet}%
+\providecommand{\vsp}{\textvisiblespace}%
+\providecommand{\pdc}{\textperiodcentered}%
+\providecommand{\vrt}{\textbar}%
+\providecommand{\cir}{\textasciicircum}%
+\providecommand{\til}{\textasciitilde}%
+\providecommand{\bsl}{\textbackslash}%
+\providecommand{\cwm}{\textcompwordmark}%
% \end{macrocode}
%
% \begin{macrocode}
diff --git a/Master/texmf-dist/tex/latex/amsrefs/amsbst.sty b/Master/texmf-dist/tex/latex/amsrefs/amsbst.sty
index 3df94e71a53..d4ec93f0f2a 100644
--- a/Master/texmf-dist/tex/latex/amsrefs/amsbst.sty
+++ b/Master/texmf-dist/tex/latex/amsrefs/amsbst.sty
@@ -6,7 +6,7 @@
%%
%% amsrefs.dtx (with options: `bst')
%%
-%% Copyright 2001, 2004, 2006, 2007, 2010, 2012 American Mathematical Society.
+%% Copyright 2001, 2004, 2006, 2007, 2010, 2012, 2013 American Mathematical Society.
%%
%% American Mathematical Society
%% Technical Support
@@ -34,7 +34,7 @@
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesPackage{amsbst}[2012/05/08 v2.10]
+\ProvidesPackage{amsbst}[2013/01/16 v2.12]
\BibSpec{article}{%
+{} {\PrintAuthors} {author}
+{.} { } {title}
@@ -157,6 +157,17 @@
+{.} { } {note}
+{.} {} {transition}
}
+
+\BibSpec{webpage}{%
+ +{} {\PrintAuthors} {author}
+ +{.} { } {title}
+ +{:} { } {subtitle}
+ +{.} { \PrintDateB} {date}
+ +{.} { \url} {url}
+ +{.} { Accessed \PrintDateField} {accessdate}
+ +{.} { } {note}
+ +{.} {} {transition}
+}
\renewcommand{\PrintEditorsA}[1]{%
\def\current@bibfield{\bib'editor}%
\PrintNames{}{, editor\Plural{s}}{#1}%
diff --git a/Master/texmf-dist/tex/latex/amsrefs/amsrefs.sty b/Master/texmf-dist/tex/latex/amsrefs/amsrefs.sty
index fedd73ba008..96eaff49d00 100644
--- a/Master/texmf-dist/tex/latex/amsrefs/amsrefs.sty
+++ b/Master/texmf-dist/tex/latex/amsrefs/amsrefs.sty
@@ -6,7 +6,7 @@
%%
%% amsrefs.dtx (with options: `pkg')
%%
-%% Copyright 2001, 2004, 2006, 2007, 2010, 2012 American Mathematical Society.
+%% Copyright 2001, 2004, 2006, 2007, 2010, 2012, 2013 American Mathematical Society.
%%
%% American Mathematical Society
%% Technical Support
@@ -34,7 +34,7 @@
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesPackage{amsrefs}[2012/05/08 v2.10]
+\ProvidesPackage{amsrefs}[2013/01/16 v2.12]
\def\amsrefs@warning@nl{\PackageWarningNoLine{amsrefs}}
\@ifpackagewith{amsrefs}{beta}{%
\amsrefs@warning@nl{The beta option is obsolete}%
@@ -227,6 +227,7 @@
\DefineAdditiveKey{bib}{issn}{\fld@elt}
\DefineAdditiveKey{bib}{review}{\fld@elt}
\DefineAdditiveKey{bib}{partial}{\fld@elt}
+\DefineSimpleKey{bib}{accessdate}
\DefineSimpleKey{bib}{address}
\DefineSimpleKey{bib}{book}
\DefineSimpleKey{bib}{booktitle}
@@ -490,6 +491,17 @@
+{.} {} {transition}
+{} {\SentenceSpace \PrintReviews} {review}
}
+
+\BibSpec{webpage}{%
+ +{} {\PrintAuthors} {author}
+ +{,} { \emph} {title}
+ +{:} { \emph} {subtitle}
+ +{} { \PrintDate} {date}
+ +{,} { \url} {url}
+ +{.} { Accessed \PrintDateField} {accessdate}
+ +{.} { } {note}
+ +{.} {} {transition}
+}
\BibSpecAlias{periodical}{book}
\BibSpecAlias{collection}{book}
\BibSpecAlias{proceedings}{book}
@@ -514,6 +526,8 @@
+{,} { } {address}
}
\newcounter{bib}
+\DefineSimpleKey{biblist}{prefix}
+\DefineSimpleKey{biblist}{labels}
\newenvironment{biblist}{%
\setcounter{bib}\z@
\@biblist
@@ -529,10 +543,34 @@
\normalfont
\footnotesize
}
+\def\amsrefs@lbibitem[#1]#2{%
+ \begingroup
+ \def\CurrentBib{#2}%
+ \def\thebib{#1}%
+ \@nmbrlistfalse
+ \item\leavevmode
+ \if@filesw
+ {\let\protect\noexpand
+ \immediate\write\@auxout{\string\bibcite{#2}{{#1}{}}}}%
+ \fi
+ \endgroup
+ \ignorespaces
+}
+
+\def\amsrefs@bibitem#1{%
+ \def\CurrentBib{#1}%
+ \item
+ \if@filesw
+ \immediate\write\@auxout{\string\bibcite{#1}{{\the\value{\@listctr}}{}}}%
+ \fi
+ \ignorespaces
+}
\newcommand\@biblist[1][]{%
\stepcounter{bib@env}
\biblistfont
\labelsep .5em\relax
+ \let\@bibitem\amsrefs@bibitem
+ \let\@lbibitem\amsrefs@lbibitem
\list{\BibLabel}{%
\restore@labelwidth
\@maxlabelwidth\z@
@@ -547,6 +585,20 @@
\widowpenalty\clubpenalty
\frenchspacing
\ResetCapSFCodes
+ \star@{\@biblistsetup}{}%
+}
+\newcommand{\@biblistsetup}[1]{%
+ \RestrictedSetKeys{}{biblist}{\the\rsk@toks}{#1}%
+ \rkvIfEmpty{biblist}{prefix}{}{%
+ \let\amsrefs@label@prefix\biblist'prefix
+ }%
+ \rkvIfEmpty{biblist}{labels}{}{%
+ \@ifundefined{amsrefs@option@\biblist'labels}{%
+ \amsrefs@warning{Invalid label style `\biblist'labels`}%
+ }{%
+ \csname amsrefs@option@\biblist'labels\endcsname
+ }%
+ }%
}
\def\@endbiblist{%
\save@labelwidth
@@ -617,10 +669,13 @@
}%
}
\newcommand{\BibItem}[2]{%
- \def\@tempa{#1}%
+ \vdef\@tempa{#1}%
+ \edef\@tempa{%
+ \edef\@nx\@tempa{\@nx\@xp\@nx\zap@space\@tempa\space\@nx\@empty}%
+ }%
+ \@tempa
\edef\@tempb{%
- \@nx\@bibdef\@xp\@nx\csname setbib@#2\endcsname{#2}%
- {\macrotext\@tempa}%
+ \@nx\@bibdef\@xp\@nx\csname setbib@#2\endcsname{#2}{\@tempa}%
}%
\@tempb
}
@@ -751,7 +806,6 @@
\afterassignment\@gobble
\@xp\xdef\csname bi@#1\endcsname
}
-\def\numeric@refs{00}
\def\bib@print#1#2#3{%
\bib@start{#1}%
\let\setbib@@#3%
@@ -1043,6 +1097,34 @@
\let\generate@label\relax
\def\cite@label{\@currentlabel}
\let\alpha@label\relax
+\def\alpha@label@{%
+ \ifx\@empty\bib'label
+ \def\thebib{\CurrentBib}%
+ \else
+ \let\thebib\bib'label
+ \fi
+}%
+\def\amsrefs@option@numeric{%
+ \let\alpha@label\relax
+ \let\generate@label\relax
+ % \@nmbrlisttrue
+}
+\def\amsrefs@option@alphabetic{%
+ \let\alpha@label\alpha@label@
+ \let\generate@label\generate@alphalabel
+ \let\calc@author@part\calc@author@part@
+ \let\@suffix@format\@alph
+ \let\append@label@year\append@label@year@
+ % \@nmbrlistfalse
+}
+\def\amsrefs@option@shortalphabetic{%
+ \let\alpha@label\alpha@label@
+ \let\generate@label\generate@alphalabel
+ \let\calc@author@part\calc@author@part@short
+ \let\@suffix@format\@arabic
+ \let\append@label@year\@empty
+ % \@nmbrlistfalse
+}
\def\bib@cite#1{%
\def\CurrentBib{#1}%
\alpha@label % modify \thebib if necessary
@@ -1124,6 +1206,13 @@
Duplicate \protect\bib\space key
`\CurrentBib ' detected\MessageBreakNS}%
}
+\def\DuplicateBibLabelWarning{%
+ \amsrefs@warning{%
+ Duplicate biblabel stem `\current@stem ' detected.\MessageBreakNS
+ This usually means the order of the bibitems\MessageBreakNS
+ is incompatible with the style of labels\MessageBreakNS
+ you are using}%
+}
\def\bibcite@write#1{%
\if@filesw
\begingroup
@@ -1162,7 +1251,11 @@
\begingroup
\protected@edef\@{%
\endgroup
- \protect\section*{#1}%
+ \ifx\@bibtitlestyle\undefined
+ \protect\section*{#1}%
+ \else
+ \protect\@bibtitlestyle
+ \fi
\protect\bib@div@mark{#1}%
}%
\@
@@ -2106,12 +2199,14 @@
\let\current@stem\@empty
\let\previous@year\@empty
\let\current@year\@empty
+\let\amsrefs@label@prefix\@empty
+\def\thebib{\amsrefs@label@prefix\@arabic\c@bib}
\def\append@to@stem{\global\@concat\current@stem}
\def\generate@alphalabel{%
\ifx\bib'label\@empty
\begingroup
\global\let\previous@stem\current@stem
- \global\let\current@stem\@empty
+ \global\let\current@stem\amsrefs@label@prefix
\@apply\auto@protect\amsrefs@textsymbols
\@apply\auto@protect\amsrefs@textaccents
\auto@protect\name
@@ -2131,13 +2226,16 @@
\@tempa
\fi
}
-\def\calc@author@part{%
+\def\calc@author@part@{%
\ifnum \@tempcnta = 1
\@xp\@oneauthorlabel\@xp{\@tempa}%
\else
\@xp\@multiauthorlabel\@xp{\@tempa}%
\fi
}
+\def\calc@author@part@short{%
+ \@xp\@multiauthorlabel\@xp{\@tempa}%
+}%
\def\@firstone#1{\@car#1\@empty\@nil}
\def\@firstthree#1{\@carcube#1\@empty\@empty\@empty\@nil}
\let\@nametoken\@firstone
@@ -2187,7 +2285,7 @@
}
\newcommand{\etalchar}[1]{$^{#1}$}
\def\year@short#1#2#3#4\@nil{#3#4}
-\def\append@label@year{%
+\def\append@label@year@{%
\safe@set\@tempcnta\bib@year
\edef\bib@citeyear{\the\@tempcnta}%
\append@to@stem{%
@@ -2209,6 +2307,15 @@
\ifx\previous@year\current@year
\@tempswatrue
\fi
+ \else
+ \begingroup
+ \let\name\@firstofone
+ \@ifundefined{amsrefs@stem@\current@stem}{%
+ \expandafter\gdef\csname amsrefs@stem@\current@stem\endcsname{}%
+ }{%
+ \DuplicateBibLabelWarning
+ }%
+ \endgroup
\fi
\if@tempswa
\global\advance\alpha@suffix\@ne
@@ -2620,7 +2727,6 @@
}
\newcommand{\PrintDOI}[1]{%
DOI #1%
- \IfEmptyBibField{volume}{, (to appear in print)}{}%
}
\newcommand{\PrintDatePV}[1]{%
\IfEmptyBibField{doi}{%
@@ -2636,13 +2742,22 @@
}
\newcommand{\PrintDate}[1]{(\print@date)}
\newcommand{\PrintDateB}[1]{\print@date}
-\def\print@date{%
+\newcommand{\PrintDateField}[1]{%
+ \@ifempty{#1}{}{%
+ \begingroup
+ \bib@parsedate{#1}%
+ \print@full@date
+ \endgroup
+ }%
+}
+\def\print@full@date{%
\ifx\bib@month\@empty
\else
\print@month@day
\fi
\bib@year
}
+\let\print@date\print@full@date
\def\print@month@day{%
\bib@monthname
\ifx\@empty\bib@day \else \nobreakspace\number 0\bib@day,\fi
@@ -2709,34 +2824,13 @@
}
\IfOption{alphabetic}{%
\def\bibtex@style{amsra}%
- \def\alpha@label{%
- \ifx\@empty\bib'label
- \def\thebib{\CurrentBib}%
- \else
- \let\thebib\bib'label
- \fi
- }%
- \let\generate@label\generate@alphalabel
\let\process@citelist\process@citelist@unsorted
- \def\numeric@refs{01}%
+ \amsrefs@option@alphabetic
}{}
\IfOption{shortalphabetic}{%
\def\bibtex@style{amsrs}%
- \def\alpha@label{%
- \ifx\@empty\bib'label
- \def\thebib{\CurrentBib}%
- \else
- \let\thebib\bib'label
- \fi
- }%
- \let\@suffix@format\@arabic
- \def\calc@author@part{%
- \@xp\@multiauthorlabel\@xp{\@tempa}%
- }%
- \let\append@label@year\@empty
- \let\generate@label\generate@alphalabel
\let\process@citelist\process@citelist@unsorted
- \def\numeric@refs{01}%
+ \amsrefs@option@shortalphabetic
}{}
\AtBeginDocument{%
\@ifpackageloaded{backref}{%
@@ -2853,6 +2947,21 @@
}{}
}{}
\IfOption{author-year}{}{\PopCatcodes \endinput}
+\renewcommand{\@biblistsetup}[1]{%
+ \RestrictedSetKeys{}{biblist}{\the\rsk@toks}{#1}%
+ \rkvIfEmpty{biblist}{prefix}{}{%
+ \amsrefs@warning{%
+ The `prefix' biblist option cannot be used\MessageBreak
+ with the author-year option.%
+ }%
+ }%
+ \rkvIfEmpty{biblist}{labels}{}{%
+ \amsrefs@warning{%
+ The `labels' biblist option cannot be used\MessageBreak
+ with the author-year option.%
+ }%
+ }%
+}
\def\generate@label{%
\ifx\bib'label\@empty
\begingroup
@@ -2883,7 +2992,6 @@
\def\citesel@authoryear#1#2#3#4#5{\PrintCNY{#3}{#4}}
\def\citesel@object#1#2#3#4#5{\PrintCiteNames{#3} \citeleft#4}
\let\citesel\citesel@authoryear
-\def\numeric@refs{01}%
\def\citeleft{(}%
\def\citeright{)}%
\def\@citeleft{\ifx\citesel\citesel@object\else\citeleft\fi}%
@@ -2902,6 +3010,13 @@
\cites{#1}%
\endgroup
}
+\DeclareRobustCommand{\citeyear}[1]{%
+ \begingroup
+ \let\citeleft\@empty
+ \let\citeright\@empty
+ \star@{\cite@a\citesel@year{#1}}{}%
+ \endgroup
+}
\DeclareRobustCommand{\ocite}[1]{%
\star@{\cite@a\citesel@object{#1}}{}%
}
@@ -3096,6 +3211,17 @@
+{.} {} {transition}
+{} {\SentenceSpace \PrintReviews} {review}
}
+
+\BibSpec{webpage}{%
+ +{} {\PrintAuthors} {author}
+ +{.} { \PrintDate} {date}
+ +{.} { \emph} {title}
+ +{:} { \emph} {subtitle}
+ +{,} { \url} {url}
+ +{.} { Accessed \PrintDateField} {accessdate}
+ +{.} { } {note}
+ +{.} {} {transition}
+}
\PopCatcodes
\endinput
%%
diff --git a/Master/texmf-dist/tex/latex/amsrefs/textcmds.sty b/Master/texmf-dist/tex/latex/amsrefs/textcmds.sty
index a0323397298..38170cb4dbb 100644
--- a/Master/texmf-dist/tex/latex/amsrefs/textcmds.sty
+++ b/Master/texmf-dist/tex/latex/amsrefs/textcmds.sty
@@ -32,23 +32,23 @@
%% The Current Maintainer of this work is the American Mathematical
%% Society.
%%
-\ProvidesPackage{textcmds}[2007/10/19 v1.06]
+\ProvidesPackage{textcmds}[2012/08/02 v2.00]
\providecommand{\mdash}{\textemdash\penalty\exhyphenpenalty}
\providecommand{\ndash}{\textendash\penalty\exhyphenpenalty}
-\newcommand{\qd}{\textquestiondown}
-\newcommand{\xd}{\textexclamdown}
-\newcommand{\ldq}{\textquotedblleft}
-\newcommand{\rdq}{\textquotedblright}
-\newcommand{\lsq}{\textquoteleft}
-\newcommand{\rsq}{\textquoteright}
-\newcommand{\bul}{\textbullet}%
-\newcommand{\vsp}{\textvisiblespace}%
-\newcommand{\pdc}{\textperiodcentered}%
-\newcommand{\vrt}{\textbar}%
-\newcommand{\cir}{\textasciicircum}%
-\newcommand{\til}{\textasciitilde}%
-\newcommand{\bsl}{\textbackslash}%
-\newcommand{\cwm}{\textcompwordmark}%
+\providecommand{\qd}{\textquestiondown}
+\providecommand{\xd}{\textexclamdown}
+\providecommand{\ldq}{\textquotedblleft}
+\providecommand{\rdq}{\textquotedblright}
+\providecommand{\lsq}{\textquoteleft}
+\providecommand{\rsq}{\textquoteright}
+\providecommand{\bul}{\textbullet}%
+\providecommand{\vsp}{\textvisiblespace}%
+\providecommand{\pdc}{\textperiodcentered}%
+\providecommand{\vrt}{\textbar}%
+\providecommand{\cir}{\textasciicircum}%
+\providecommand{\til}{\textasciitilde}%
+\providecommand{\bsl}{\textbackslash}%
+\providecommand{\cwm}{\textcompwordmark}%
\providecommand{\qq}[1]{\ldq#1\/\rdq}
\providecommand{\q}[1]{\lq#1\/\rq}
\newcommand{\supsize}{%