summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/bibtex/bst/urlbst/unsrturl.bst
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-07-21 23:39:10 +0000
committerKarl Berry <karl@freefriends.org>2011-07-21 23:39:10 +0000
commit478adaf203776806f691f866da35e243690198a0 (patch)
treef6a4578f497df982dd6e9616ad1c0ab6f369da5c /Master/texmf-dist/bibtex/bst/urlbst/unsrturl.bst
parent73bb85bf9b41b46f71690ea10fe7e4918d7e6abe (diff)
urlbst 0.7 (21jul11)
git-svn-id: svn://tug.org/texlive/trunk@23198 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/bibtex/bst/urlbst/unsrturl.bst')
-rw-r--r--Master/texmf-dist/bibtex/bst/urlbst/unsrturl.bst20
1 files changed, 12 insertions, 8 deletions
diff --git a/Master/texmf-dist/bibtex/bst/urlbst/unsrturl.bst b/Master/texmf-dist/bibtex/bst/urlbst/unsrturl.bst
index 0ccd294c018..43826b8e622 100644
--- a/Master/texmf-dist/bibtex/bst/urlbst/unsrturl.bst
+++ b/Master/texmf-dist/bibtex/bst/urlbst/unsrturl.bst
@@ -1,5 +1,5 @@
%%% Modification of BibTeX style file /usr/local/texlive/2009/texmf-dist/bibtex/bst/base/unsrt.bst
-%%% ... by urlbst, version 0.6-5 (marked with "% urlbst")
+%%% ... by urlbst, version 0.7 (marked with "% urlbst")
%%% See <http://purl.org/nxg/dist/urlbst>
%%% Added webpage entry type, and url and lastchecked fields.
%%% Added eprint support.
@@ -56,6 +56,7 @@ INTEGERS { output.state before.all mid.sentence after.sentence after.block }
% urlbst constants and state variables
STRINGS { urlintro
eprinturl eprintprefix doiprefix doiurl pubmedprefix pubmedurl
+ citedstring onlinestring linktextstring
openinlinelink closeinlinelink }
INTEGERS { hrefform inlinelinks makeinlinelink
addeprints adddoiresolver addpubmedresolver }
@@ -71,13 +72,16 @@ FUNCTION {init.urlbst.variables}
#0 'inlinelinks := % 0=URLs explicit; 1=URLs attached to titles
% String constants, which you _might_ want to tweak.
- "Available from: " 'urlintro := % prefix before URL
+ "URL: " 'urlintro := % prefix before URL; typically "Available from:" or "URL":
+ "online" 'onlinestring := % indication that resource is online; typically "online"
+ "cited " 'citedstring := % indicator of citation date; typically "cited "
+ "[link]" 'linktextstring := % dummy link text; typically "[link]"
"http://arxiv.org/abs/" 'eprinturl := % prefix to make URL from eprint ref
- "arXiv:" 'eprintprefix := % text prefix printed before eprint ref
+ "arXiv:" 'eprintprefix := % text prefix printed before eprint ref; typically "arXiv:"
"http://dx.doi.org/" 'doiurl := % prefix to make URL from DOI
- "doi:" 'doiprefix := % text prefix printed before DOI ref
+ "doi:" 'doiprefix := % text prefix printed before DOI ref; typically "doi:"
"http://www.ncbi.nlm.nih.gov/pubmed/" 'pubmedurl := % prefix to make URL from PUBMED
- "PMID:" 'pubmedprefix := % text prefix printed before PUBMED ref
+ "PMID:" 'pubmedprefix := % text prefix printed before PUBMED ref; typically "PMID:"
% The following are internal state variables, not configuration constants,
% so they shouldn't be fiddled with.
@@ -225,7 +229,7 @@ FUNCTION {inbrackets}
FUNCTION {format.lastchecked}
{ lastchecked empty$
{ "" }
- { inbrackets "cited " lastchecked * }
+ { inbrackets citedstring lastchecked * }
if$
}
% ...urlbst to here
@@ -819,7 +823,7 @@ FUNCTION {fin.entry}
{ output.web.refs % urlbst
makeinlinelink % ooops, it appears we didn't have a title for inlinelink
{ possibly.setup.inlinelink % add some artificial link text here, as a fallback
- "[link]" output.nonnull }
+ linktextstring output.nonnull }
'skip$
if$
bracket.state close.brackets = % urlbst
@@ -855,7 +859,7 @@ FUNCTION {webpage}
new.block
title empty$ 'skip$ 'possibly.setup.inlinelink if$
format.title "title" output.check
- inbrackets "online" output
+ inbrackets onlinestring output
new.block
year empty$
'skip$