As I see it, most BibTeX styles (.bst
files) assume that the doi
field in a BibTeX databases (.bib
files) is saved without a http://dx.doi.org/
prefix. However, many scentific journals export bibtex recodrs with this prefix, eg,
doi = {http://dx.doi.org/10.1063/1.1408625},
although
doi = {10.1063/1.1408625},
is expected by the most of the BibTeX styles.
As a result a standard BibTeX style fails to produce correct doi
output. Is it possible to invent a bibtex
function that would check if the prefix http://dx.doi.org/
is already in the doi
field value and append in only in the case when it is absent? If .bst
style is not able for such manipulation, then it could pass the doi
value to a LaTeX command that would make required check.
.bib
instead of messing with bibtex internals. Or letsed
do the job for you, e.g.sed 's_http://dx.doi.org/__g' bibliography.bib
– DG' Nov 28 '14 at 9:07biblatex
you can make such changes on the fly. – Andrew Swann Feb 3 '15 at 13:52