Having the same problem as bibtex - how to have a web link without the url (ideally to have a link on the number), I am wondering:
Is there really no freely accessible bibtex style (so as I do not have to edit neither bibliography items nor my bibtex style file) which would use the url field to make the whole bibliography item [change colour and become] clickable without explicitly displaying the url?
This is not a solution for me, as I do not want to add any additional text to my references.
The way Annals of Physics does it is what I am looking for:
If such a bibtex style does not exist, what is the simplest solution to achieve this result?
UPDATE: To provide a code to work with, let us start with the example:
% pdflatex, bibtex, pdflatex, pdflatex
\begin{filecontents}{mybib.bib}
@book{pascal,
title={Pensees},
author={Pascal, B. and Krailsheimer, A.},
series={Penguin classics},
url={http://books.google.cz/books?id=jakUTllF9G0C},
year={1995},
publisher={Penguin Books Limited}
}
\end{filecontents}
\documentclass{article}
\usepackage[backend=bibtex]{biblatex}
\usepackage{hyperref}
\bibliography{mybib}
\begin{document}
Give it a try: \cite{pascal}
\printbibliography
\end{document}
Giving:
UPDATE 2: Using biblatex (and the same bibliography entry), we get:
% pdflatex, biber, pdflatex, pdflatex
\documentclass{article}
\usepackage{biblatex}
\usepackage{hyperref}
\addbibresource{mybib.bib}
\begin{document}
Give it a try: \cite{pascal}
\printbibliography
\end{document}
So the question is: How to make the url disappear and make the whole (or part) of the entry a link to the given url?
biblatex
/biber
rather thanbibtex
. It will not by default do what you want but is much more configurable. Moreover, there is aneprint
field which is fantastic. (Short but still helpful if somebody can't click the link directly for some reason.)texdoc biblatex
. You haven't provided any code to work with...eprint
field even if Mendeley won't let you export that field initially.