summaryrefslogtreecommitdiffstats
path: root/Doc/texinputs/howto.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/howto.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/howto.cls')
-rw-r--r--Doc/texinputs/howto.cls10
1 files changed, 6 insertions, 4 deletions
diff --git a/Doc/texinputs/howto.cls b/Doc/texinputs/howto.cls
index 1159123..a124221 100644
--- a/Doc/texinputs/howto.cls
+++ b/Doc/texinputs/howto.cls
@@ -40,12 +40,15 @@
\RequirePackage{python}
+% need to do one of these....
+\newcommand{\@doHorizontalRule}{\rule{\textwidth}{1pt}}
+
+
% Change the title page to look a bit better, and fit in with the
% fncychap ``Bjarne'' style a bit better.
%
\renewcommand{\maketitle}{
- \@ifundefined{ChTitleVar}{}{
- \mghrulefill{\RW}}
+ \@doHorizontalRule
\@ifundefined{pdfinfo}{}{
\pdfinfo{
/Author (\@author)
@@ -74,8 +77,7 @@
\parskip = 0mm
\OldTableofcontents
\endgroup
- \@ifundefined{ChTitleVar}{}{
- \mghrulefill{\RW}}
+ \@doHorizontalRule
\vspace{12pt}
}