Using a begin penalty (Avoid a break between a list and its introductory statement) works with enumerate
How to format labels with the enumerate environment was discussed in format labels of enumerate
Using a begin penalty and label formatting with enumerate at the same time poses a conundrum. Consider this example:
\documentclass{report}
\usepackage[bottom=1cm, top =1cm]{geometry}
\usepackage{lipsum}
\usepackage{enumerate}
%\usepackage{enumitem}
\begin{document}
\lipsum[1-8]
\lipsum[5][1-5]
another paragraph
consider the following cases:
\begin{enumerate}[1), beginpenalty=10000]
\item case 1
\item case 2
\end{enumerate}
\lipsum[6-7]
\end{document}
First it compiles only when commenting out the line
\usepackage{enumitem}
However, the package enumitem must be supplied for using beginpenalty=10000. Can you help?

enumeratewithenumtem(option[shortlabels]). – Bernard May 03 '19 at 16:48enumitem? This environment is undefined even with theenumitempackage. – Viesturs May 03 '19 at 17:24enumitemis undefined even with theenumitempackage. – Viesturs May 03 '19 at 17:28