I am using makebst
to create my own bib style.
I would like the DOI to show up in the citation (as a hyperlink), whenever the DOI is present. I have successfully done that.
When the DOI is present, I do NOT want the URL
field to be used, since that is often redundant or pointless. I therefore disabled using the URL
field in makebst
.
However, when there is no DOI
field (some journals, etc. that I have do not have a DOI), I would like the URL
field to appear instead. There is no option for this in makebst (as far as I can tell).
So, how can I use my makebst
made bst
file and use DOI preferentially, but URL when no DOI is present.
Packages I am using that might have an impact: hyperref
, cite
, url
.
[I am not using biblatex
, which causes some other problems for me.]
bst
file. Unless, you have to submit the paper to publications still using bibtex, it would much easier to usebiblatex
(and to solve the other issue you might have).