summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/bibtex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-01-06 00:17:06 +0000
committerKarl Berry <karl@freefriends.org>2011-01-06 00:17:06 +0000
commit23874e3b30e5dbeba8cb8d27231c6c247e7f97dc (patch)
treec9513b30590eab11577a462c1179028c995d060f /Master/texmf-dist/bibtex
parent4f4d5a12f967ecfe1ef88bf43966f35347cf7b7c (diff)
rsc 3.1d (4jan11)
git-svn-id: svn://tug.org/texlive/trunk@20942 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/bibtex')
-rw-r--r--Master/texmf-dist/bibtex/bst/rsc/angew.bst31
-rw-r--r--Master/texmf-dist/bibtex/bst/rsc/rsc.bst31
2 files changed, 56 insertions, 6 deletions
diff --git a/Master/texmf-dist/bibtex/bst/rsc/angew.bst b/Master/texmf-dist/bibtex/bst/rsc/angew.bst
index 316263279be..f598f0717e4 100644
--- a/Master/texmf-dist/bibtex/bst/rsc/angew.bst
+++ b/Master/texmf-dist/bibtex/bst/rsc/angew.bst
@@ -20,6 +20,7 @@ ENTRY
chapter
ctrl-use-title
ctrl-etal-number
+ ctrl-link-doi
ctrl-use-doi-all
doi
edition
@@ -59,7 +60,7 @@ FUNCTION {init.state.consts}
#4 'after.item :=
}
-INTEGERS { is.use.title etal.number use.doi.all }
+INTEGERS { is.use.title etal.number use.doi.all link.doi }
%% #0 turns off the display of the title for articles
%% #1 enables
@@ -72,6 +73,10 @@ FUNCTION {default.etal.number} { #0 }
%% #1 enables
FUNCTION {default.use.doi.all} { #0 }
+%% #0 turns off hyperlinks for DOI
+%% #1 enables
+FUNCTION {default.link.doi} { #0 }
+
FUNCTION {add.comma}
{ ", " * }
@@ -510,7 +515,19 @@ FUNCTION {format.doi}
{ use.doi.all
{ doi empty$
'skip$
- { bbl.doi doi tie.or.space.connect output }
+ {
+ link.doi
+ {
+ "\href{http://dx.doi.org/"
+ doi *
+ "}{" *
+ bbl.doi doi tie.or.space.connect *
+ "}" *
+ }
+ { bbl.doi doi tie.or.space.connect }
+ if$
+ output
+ }
if$
}
'skip$
@@ -1234,6 +1251,13 @@ FUNCTION {Control}
yes.no.to.int
'use.doi.all := }
if$
+ ctrl-link-doi
+ empty$
+ { skip$ }
+ { ctrl-link-doi
+ yes.no.to.int
+ 'link.doi := }
+ if$
}
FUNCTION {conference} {inproceedings}
@@ -1261,6 +1285,7 @@ FUNCTION {initialize.controls}
{ default.is.use.title 'is.use.title :=
default.etal.number 'etal.number :=
default.use.doi.all 'use.doi.all :=
+ default.link.doi 'link.doi :=
}
INTEGERS { len }
@@ -1473,7 +1498,7 @@ FUNCTION {end.bib}
EXECUTE {end.bib}
%%
-%% Copyright (C) 2006-2009 by
+%% Copyright (C) 2006-2009,2011 by
%% Joseph Wright <joseph.wright@morningstar2.co.uk>
%%
%% It may be distributed and/or modified under the conditions of
diff --git a/Master/texmf-dist/bibtex/bst/rsc/rsc.bst b/Master/texmf-dist/bibtex/bst/rsc/rsc.bst
index cd9785e103b..b912ae1cae7 100644
--- a/Master/texmf-dist/bibtex/bst/rsc/rsc.bst
+++ b/Master/texmf-dist/bibtex/bst/rsc/rsc.bst
@@ -20,6 +20,7 @@ ENTRY
chapter
ctrl-use-title
ctrl-etal-number
+ ctrl-link-doi
ctrl-use-doi-all
doi
edition
@@ -59,7 +60,7 @@ FUNCTION {init.state.consts}
#4 'after.item :=
}
-INTEGERS { is.use.title etal.number use.doi.all }
+INTEGERS { is.use.title etal.number use.doi.all link.doi }
%% #0 turns off the display of the title for articles
%% #1 enables
@@ -72,6 +73,10 @@ FUNCTION {default.etal.number} { #0 }
%% #1 enables
FUNCTION {default.use.doi.all} { #0 }
+%% #0 turns off hyperlinks for DOI
+%% #1 enables
+FUNCTION {default.link.doi} { #0 }
+
FUNCTION {add.comma}
{ ", " * }
@@ -503,7 +508,19 @@ FUNCTION {format.doi}
{ use.doi.all
{ doi empty$
'skip$
- { bbl.doi doi tie.or.space.connect output }
+ {
+ link.doi
+ {
+ "\href{http://dx.doi.org/"
+ doi *
+ "}{" *
+ bbl.doi doi tie.or.space.connect *
+ "}" *
+ }
+ { bbl.doi doi tie.or.space.connect }
+ if$
+ output
+ }
if$
}
'skip$
@@ -1227,6 +1244,13 @@ FUNCTION {Control}
yes.no.to.int
'use.doi.all := }
if$
+ ctrl-link-doi
+ empty$
+ { skip$ }
+ { ctrl-link-doi
+ yes.no.to.int
+ 'link.doi := }
+ if$
}
FUNCTION {conference} {inproceedings}
@@ -1254,6 +1278,7 @@ FUNCTION {initialize.controls}
{ default.is.use.title 'is.use.title :=
default.etal.number 'etal.number :=
default.use.doi.all 'use.doi.all :=
+ default.link.doi 'link.doi :=
}
INTEGERS { len }
@@ -1466,7 +1491,7 @@ FUNCTION {end.bib}
EXECUTE {end.bib}
%%
-%% Copyright (C) 2006-2009 by
+%% Copyright (C) 2006-2009,2011 by
%% Joseph Wright <joseph.wright@morningstar2.co.uk>
%%
%% It may be distributed and/or modified under the conditions of