I'm writing an article using the REVTeX documentclass, and use hyperref. The problem is that when I add URLs to my references, the linked titles aren't broken at all.
Minimal example:
.tex file:
\documentclass[twocolumn]{revtex4-1}
\usepackage{hyperref}
\begin{document}
\cite{reference, reference2}
\bibliography{references}
\end{document}
references:
@TECHREPORT{reference,
AUTHOR = {Firstname Lastname},
TITLE = {Extremely long and complicated title of something I want to reference several times in my very interesting article},
INSTITUTION = {Institution},
YEAR = {2013},
URL = {http://url/}
}
@TECHREPORT{reference2,
AUTHOR = {Firstname Lastname},
TITLE = {Regular reference},
INSTITUTION = {Institution},
YEAR = {2013},
FILE = {http://url/},
}
Compile using latex, bibtex, latex, latex, dvipdf.
The result:
Does anyone know of a way to remedy this?
\listfilesto my preamble, and gothyperref.cfg 2002/06/06 v1.2,revsymb4-1.sty 2010/07/25/20:33:00 4.1r,natbib.sty 2010/09/13 8.31b,url.sty 2006/04/12 ver 3.3, and lots of other packages I don't know if is relevant. – Filip S. May 24 '13 at 09:05revtex4-1.cls 2010/07/25/20:33:00 4.1randhyperref.sty 2012/11/06 v6.83mare probably the most relevant. May be also relevent is the fact that I compile withpdflatex. – Andrew Swann May 24 '13 at 09:15latexgives the problem.breakurlsolutions as in http://tex.stackexchange.com/q/20768/15925 would be expected to help, but revtex writes an\hrefcommand in the bibliography rather than\url. Nowbreakurlprovides\burlaltthat has the same syntax as\href, but (a) I can't get the\burlaltcommand to work - it produces compilation errors even in simplearticledocuments, (b) I don't see how to make the substitution of\hrefby\burlalt, except via an external processing of the.bbl. I think you are going to have to usepdflatex– Andrew Swann May 24 '13 at 11:08