summaryrefslogtreecommitdiffstats
path: root/Doc/texinputs/manual.cls
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-03-25 15:41:23 (GMT)
committerFred Drake <fdrake@acm.org>1998-03-25 15:41:23 (GMT)
commit55730316c9fb9a82331c4b56c8f9dce1b93bce05 (patch)
tree3d97d055187e2598e25c872cc1d7b1172db307ef /Doc/texinputs/manual.cls
parent050be83da9f730f179dd370abd4b73807f3f7d63 (diff)
downloadcpython-55730316c9fb9a82331c4b56c8f9dce1b93bce05.zip
cpython-55730316c9fb9a82331c4b56c8f9dce1b93bce05.tar.gz
cpython-55730316c9fb9a82331c4b56c8f9dce1b93bce05.tar.bz2
Don't use the fncychap package for HOWTO documents; appendices break. Still
use them for manuals.
Diffstat (limited to 'Doc/texinputs/manual.cls')
-rw-r--r--Doc/texinputs/manual.cls14
1 files changed, 11 insertions, 3 deletions
diff --git a/Doc/texinputs/manual.cls b/Doc/texinputs/manual.cls
index a87b510..563c3f8 100644
--- a/Doc/texinputs/manual.cls
+++ b/Doc/texinputs/manual.cls
@@ -32,7 +32,16 @@
\RequirePackage{times}\typeout{Using times fonts instead of Computer Modern.}
-% Required package:
+% Required packages:
+%
+% The "fncychap" package is used to get the nice chapter headers. The
+% .sty file is distributed with Python, so you should not need to disable
+% it. You'd also end up with a mixed page style; uglier than stock LaTeX!
+%
+\RequirePackage[Bjarne]{fncychap}\typeout{Using fancy chapter headings.}
+% Do horizontal rules it this way to match:
+\newcommand{\@doHorizontalRule}{\mghrulefill{\RW}}
+%
%
% This gives us all the Python-specific markup that we really want.
% This should come last. Do not change this.
@@ -47,8 +56,7 @@
\begin{titlepage}%
\let\footnotesize\small
\let\footnoterule\relax
- \@ifundefined{ChTitleVar}{}{%
- \mghrulefill{\RW}}%
+ \@doHorizontalRule%
\@ifundefined{pdfinfo}{}{
\pdfinfo{
/Author (\@author)