How do you prevent a page break between a list and the following text?
\documentclass{report}
\usepackage{lipsum}
\begin{document}
\begin{itemize}
\item \lipsum[1-3]
\item \lipsum[5]
\nopagebreak
\end{itemize}
\nopagebreak
\vspace{3\baselineskip}
\nopagebreak
\begin{center}
\nopagebreak
The end
\end{center}
\end{document}
I would like to prevent the "The end" closing from ever appearing on a page of its own, even at the cost of breaking up the list across two separate pages.
This process needs to be automated over a number of different documents, and so, can't be adjusted manually on a case by case basis, like adding \pagebreak before the last item on the list.