summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/bibtex/bst/bibhtml/plainhtml.bst
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2009-11-20 10:08:07 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2009-11-20 10:08:07 +0000
commit754d87c1ab6482f6628142cac6b94c783e36c1c7 (patch)
treeb7b010841924789df295ed2125e0c7227abbe037 /Master/texmf-dist/bibtex/bst/bibhtml/plainhtml.bst
parentaab9b5b29ca5474c8e04f0f555ac801f57dd29d2 (diff)
bibhtml update: version 2.0.1, released 2009 November 2
git-svn-id: svn://tug.org/texlive/trunk@16093 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/bibtex/bst/bibhtml/plainhtml.bst')
-rw-r--r--Master/texmf-dist/bibtex/bst/bibhtml/plainhtml.bst36
1 files changed, 32 insertions, 4 deletions
diff --git a/Master/texmf-dist/bibtex/bst/bibhtml/plainhtml.bst b/Master/texmf-dist/bibtex/bst/bibhtml/plainhtml.bst
index b9e900faacc..5e611b14119 100644
--- a/Master/texmf-dist/bibtex/bst/bibhtml/plainhtml.bst
+++ b/Master/texmf-dist/bibtex/bst/bibhtml/plainhtml.bst
@@ -1,7 +1,7 @@
%% plainhtml.bst
%%
-%% Part of bibhtml, version 2.0, released 2009 August 9
-%% Hg node 4a5600417b09.
+%% Part of bibhtml, version 2.0.1, released 2009 November 2
+%% Hg node 6ca3807543d6.
%% See <http://purl.org/nxg/dist/bibhtml>
%%
%% Copyright 1999, 2005, 2006, 2009, Norman Gray <norman@astro.gla.ac.uk>
@@ -1323,7 +1323,7 @@ FUNCTION {editor.organization.sort}
if$
}
-FUNCTION {presort}
+FUNCTION {presort.by.author}
{ type$ "book" =
type$ "inbook" =
or
@@ -1351,7 +1351,35 @@ FUNCTION {presort}
'sort.key$ :=
}
-ITERATE {presort}
+FUNCTION {presort.by.year}
+{ year field.or.null sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort.by.author}
SORT