summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/xslt/latex/sambadoc.cls2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/xslt/latex/sambadoc.cls b/docs/xslt/latex/sambadoc.cls
index 34b2d286e1..8fe0043bc9 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