I use references that have an address in the url
field.
They use following template in my .bib
file: ssrn.com/abstract=1234567
.
However, the generated hyperlink is also ssrn.com/abstract=1234567
. This makes pdf readers not want to open the link, since there is no http://
prefix. Adding the latter for each URL would (be tedious, and) take too much place in the list of references.
Question: How to make biblatex generate an hyperlink like \href{http://<url-field-content>}{<url-field-content>}
in the references?
(where <url-field-content>
is information given by the .bib
file)
\documentclass{article}
\usepackage[style=authoryear-comp]{biblatex}
\addbibresource{\jobname.bib}
\begin{filecontents}{\jobname.bib}
@book{key,
author = {Author, A.},
year = {2001},
title = {Title},
publisher = {Publisher},
url = {ssrn.com/abstract=1234567},
}
\end{filecontents}
\usepackage{filecontents}
\usepackage{hyperref}
\begin{document}
\nocite{key}
\printbibliography
\end{document}