For a cooperative latex document with a lot of authors, it was decided to use tables for certain structures. Therefore, I have to cope with the problem of automatic page breaks of tables that only consist of 1 column and several rows. The column often contain different lists. The attached example shows the problem: The table does not break within a list. Is there a way to work around this issue?
\documentclass{book}
\usepackage{longtable}
\usepackage{blindtext}
\usepackage{paralist}
\begin{document}
\begin{longtable}{|p{\textwidth}|}
\hline
\blindtext[1]\\
\blindtext[2]\\\hline
\begin{compactenum}
\item test
\item test
\item test
\item test
\item test
\item test
\item test
\item test
\item test
\item test
\item test
\item test
\item test
\end{compactenum}\\
\blindtext[2]
\hline
\end{longtable}
\end{document}
longtable
, I'd suggestmdframed
.