Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

It's cool to add a hyperlink in references like this: enter image description here

I want to know how to add the blue box in bibtex. For example, the following article's link is "ee".

@inproceedings{DBLP:conf/osdi/DeanG04,
author    = {Jeffrey Dean and
           Sanjay Ghemawat},
title     = {MapReduce: Simplified Data Processing on Large Clusters},
booktitle = {OSDI},
year      = {2004},
ee        = {http://www.usenix.org/events/osdi04/tech/dean.html},
crossref  = {DBLP:conf/osdi/2004},
bibsource = {DBLP, http://dblp.uni-trier.de}
}
share|improve this question

2 Answers 2

up vote 2 down vote accepted

Loading the hyperref package and using

url        = {http://www.usenix.org/events/osdi04/tech/dean.html},

gives a clickable url in your bibliography.

screenshot

alternatively you can use

             note        = {\href{http://www.usenix.org/events/osdi04/tech/dean.html}{my text for the link which can break across lines}},

which gives a link which has different text from the link. I agree with @Mico- this is probably a bad idea in general for a variety of different reasons.

screensh

Complete MWE

% arara: pdflatex
% arara: bibtex
% arara: pdflatex
% arara: pdflatex
\begin{filecontents}{mybib.bib}
  @inproceedings{dblp,
             author = {Jeffrey Dean and
             Sanjay Ghemawat},
             title     = {MapReduce: Simplified Data Processing on Large Clusters},
             booktitle = {OSDI},
             year      = {2004},
             note        = {\href{http://www.usenix.org/events/osdi04/tech/dean.html}{my text for the link which can break across lines}},
             bibsource = {DBLP, http://dblp.uni-trier.de}
             }
\end{filecontents}

\documentclass{article}
\usepackage[backend=bibtex]{biblatex}   % bibliography
\usepackage{hyperref}

% bibliography
\bibliography{mybib}
\begin{document}

hello world \cite{dblp}

\printbibliography
\end{document}
share|improve this answer
    
,this is a solution, but I'm wondering if this url can be hidden in paper's title. Paper's title is clickable. –  Lijie Xu Mar 4 '13 at 2:48
1  
@LijieXu - Unless you can be absolutely certain that your paper will always be read on-screen, and never from a paper copy, it's probably not a good idea to hide the actual URL from your readers' eyes. –  Mico Mar 4 '13 at 3:26
    
@LijieXu see the update :) –  cmhughes Mar 4 '13 at 3:31
    
@cmhughes, Thanks for your code. –  Lijie Xu Mar 4 '13 at 6:13

Thanks for the code of @cmhughe. I rewrite it as follows:

@inproceedings{DBLP:conf/osdi/DeanG04,
author    = {Jeffrey Dean and
           Sanjay Ghemawat},
title     = {\href{http://www.usenix.org/events/osdi04/tech/dean.html}{MapReduce: Simplified Data Processing on Large Clusters}},
booktitle = {OSDI},
year      = {2004},
ee        = {http://www.usenix.org/events/osdi04/tech/dean.html},
crossref  = {DBLP:conf/osdi/2004},
bibsource = {DBLP, http://dblp.uni-trier.de}

In this way, the hyperlink effect can be achieved.

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.