summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/bibtex/bst/bibhtml/alphahtml.bst
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/bst/bibhtml/alphahtml.bst
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/bst/bibhtml/alphahtml.bst')
-rw-r--r--Master/texmf-dist/bibtex/bst/bibhtml/alphahtml.bst55
1 files changed, 16 insertions, 39 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}