Update: This question's OP himself has found a good solution between an extra \\
and a working hyperref.
With the help of the hyperref
package one can write (the example is changed to an unpublished
publication because there is, apparently, no journal):
@unpublished{koepke2009naturalness,
year={2009},
title={Naturalness in formal mathematics},
note={\\
\href{http://www.math.uni-bonn.de/people/koepke/Preprints/Naturalness_in_formal_mathematics.pdf}
{\nolinkurl{http://www.math.uni-bonn.de/people/}}
\\
\href{http://www.math.uni-bonn.de/people/koepke/Preprints/Naturalness_in_formal_mathematics.pdf}
{\nolinkurl{koepke/Preprints/Naturalness_in_formal_mathematics.pdf}}
},
author={Koepke, Peter}
}
which gives
If only one \href
is used, like
note={\\
\href{http://www.math.uni-bonn.de/people/koepke/Preprints/Naturalness_in_formal_mathematics.pdf}
{\nolinkurl{http://www.math.uni-bonn.de/people/}
\\
\nolinkurl{koepke/Preprints/Naturalness_in_formal_mathematics.pdf}
}
},
the link-active area spans the whole first line:
Original answer
An underfull hbox doesn't mean that there's necessarily something wrong. It is merely a warning.
Compare the bibliography entries of the following code.
The one with the extra \\
doesn't give a warning (but breaks the hyperlink, by the way), the other one does give a warning, but looks the same.
(The italic setting from the journal
field did mess up the spacing either way.)
Code
\documentclass[natbib]{svmono}
\usepackage{url}
\usepackage[showframe,pass]{geometry}
\begin{filecontents}{test.bib}
@article{koepke2009naturalness,
year={2009},
title={Naturalness in formal mathematics},
journal={Same Journal Name},
note={\\\url{http://www.math.uni-bonn.de/people/koepke/Preprints/Naturalness_in_}\\\url{formal_mathematics.pdf}},
author={Koepke, Peter}
}
@article{koepke2009naturalnessa,
year={2009},
title={Naturalness in formal mathematics},
journal={Same Journal Name},
note={\\\url{http://www.math.uni-bonn.de/people/koepke/Preprints/Naturalness_in_formal_mathematics.pdf}},
author={Koepke, Peter}
}
\end{filecontents}
\begin{document}
\cite{*}
\bibliographystyle{harvard}
\bibliography{test}
\end{document}
Output
Best Answer
To make sure that bibliography items do not break across pages, change the definition of
\bibsetup
so that\interlinepenalty
is set to 10000 instead of 5000.Here's the original definition from
biblatex.def
: