summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/bibtex/bst/ams/amsrs.bst
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/bibtex/bst/ams/amsrs.bst')
-rw-r--r--Master/texmf-dist/bibtex/bst/ams/amsrs.bst42
1 files changed, 17 insertions, 25 deletions
diff --git a/Master/texmf-dist/bibtex/bst/ams/amsrs.bst b/Master/texmf-dist/bibtex/bst/ams/amsrs.bst
index 4f090f7af73..1b368f67a74 100644
--- a/Master/texmf-dist/bibtex/bst/ams/amsrs.bst
+++ b/Master/texmf-dist/bibtex/bst/ams/amsrs.bst
@@ -9,9 +9,9 @@
%%% ====================================================================
%%% @BibTeX-source-file{
%%% filename = "amsxport.dtx",
-%%% version = "2.00",
-%%% date = "2004/06/28",
-%%% time = "14:50:12 EDT",
+%%% version = "2.01",
+%%% date = "2007/10/01",
+%%% time = "16:20:24 EDT",
%%% author = "Michael J Downes",
%%% address = "American Mathematical Society,
%%% Publications Technical Group,
@@ -24,7 +24,13 @@
%%% entries where most of the database structure is
%%% retained. This is intended for processing by a smart
%%% bibliography package such as the amsrefs package.",
-%%% checksum = "40425 1822 6396 51551",
+%%% copyright = "Copyright 2001, 2004 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 = "09610 1810 6390 51580",
%%% docstring = "The checksum field, produced by Robert Solovay's
%%% checksum utility, gives CRC-16 checksum, lines,
%%% words, and characters.",
@@ -128,18 +134,6 @@ FUNCTION {sortify} {
purify$
"l" change.case$
}
-FUNCTION {rpad} {
- swap$
- 'l :=
- l text.length$ - 'len :=
- { len #0 > }
- {
- l " " * 'l :=
- len #1 - 'len :=
- }
- while$
- l
-}
FUNCTION {lpad} {
swap$
'l :=
@@ -632,15 +626,15 @@ FUNCTION {sort.format.names} {
numnames 'namesleft :=
{ namesleft #0 > }
{ ptr #1 >
- { " " * }
+ { " " * }
'skip$
if$
- s ptr "{ll}{ ff}{ jj}" format.name$ 't :=
+ s ptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
ptr numnames = t "others" = AND
{ "et al" }
{ t sortify }
if$
- #20 rpad *
+ *
ptr #1 + 'ptr :=
namesleft #1 - 'namesleft :=
}
@@ -711,7 +705,7 @@ FUNCTION {editor.organization.sort}
}
FUNCTION {presort} {
calc.label
- label #20 rpad
+ label
type$ "book" = type$ "inbook" = OR type$ "collection" = OR
'author.editor.sort
{ type$ "proceedings" =
@@ -724,8 +718,9 @@ FUNCTION {presort} {
if$
}
if$
- * " " *
- year field.or.null sortify #12 rpad * " " *
+ *
+ " " *
+ year field.or.null sortify * " " *
title field.or.null sort.format.title *
#1 entry.max$ substring$
'sort.key$ :=
@@ -768,6 +763,3 @@ EXECUTE {begin.bib}
ITERATE {call.type$}
EXECUTE {end.bib}
-%%
-%%
-%% End of file `amsrs.bst'.