In this question, the top answers suggests using the url package within a .bib file.
I am using Overleaf and I am trying to include the url command in my .bib file, but it is just being printed out as plain text.
For example in the file references.bib
:
@article{sensorSum,
author = "Donghai Guan and Tinghuai Ma and Weiwei Yuan and Young-Koo Lee and A. M. Jehad Sarkar",
title = "Review of Sensor-based Activity Recognition Systems",
journal = "IETE Technical Review",
volume = "28",
year = "2011",
DOI = {\url{https://doi.org/10.4103/0256-4602.85975}}
}
gets printed in my bibliography as:
[3] D. Guan, T. Ma, W. Yuan, Y.-K. Lee, and A. M. J. Sarkar, “Review of sensor-based activity recognition systems,” IETE Technical Review, vol. 28, 2011. DOI:\url{https://doi.org/10.4103/0256- 4602.85975}.
Here is the (shortened) tex file:
\documentclass[12pt,a4paper]{article}
\usepackage{url}
\usepackage[style=ieee,citestyle=ieee,dashed=false]{biblatex}
\addbibresource{references.bib}
\begin{document}
Lots of text
...
\cite{sensorSum}
\newpage
\printbibliography
\end{document}
How can I fix this?
\url
for thedoi
orurl
fields inbiblatex
. And only include the DOI and not the entire link in thedoi
field.DOI = {10.4103/0256-4602.85975}
.