summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/bibtex/bst
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/bibtex/bst')
-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