I'm writing a document in LaTeX (in Visual Studio Code using LaTeX Workshop extension) and using natbib for bibliography. The problem is in the bibliography it doesn't show the DOI, even for \bibliographystyle{apa}.
I have tried loading doi and url before and after natbib and I have tried to make the output by both pdflatex -> bibtex -> pdflatex*2 and latexmk.
This is how the entry in the .bib file:
@article{Drury2005,
abstract = {blah blah blah.},
author = {Drury, John and Cocking, Christopher and Beale, Joseph and Hanson, Charlotte and Rapley, Faye},
doi = {10.1348/014466604X18523},
isbn = {2044-8309},
issn = {01446665},
journal = {British Journal of Social Psychology},
number = {3},
pages = {309--328},
pmid = {16238842},
title = {{The phenomenology of empowerment in collective action}},
volume = {44},
year = {2005}
}
Any ideas how to handle this? Thanks in advance.
apa.bstdates back to 1992 a few years before the DOI system was introduced. You need to use a style that can handle DOIs. – moewe Jul 09 '18 at 14:39urlbstbundle know theDOI. So do several other more modern.bststyles such asapacite(should be used with theapacitepackage and tries to implement full APA style),din1505's styles also know DOIs..bstfiles produced bycursom-bibcan also support DOIs. – moewe Jul 09 '18 at 14:48apaciteworks well. I needed the DOI to become a hyperlink but I could do it by defining this command\newcommand*{\doi}[1]{\href{http://dx.doi.org/#1}{#1}}before\begin{document}(taken from here). The only problem remaining is the space after the colon and before the DOI string (as in "doi: 10.1348/014466604X18523") which shouldn't be there according to the APA style. Playing with.bstfile didn't seem to be easy. Any idea how to handle that? – psyguy Jul 09 '18 at 15:20