From: John Terpstra Date: Tue, 5 Jul 2005 04:23:55 +0000 (+0000) Subject: Widow/orphan handling X-Git-Tag: samba-4.0.0alpha6~801^2~2087 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1097defa8f1d8fee28f760efa19cc4e48693ecbc;p=thirdparty%2Fsamba.git Widow/orphan handling (This used to be commit f405aa7c30f2e430448b4dae25960b4b31421d01) --- diff --git a/docs/xslt/latex/sambadoc.cls b/docs/xslt/latex/sambadoc.cls index 34b2d286e16..8fe0043bc95 100644 --- a/docs/xslt/latex/sambadoc.cls +++ b/docs/xslt/latex/sambadoc.cls @@ -218,6 +218,8 @@ \vskip3pt\hrule\vskip3pt\hrule \vskip36pt\raggedright\Huge\sfbHuge\uppercase{#1}\par \nobreak\vskip70pt}}%\chaptersmark{#1}} +\widowpenalty=1000 +\clubpenalty=1000 %------------------------ section ----------------------------------- \def\section{\@startsection{section}{1}{\z@}{-3.5ex plus-1ex