Is it possible to tell biblatex to never split a bibliography entry across two pages?
Ideally this should work for both \cite and \fullcite.
2 Answers
biblatex executes \bibsetup at the start of the bibliography; its usual definition is
\interlinepenalty=5000\relax
\widowpenalty=10000\relax
\clubpenalty=10000\relax
\raggedbottom
\frenchspacing
\biburlsetup
So you can do
\patchcmd{\bibsetup}{\interlinepenalty=5000}{\interlinepenalty=10000}{}{}
and this will inhibit page breaks inside paragraphs.
The utility \patchcmd requires, in general, to load the etoolbox package, but biblatex already loads it.
- 1,121,712
More a kludge than a true automagic solution:
As BibTeX is a seperate executable that writes the LaTeX code that typesets the bibliography in a .bbl file, which then again is read into LaTeX in the next run, you can simply manually insert a \pagebreak between two \bibitems in the .bbl file to make sure the second one is moved completely to the next page.
As BibTeX is not aware of the layout of the page the size of the fonts etc. it cannot decide where to insert such a \pagebreak itself. It might be possible to modify \bibitem to check whether it fits on the current page but that is most likely not a trivial thing to do.
Of course you loose the manually inserted \pagebreaks whenever you have to rerun BibTeX, so it is best to do this at the very end before publishing, when there are no more changes to the bibliography, to avoid doing this over and over again.
- 4,315
-
But then I would need to edit the bbl file everytime I change/add things to my bibliography? – Matthias Feb 03 '12 at 11:02
-
1@Matthias True. As I wrote, it is a kludge. If you do it at the very end before publishing/printing you only have to do it once. – uli Feb 03 '12 at 11:05
-
etoolboxpackage. Please approve my edit :) – Matthias Feb 07 '12 at 10:49biblatexalready loadsetoolbox. – egreg Feb 07 '12 at 11:07\interlinepenalty=10000) right before calling\bibliographydid work. – Joost May 19 '15 at 14:26\interlinepenalty5000just highly discourages page breaking, but it doesn't inhibit it. – egreg May 19 '15 at 14:32fullciteblocks now. Any ideas? – Matthias Aug 17 '15 at 15:32