I have been messing around a bit with different packages - url, hyperref etc. to get urls into my bibliography. Essentially i've got to the point where I have the url - with a clickable weblink over it - which is ~ almost what I want.
However - some of the weblinks are really long - and ugly, and in an ideal world I'd like the link to attach to some other part of the reference in the bibliography - or something that is clearly just a weblink - without the url explicitly shown. I'm pretty sure this should be possible without too much work - I'm sure it is reasonably common in journals.
NOTE - although there are some similar questions to this..... I don't think (????) it's a duplicate.
eg. Is it possible to have URLs link from a pdf to the webpage? - They WANT the url
NOTE: - I'm a relative newbie to bibtex, and will favour solutions that DON'T involve re-writing a bibtex style. As blackadder says "I am one of these people who are quite happy to wear cotton, but have no idea how it works." Hope that doesn't put you off.....
BibTexUrls.tex:
\documentclass[12pt]{article}
\usepackage[numbers,sort&compress]{natbib}
\usepackage{hyperref}
\title{BibTexUrls}
\author{JP}
\date{\today}
\begin{document}
\maketitle
I read something really interesting the other day........\cite{Gaebel2004}
\bibliographystyle{IEEEtran}
\addcontentsline{toc}{chapter}{Bibliography}
\bibliography{BibTexUrls}
\end{document}
BibTexUrls.bib:
@article{Gaebel2004,
author = {Gaebel, T and Popa, I. and Gruber, A. and Domhan, M. and Jelezko, F. and Wrachtrup, J.},
doi = {10.1088/1367-2630/6/1/098},
issn = {1367-2630},
journal = {New Journal of Physics},
pages = {98--98},
title = {{Stable single-photon source in the near infrared}},
url = {http://stacks.iop.org/1367-2630/6/i=1/a=098?key=crossref.c22c6711b1c99f09b470c1b95fb132c0},
volume = {6},
year = {2004}
}
