diff options
Diffstat (limited to 'Master/texmf-dist/bibtex/bst/bibhtml/alphahtmldater.bst')
-rw-r--r-- | Master/texmf-dist/bibtex/bst/bibhtml/alphahtmldater.bst | 55 |
1 files changed, 16 insertions, 39 deletions
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} |