I couldn't find a solution to my problem searching. Apologies if it has been asked before.
My problem is: on a few of my bibliography entries, there are massive spaces in the text to pad out the lines, how can I avoid this to improve the appearance?

I couldn't find a solution to my problem searching. Apologies if it has been asked before.
My problem is: on a few of my bibliography entries, there are massive spaces in the text to pad out the lines, how can I avoid this to improve the appearance?

...
\usepackage{ragged2e}
\edef\UrlBreaks{\do\-\UrlBreaks}% after loading url or hyperref
...
...
\begingroup
\RaggedRight
\bibliographystyle{...}
\bibliography{...}
\endgroup
Would including some of my preable be helpful?
– GP89 May 10 '11 at 20:21I solved the problem by including the hyphenbreaks option in the breakurl package.
\usepackage[hyphenbreaks]{breakurl}
hyphenbreaksoption in thebreakurlpackage which solved my problem – GP89 May 10 '11 at 23:02