[Tex/LaTex] Editing the bibliography without changing citations in the text

biblatexline-breakingpage-breaking

Preparing my manuscript for publication, I need to manually redact the bibliography I generated with biblatex (style authortitle-dw) and Biber. This is mostly about fixing the line and page breaks (some nasty URLs, making sure that bib items do not break across pages, etc., see pictures below). I cannot make these fixes in the *.bbl file since the changes there would also affect the citations in the text. Any ideas how to do that?

Bad URL (too long)

Bad URL

Bad line (to long)

enter image description here

Bad page break

enter image description here

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.

\patchcmd{\bibsetup}{\interlinepenalty=5000}{\interlinepenalty=10000}{}{}

Here's the original definition from biblatex.def:

\newcommand*{\bibsetup}{%
  \interlinepenalty=5000\relax
  \widowpenalty=10000\relax
  \clubpenalty=10000\relax
  \raggedbottom
  \frenchspacing
  \biburlsetup}
Related Question