summaryrefslogtreecommitdiff
path: root/docs/xslt/latex/sambadoc.cls
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>2005-07-05 04:23:55 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:47:01 -0500
commit1097defa8f1d8fee28f760efa19cc4e48693ecbc (patch)
tree5af7ddc94beb5c9a8bf007b73521c658b356d17b /docs/xslt/latex/sambadoc.cls
parent1820edf4404781418a9cb569bb27f5a26f1038eb (diff)
downloadsamba-1097defa8f1d8fee28f760efa19cc4e48693ecbc.tar.gz
samba-1097defa8f1d8fee28f760efa19cc4e48693ecbc.tar.bz2
samba-1097defa8f1d8fee28f760efa19cc4e48693ecbc.zip
Widow/orphan handling
(This used to be commit f405aa7c30f2e430448b4dae25960b4b31421d01)
Diffstat (limited to 'docs/xslt/latex/sambadoc.cls')
-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