summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/bibtex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-12-26 22:53:22 +0000
committerKarl Berry <karl@freefriends.org>2006-12-26 22:53:22 +0000
commit88b0c2e69866fb0ba56d9fd5d081107ca00af9fc (patch)
tree2a40a0b5c3e3f4bc7009646b12358bdbb121a159 /Master/texmf-dist/bibtex
parentc0c470acc33af982c6e6eb3b48dfa957010e8239 (diff)
bibhtml update
git-svn-id: svn://tug.org/texlive/trunk@2942 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/bibtex')
-rw-r--r--Master/texmf-dist/bibtex/bst/bibhtml/alphahtml.bst55
-rw-r--r--Master/texmf-dist/bibtex/bst/bibhtml/alphahtmldate.bst55
-rw-r--r--Master/texmf-dist/bibtex/bst/bibhtml/alphahtmldater.bst55
-rw-r--r--Master/texmf-dist/bibtex/bst/bibhtml/plainhtml.bst50
-rw-r--r--Master/texmf-dist/bibtex/bst/bibhtml/plainhtmldate.bst19
-rw-r--r--Master/texmf-dist/bibtex/bst/bibhtml/plainhtmldater.bst50
6 files changed, 87 insertions, 197 deletions
diff --git a/Master/texmf-dist/bibtex/bst/bibhtml/alphahtml.bst b/Master/texmf-dist/bibtex/bst/bibhtml/alphahtml.bst
index a8a68d52ae4..5fe627e7b37 100644
--- a/Master/texmf-dist/bibtex/bst/bibhtml/alphahtml.bst
+++ b/Master/texmf-dist/bibtex/bst/bibhtml/alphahtml.bst
@@ -1,16 +1,21 @@
-%% alphahtml.bst, version 1.1
-%% Copyright 1999, 2005, Norman Gray.
+%% alphahtml.bst
%%
-%% alphahtml.bst derived from alpha.bst and plainhtml.bst by
+%% Part of bibhtml, version 1.3, released 2006 October 31
+%% See <http://purl.org/nxg/dist/bibhtml>
+%%
+%% Copyright 1999, 2005, 2006, Norman Gray <norman@astro.gla.ac.uk>
+%%
+%% alphahtml.bst was originally derived from alpha.bst and plainhtml.bst by
%% Franz G. Fischer, Franz.Fischer@lpr.e-technik.tu-muenchen.de
%
-% $Id: alphahtml.bst,v 1.2 2005/09/19 16:10:59 norman Exp $
+% $Id: alphahtml.bst.in,v 1.2 2006/10/31 15:45:57 norman Exp $
%
% Released under the terms of the GNU General Public Licence --
% see the file LICENCE, included in the distribution.
%
% Version history:
-% * 19 September 2005: added `webpage' entry type, and
+% 1.3 31 October 2006: added 'hrefprefix' variable; minor code tidups
+% 1.2 19 September 2005: added `webpage' entry type, and
% `lastchecked' field.
% 1.1 6 June 1999. Tidied documentation, clarified licence.
% 1.0b1 Original version, based on Franz's adaptations, plus support
@@ -69,7 +74,7 @@ ENTRY
INTEGERS { output.state before.all mid.sentence after.sentence after.block
close.link }
-STRINGS { s t xxxmirror }
+STRINGS { s t xxxmirror hrefprefix }
% Initialise state constants, and location of nearest XXX mirror (for eprints)
FUNCTION {init.state.consts}
@@ -78,7 +83,8 @@ FUNCTION {init.state.consts}
#2 'after.sentence :=
#3 'after.block :=
- "xxx.lanl.gov" 'xxxmirror :=
+ "" 'hrefprefix := % "ref:" is a good alternative
+ "xxx.arxiv.org" 'xxxmirror :=
}
FUNCTION {output.nonnull}
@@ -126,7 +132,7 @@ FUNCTION {output.check}
FUNCTION {output.bibitem}
{ newline$
- "<dt><a name=" quote$ * write$
+ "<dt><a name=" quote$ * hrefprefix * write$
cite$ write$
quote$ ">[" * label * "] " * write$
% the <dt> is closed within output.nonnull, as long as close.link is true
@@ -550,41 +556,15 @@ FUNCTION {format.article.crossref}
warning$
""
}
- { "In <em><a href=" quote$ * "#" * crossref * quote$ * ">" *
+ { "In <em><a href=" quote$ * "#" * hrefprefix * crossref * quote$ * ">" *
journal * "</a></em>" * }
% { "In <em>" journal * "</em>" * }
if$
}
{ "In " key * }
if$
-% " <a href=" quote$ * "#" * crossref * quote$ * ">" * crossref * "</a>" *
}
-%FUNCTION {format.crossref.editor}
-%{ crossref empty$
-% 'skip$
-% { "<a href=" * quote$ * "#" * crossref * quote$ * " >" * }
-% if$
-% editor #1 "{vv~}{ll}" format.name$
-% editor num.names$ duplicate$
-% #2 >
-% { pop$ " et~al." * }
-% { #2 <
-% 'skip$
-% { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
-% { " et~al." * }
-% { " and " * editor #2 "{vv~}{ll}" format.name$ * }
-% if$
-% }
-% if$
-% }
-% if$
-% crossref empty$
-% 'skip$
-% { "</a>" * }
-% if$
-%}
-
% if there is indeed a crossref, make the reference a link
FUNCTION {format.crossref.editor}
{ crossref empty$
@@ -603,7 +583,7 @@ FUNCTION {format.crossref.editor}
}
if$
}
- { "<a href=" quote$ * "#" * crossref * quote$ * " >[" *
+ { "<a href=" quote$ * "#" * hrefprefix * crossref * quote$ * " >[" *
crossref * "]</a>" *
}
if$
@@ -635,7 +615,6 @@ FUNCTION {format.book.crossref}
}
{ format.crossref.editor * }
if$
-% "<a href=#" * crossref * ">" * crossref * "</a>" *
}
FUNCTION {format.incoll.inproc.crossref}
@@ -656,8 +635,6 @@ FUNCTION {format.incoll.inproc.crossref}
}
{ "In " format.crossref.editor * }
if$
-% "<a href=#" * crossref * ">" * crossref * "</a>" *
-% " \cite{" * crossref * "}" *
}
FUNCTION {format.lastchecked}
diff --git a/Master/texmf-dist/bibtex/bst/bibhtml/alphahtmldate.bst b/Master/texmf-dist/bibtex/bst/bibhtml/alphahtmldate.bst
index a57cdb86f86..2ad179066c4 100644
--- a/Master/texmf-dist/bibtex/bst/bibhtml/alphahtmldate.bst
+++ b/Master/texmf-dist/bibtex/bst/bibhtml/alphahtmldate.bst
@@ -3,19 +3,24 @@
%%
%% This is alphahtmldate.bst, edited from alphahtml.bst by alphahtmldate.sed
%%
-%% alphahtml.bst, version 1.1
-%% Copyright 1999, 2005, Norman Gray.
+%% alphahtml.bst
%%
-%% alphahtml.bst derived from alpha.bst and plainhtml.bst by
+%% Part of bibhtml, version 1.3, released 2006 October 31
+%% See <http://purl.org/nxg/dist/bibhtml>
+%%
+%% Copyright 1999, 2005, 2006, Norman Gray <norman@astro.gla.ac.uk>
+%%
+%% alphahtml.bst was originally derived from alpha.bst and plainhtml.bst by
%% Franz G. Fischer, Franz.Fischer@lpr.e-technik.tu-muenchen.de
%
-% $Id: alphahtml.bst,v 1.2 2005/09/19 16:10:59 norman Exp $
+% $Id: alphahtml.bst.in,v 1.2 2006/10/31 15:45:57 norman Exp $
%
% Released under the terms of the GNU General Public Licence --
% see the file LICENCE, included in the distribution.
%
% Version history:
-% * 19 September 2005: added `webpage' entry type, and
+% 1.3 31 October 2006: added 'hrefprefix' variable; minor code tidups
+% 1.2 19 September 2005: added `webpage' entry type, and
% `lastchecked' field.
% 1.1 6 June 1999. Tidied documentation, clarified licence.
% 1.0b1 Original version, based on Franz's adaptations, plus support
@@ -75,7 +80,7 @@ ENTRY
INTEGERS { output.state before.all mid.sentence after.sentence after.block
close.link }
-STRINGS { s t xxxmirror }
+STRINGS { s t xxxmirror hrefprefix }
% Initialise state constants, and location of nearest XXX mirror (for eprints)
FUNCTION {init.state.consts}
@@ -84,7 +89,8 @@ FUNCTION {init.state.consts}
#2 'after.sentence :=
#3 'after.block :=
- "xxx.lanl.gov" 'xxxmirror :=
+ "" 'hrefprefix := % "ref:" is a good alternative
+ "xxx.arxiv.org" 'xxxmirror :=
}
FUNCTION {output.nonnull}
@@ -132,7 +138,7 @@ FUNCTION {output.check}
FUNCTION {output.bibitem}
{ newline$
- "<dt><a name=" quote$ * write$
+ "<dt><a name=" quote$ * hrefprefix * write$
cite$ write$
quote$ ">[" * label * "] " * write$
% the <dt> is closed within output.nonnull, as long as close.link is true
@@ -556,41 +562,15 @@ FUNCTION {format.article.crossref}
warning$
""
}
- { "In <em><a href=" quote$ * "#" * crossref * quote$ * ">" *
+ { "In <em><a href=" quote$ * "#" * hrefprefix * crossref * quote$ * ">" *
journal * "</a></em>" * }
% { "In <em>" journal * "</em>" * }
if$
}
{ "In " key * }
if$
-% " <a href=" quote$ * "#" * crossref * quote$ * ">" * crossref * "</a>" *
}
-%FUNCTION {format.crossref.editor}
-%{ crossref empty$
-% 'skip$
-% { "<a href=" * quote$ * "#" * crossref * quote$ * " >" * }
-% if$
-% editor #1 "{vv~}{ll}" format.name$
-% editor num.names$ duplicate$
-% #2 >
-% { pop$ " et~al." * }
-% { #2 <
-% 'skip$
-% { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
-% { " et~al." * }
-% { " and " * editor #2 "{vv~}{ll}" format.name$ * }
-% if$
-% }
-% if$
-% }
-% if$
-% crossref empty$
-% 'skip$
-% { "</a>" * }
-% if$
-%}
-
% if there is indeed a crossref, make the reference a link
FUNCTION {format.crossref.editor}
{ crossref empty$
@@ -609,7 +589,7 @@ FUNCTION {format.crossref.editor}
}
if$
}
- { "<a href=" quote$ * "#" * crossref * quote$ * " >[" *
+ { "<a href=" quote$ * "#" * hrefprefix * crossref * quote$ * " >[" *
crossref * "]</a>" *
}
if$
@@ -641,7 +621,6 @@ FUNCTION {format.book.crossref}
}
{ format.crossref.editor * }
if$
-% "<a href=#" * crossref * ">" * crossref * "</a>" *
}
FUNCTION {format.incoll.inproc.crossref}
@@ -662,8 +641,6 @@ FUNCTION {format.incoll.inproc.crossref}
}
{ "In " format.crossref.editor * }
if$
-% "<a href=#" * crossref * ">" * crossref * "</a>" *
-% " \cite{" * crossref * "}" *
}
FUNCTION {format.lastchecked}
diff --git a/Master/texmf-dist/bibtex/bst/bibhtml/alphahtmldater.bst b/Master/texmf-dist/bibtex/bst/bibhtml/alphahtmldater.bst
index 6e17fe53ede..f8991ea1da6 100644
--- a/Master/texmf-dist/bibtex/bst/bibhtml/alphahtmldater.bst
+++ b/Master/texmf-dist/bibtex/bst/bibhtml/alphahtmldater.bst
@@ -3,19 +3,24 @@
%%
%% This is alphahtmldater.bst, edited from alphahtml.bst by alphahtmldater.sed
%%
-%% alphahtml.bst, version 1.1
-%% Copyright 1999, 2005, Norman Gray.
+%% alphahtml.bst
%%
-%% alphahtml.bst derived from alpha.bst and plainhtml.bst by
+%% Part of bibhtml, version 1.3, released 2006 October 31
+%% See <http://purl.org/nxg/dist/bibhtml>
+%%
+%% Copyright 1999, 2005, 2006, Norman Gray <norman@astro.gla.ac.uk>
+%%
+%% alphahtml.bst was originally derived from alpha.bst and plainhtml.bst by
%% Franz G. Fischer, Franz.Fischer@lpr.e-technik.tu-muenchen.de
%
-% $Id: alphahtml.bst,v 1.2 2005/09/19 16:10:59 norman Exp $
+% $Id: alphahtml.bst.in,v 1.2 2006/10/31 15:45:57 norman Exp $
%
% Released under the terms of the GNU General Public Licence --
% see the file LICENCE, included in the distribution.
%
% Version history:
-% * 19 September 2005: added `webpage' entry type, and
+% 1.3 31 October 2006: added 'hrefprefix' variable; minor code tidups
+% 1.2 19 September 2005: added `webpage' entry type, and
% `lastchecked' field.
% 1.1 6 June 1999. Tidied documentation, clarified licence.
% 1.0b1 Original version, based on Franz's adaptations, plus support
@@ -75,7 +80,7 @@ ENTRY
INTEGERS { output.state before.all mid.sentence after.sentence after.block
close.link }
-STRINGS { s t xxxmirror }
+STRINGS { s t xxxmirror hrefprefix }
% Initialise state constants, and location of nearest XXX mirror (for eprints)
FUNCTION {init.state.consts}
@@ -84,7 +89,8 @@ FUNCTION {init.state.consts}
#2 'after.sentence :=
#3 'after.block :=
- "xxx.lanl.gov" 'xxxmirror :=
+ "" 'hrefprefix := % "ref:" is a good alternative
+ "xxx.arxiv.org" 'xxxmirror :=
}
FUNCTION {output.nonnull}
@@ -132,7 +138,7 @@ FUNCTION {output.check}
FUNCTION {output.bibitem}
{ newline$
- "<dt><a name=" quote$ * write$
+ "<dt><a name=" quote$ * hrefprefix * write$
cite$ write$
quote$ ">[" * label * "] " * write$
% the <dt> is closed within output.nonnull, as long as close.link is true
@@ -556,41 +562,15 @@ FUNCTION {format.article.crossref}
warning$
""
}
- { "In <em><a href=" quote$ * "#" * crossref * quote$ * ">" *
+ { "In <em><a href=" quote$ * "#" * hrefprefix * crossref * quote$ * ">" *
journal * "</a></em>" * }
% { "In <em>" journal * "</em>" * }
if$
}
{ "In " key * }
if$
-% " <a href=" quote$ * "#" * crossref * quote$ * ">" * crossref * "</a>" *
}
-%FUNCTION {format.crossref.editor}
-%{ crossref empty$
-% 'skip$
-% { "<a href=" * quote$ * "#" * crossref * quote$ * " >" * }
-% if$
-% editor #1 "{vv~}{ll}" format.name$
-% editor num.names$ duplicate$
-% #2 >
-% { pop$ " et~al." * }
-% { #2 <
-% 'skip$
-% { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
-% { " et~al." * }
-% { " and " * editor #2 "{vv~}{ll}" format.name$ * }
-% if$
-% }
-% if$
-% }
-% if$
-% crossref empty$
-% 'skip$
-% { "</a>" * }
-% if$
-%}
-
% if there is indeed a crossref, make the reference a link
FUNCTION {format.crossref.editor}
{ crossref empty$
@@ -609,7 +589,7 @@ FUNCTION {format.crossref.editor}
}
if$
}
- { "<a href=" quote$ * "#" * crossref * quote$ * " >[" *
+ { "<a href=" quote$ * "#" * hrefprefix * crossref * quote$ * " >[" *
crossref * "]</a>" *
}
if$
@@ -641,7 +621,6 @@ FUNCTION {format.book.crossref}
}
{ format.crossref.editor * }
if$
-% "<a href=#" * crossref * ">" * crossref * "</a>" *
}
FUNCTION {format.incoll.inproc.crossref}
@@ -662,8 +641,6 @@ FUNCTION {format.incoll.inproc.crossref}
}
{ "In " format.crossref.editor * }
if$
-% "<a href=#" * crossref * ">" * crossref * "</a>" *
-% " \cite{" * crossref * "}" *
}
FUNCTION {format.lastchecked}
diff --git a/Master/texmf-dist/bibtex/bst/bibhtml/plainhtml.bst b/Master/texmf-dist/bibtex/bst/bibhtml/plainhtml.bst
index f40c226132b..28ea144bf77 100644
--- a/Master/texmf-dist/bibtex/bst/bibhtml/plainhtml.bst
+++ b/Master/texmf-dist/bibtex/bst/bibhtml/plainhtml.bst
@@ -1,15 +1,18 @@
-%% plainhtml.bst, version 1.1
-%% Copyright 1999, 2005, Norman Gray.
+%% plainhtml.bst
%%
-%% Part of bibhtml, Norman Gray <norman@astro.gla.ac.uk>, April 1996
+%% Part of bibhtml, version 1.3, released 2006 October 31
+%% See <http://purl.org/nxg/dist/bibhtml>
+%%
+%% Copyright 1999, 2005, 2006, Norman Gray <norman@astro.gla.ac.uk>
%
-% $Id: plainhtml.bst,v 1.2 2005/09/19 16:10:52 norman Exp $
+% $Id: plainhtml.bst.in,v 1.2 2006/10/31 15:45:57 norman Exp $
%
% Released under the terms of the GNU General Public Licence --
% see the file LICENCE, included in the distribution.
%
% Version history:
-% * 19 September 2005: added `webpage' entry type, and
+% 1.3 31 October 2006: added 'hrefprefix' variable; minor code tidups
+% 1.2 19 September 2005: added `webpage' entry type, and
% `lastchecked' field.
% 1.1 6 June 1999. Tidied documenation, clarified licence.
% 1.0b3 April 1998, added support for eprint field
@@ -69,7 +72,7 @@ ENTRY
INTEGERS { output.state before.all mid.sentence after.sentence after.block
close.link }
-STRINGS { s t xxxmirror }
+STRINGS { s t xxxmirror hrefprefix }
% Initialise state constants, and location of nearest XXX mirror (for eprints)
FUNCTION {init.state.consts}
@@ -79,7 +82,8 @@ FUNCTION {init.state.consts}
#3 'after.block :=
#0 'close.link :=
- "xxx.lanl.gov" 'xxxmirror :=
+ "" 'hrefprefix := % "ref:" is a good alternative
+ "xxx.arxiv.org" 'xxxmirror :=
}
FUNCTION {output.nonnull}
@@ -127,7 +131,7 @@ FUNCTION {output.check}
FUNCTION {output.bibitem}
{ newline$
- "<dt><a name=" quote$ * write$
+ "<dt><a name=" quote$ * hrefprefix * write$
cite$ write$
quote$ ">[" * cite$ * "] " * write$
% the <dt> is closed within output.nonnull, as long as close.link is true
@@ -551,41 +555,15 @@ FUNCTION {format.article.crossref}
warning$
""
}
- { "In <em><a href=" quote$ * "#" * crossref * quote$ * ">" *
+ { "In <em><a href=" quote$ * "#" * hrefprefix * crossref * quote$ * ">" *
journal * "</a></em>" * }
% { "In <em>" journal * "</em>" * }
if$
}
{ "In " key * }
if$
-% " <a href=" quote$ * "#" * crossref * quote$ * ">" * crossref * "</a>" *
}
-%FUNCTION {format.crossref.editor}
-%{ crossref empty$
-% 'skip$
-% { "<a href=" * quote$ * "#" * crossref * quote$ * " >" * }
-% if$
-% editor #1 "{vv~}{ll}" format.name$
-% editor num.names$ duplicate$
-% #2 >
-% { pop$ " et~al." * }
-% { #2 <
-% 'skip$
-% { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
-% { " et~al." * }
-% { " and " * editor #2 "{vv~}{ll}" format.name$ * }
-% if$
-% }
-% if$
-% }
-% if$
-% crossref empty$
-% 'skip$
-% { "</a>" * }
-% if$
-%}
-
% if there is indeed a crossref, make the reference a link
FUNCTION {format.crossref.editor}
{ crossref empty$
@@ -604,7 +582,7 @@ FUNCTION {format.crossref.editor}
}
if$
}
- { "<a href=" quote$ * "#" * crossref * quote$ * " >[" *
+ { "<a href=" quote$ * "#" * hrefprefix * crossref * quote$ * " >[" *
crossref * "]</a>" *
}
if$
diff --git a/Master/texmf-dist/bibtex/bst/bibhtml/plainhtmldate.bst b/Master/texmf-dist/bibtex/bst/bibhtml/plainhtmldate.bst
index 8245416cd57..757df83c9e0 100644
--- a/Master/texmf-dist/bibtex/bst/bibhtml/plainhtmldate.bst
+++ b/Master/texmf-dist/bibtex/bst/bibhtml/plainhtmldate.bst
@@ -3,10 +3,12 @@
%%
%% This is plainhtmldate.bst, edited from plainhtml.bst by plainhtmldate.sed
%%
-%% plainhtml.bst, version 1.1
-%% Copyright 1999, 2005, Norman Gray.
+%% plainhtml.bst
%%
-%% Part of bibhtml, Norman Gray <norman@astro.gla.ac.uk>, April 1996
+%% Part of bibhtml, version 1.3, released 2006 October 31
+%% See <http://purl.org/nxg/dist/bibhtml>
+%%
+%% Copyright 1999, 2005, 2006, Norman Gray <norman@astro.gla.ac.uk>
ENTRY
{ address
author
@@ -39,14 +41,15 @@ ENTRY
{ label }
INTEGERS { output.state before.all mid.sentence after.sentence after.block
close.link }
-STRINGS { s t xxxmirror }
+STRINGS { s t xxxmirror hrefprefix }
FUNCTION {init.state.consts}
{ #0 'before.all :=
#1 'mid.sentence :=
#2 'after.sentence :=
#3 'after.block :=
#0 'close.link :=
- "xxx.lanl.gov" 'xxxmirror :=
+ "" 'hrefprefix := % "ref:" is a good alternative
+ "xxx.arxiv.org" 'xxxmirror :=
}
FUNCTION {output.nonnull}
{ 's :=
@@ -88,7 +91,7 @@ FUNCTION {output.check}
}
FUNCTION {output.bibitem}
{ newline$
- "<dt><a name=" quote$ * write$
+ "<dt><a name=" quote$ * hrefprefix * write$
cite$ write$
quote$ ">[" * cite$ * "] " * write$
#1 'close.link :=
@@ -458,7 +461,7 @@ FUNCTION {format.article.crossref}
warning$
""
}
- { "In <em><a href=" quote$ * "#" * crossref * quote$ * ">" *
+ { "In <em><a href=" quote$ * "#" * hrefprefix * crossref * quote$ * ">" *
journal * "</a></em>" * }
if$
}
@@ -482,7 +485,7 @@ FUNCTION {format.crossref.editor}
}
if$
}
- { "<a href=" quote$ * "#" * crossref * quote$ * " >[" *
+ { "<a href=" quote$ * "#" * hrefprefix * crossref * quote$ * " >[" *
crossref * "]</a>" *
}
if$
diff --git a/Master/texmf-dist/bibtex/bst/bibhtml/plainhtmldater.bst b/Master/texmf-dist/bibtex/bst/bibhtml/plainhtmldater.bst
index 06fb2eb64a9..0c37586d690 100644
--- a/Master/texmf-dist/bibtex/bst/bibhtml/plainhtmldater.bst
+++ b/Master/texmf-dist/bibtex/bst/bibhtml/plainhtmldater.bst
@@ -3,18 +3,21 @@
%%
%% This is plainhtmldater.bst, edited from plainhtml.bst by plainhtmldater.sed
%%
-%% plainhtml.bst, version 1.1
-%% Copyright 1999, 2005, Norman Gray.
+%% plainhtml.bst
%%
-%% Part of bibhtml, Norman Gray <norman@astro.gla.ac.uk>, April 1996
+%% Part of bibhtml, version 1.3, released 2006 October 31
+%% See <http://purl.org/nxg/dist/bibhtml>
+%%
+%% Copyright 1999, 2005, 2006, Norman Gray <norman@astro.gla.ac.uk>
%
-% $Id: plainhtml.bst,v 1.2 2005/09/19 16:10:52 norman Exp $
+% $Id: plainhtml.bst.in,v 1.2 2006/10/31 15:45:57 norman Exp $
%
% Released under the terms of the GNU General Public Licence --
% see the file LICENCE, included in the distribution.
%
% Version history:
-% * 19 September 2005: added `webpage' entry type, and
+% 1.3 31 October 2006: added 'hrefprefix' variable; minor code tidups
+% 1.2 19 September 2005: added `webpage' entry type, and
% `lastchecked' field.
% 1.1 6 June 1999. Tidied documenation, clarified licence.
% 1.0b3 April 1998, added support for eprint field
@@ -75,7 +78,7 @@ ENTRY
INTEGERS { output.state before.all mid.sentence after.sentence after.block
close.link }
-STRINGS { s t xxxmirror }
+STRINGS { s t xxxmirror hrefprefix }
% Initialise state constants, and location of nearest XXX mirror (for eprints)
FUNCTION {init.state.consts}
@@ -85,7 +88,8 @@ FUNCTION {init.state.consts}
#3 'after.block :=
#0 'close.link :=
- "xxx.lanl.gov" 'xxxmirror :=
+ "" 'hrefprefix := % "ref:" is a good alternative
+ "xxx.arxiv.org" 'xxxmirror :=
}
FUNCTION {output.nonnull}
@@ -133,7 +137,7 @@ FUNCTION {output.check}
FUNCTION {output.bibitem}
{ newline$
- "<dt><a name=" quote$ * write$
+ "<dt><a name=" quote$ * hrefprefix * write$
cite$ write$
quote$ ">[" * cite$ * "] " * write$
% the <dt> is closed within output.nonnull, as long as close.link is true
@@ -557,41 +561,15 @@ FUNCTION {format.article.crossref}
warning$
""
}
- { "In <em><a href=" quote$ * "#" * crossref * quote$ * ">" *
+ { "In <em><a href=" quote$ * "#" * hrefprefix * crossref * quote$ * ">" *
journal * "</a></em>" * }
% { "In <em>" journal * "</em>" * }
if$
}
{ "In " key * }
if$
-% " <a href=" quote$ * "#" * crossref * quote$ * ">" * crossref * "</a>" *
}
-%FUNCTION {format.crossref.editor}
-%{ crossref empty$
-% 'skip$
-% { "<a href=" * quote$ * "#" * crossref * quote$ * " >" * }
-% if$
-% editor #1 "{vv~}{ll}" format.name$
-% editor num.names$ duplicate$
-% #2 >
-% { pop$ " et~al." * }
-% { #2 <
-% 'skip$
-% { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
-% { " et~al." * }
-% { " and " * editor #2 "{vv~}{ll}" format.name$ * }
-% if$
-% }
-% if$
-% }
-% if$
-% crossref empty$
-% 'skip$
-% { "</a>" * }
-% if$
-%}
-
% if there is indeed a crossref, make the reference a link
FUNCTION {format.crossref.editor}
{ crossref empty$
@@ -610,7 +588,7 @@ FUNCTION {format.crossref.editor}
}
if$
}
- { "<a href=" quote$ * "#" * crossref * quote$ * " >[" *
+ { "<a href=" quote$ * "#" * hrefprefix * crossref * quote$ * " >[" *
crossref * "]</a>" *
}
if$