I am using a Mendeley bibtex file in my LaTex document and my citations include journal articles and websites. When I compile my document, the bibliography entry for the website does not show the 'URL date accessed'. Can you advise on how I can include this please?
I attach my bibtex code, bibliography file and pdf output. I am using Texworks (version 0.6.2) downloaded from MikTex (version 2.9)
LaTex doc.
\documentclass[a4paper,12pt]{article}
\bibliographystyle{plain}
\begin{document}
Test 1
\cite{Nature2017}
\bibliography{library}
\end{document}
Bibtex
@misc{Nature2017,
howpublished = {https://www.nature.com/nature/},
title = {{Nature}},
url = {https://www.nature.com/nature/},
urldate = {02/12/17}
}
I can't seem to find a solution online so any help you can give will be greatly appreciated!
Thank you in advance.
Best Answer
The
plain
bibliography style is one of the "orginal" BibTeX bibliography styles, and it's been around more or less unchanged since the mid-1980s. As such, it wasn't set up to do anything with fields calledurl
andurldate
, in no small part because the Internet didn't even exist yet and acronyms such as URL were but an idea in Tim Berners-Lee's mind. Do consider using a more modern bibliography style, i.e., one that at least recognizes the fieldurl
.Assuming that, for some reason, you're stuck with having to use the
plain
bibliography style, I suggest you transfer the contents of both theurl
andurldate
fields to a field callednotes
(and lose thehowpublished
field, since it just repeats the URL-related information). And, be sure to load theurl
and/orhyperref
packages in order to activate the\url
macro.