summaryrefslogtreecommitdiffstats
path: root/Doc/texinputs/manual.cls
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-03-03 22:02:19 (GMT)
committerFred Drake <fdrake@acm.org>1998-03-03 22:02:19 (GMT)
commit6659c30b67da07573e4ab315d6fca1667b920a35 (patch)
treeaf961c46bf05d64ab1f5a7663018488bfcd0acb0 /Doc/texinputs/manual.cls
parent53525379daab30fc2ca83713df683fe113f0f8c2 (diff)
downloadcpython-6659c30b67da07573e4ab315d6fca1667b920a35.zip
cpython-6659c30b67da07573e4ab315d6fca1667b920a35.tar.gz
cpython-6659c30b67da07573e4ab315d6fca1667b920a35.tar.bz2
Convert LaTeX support to create a new class of documents. HTML generation
now requires LaTeX2HTML 98.1p1 or newer (& and is still in progress). This means that doing things to change the formatting of the manuals (at the "normal user" level, like A4 paper), can happen in just one place, rather than in each document file.
Diffstat (limited to 'Doc/texinputs/manual.cls')
-rw-r--r--Doc/texinputs/manual.cls39
1 files changed, 39 insertions, 0 deletions
diff --git a/Doc/texinputs/manual.cls b/Doc/texinputs/manual.cls
new file mode 100644
index 0000000..bb7ba9a
--- /dev/null
+++ b/Doc/texinputs/manual.cls
@@ -0,0 +1,39 @@
+%
+% manual.cls for the Python documentation
+%
+
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesClass{manual}
+ [1998/03/03 Python manual]
+
+% Change the options here to get a different set of basic options, This
+% is where to add things like "a4paper" or "10pt".
+%
+\LoadClass[twoside,openright]{report}
+
+
+% Optional packages:
+%
+% If processing of these documents fails at your TeX installation,
+% these may be commented out (independently) to make things work.
+% These are both supplied with the current version of the teTeX
+% distribution.
+%
+% The "fancyhdr" package makes nicer page footers reasonable to
+% implement, and is used to put the chapter and section information in
+% the footers.
+%
+% The "times" package makes the default font the PostScript Times
+% font, which makes for smaller PostScript and a font that more people
+% like.
+%
+\RequirePackage{fancyhdr}\typeout{Using fancier footers than usual.}
+\RequirePackage{times}\typeout{Using times fonts instead of Computer Modern.}
+
+
+% Required package:
+%
+% This gives us all the Python-specific markup that we really want.
+% This should come last. Do not change this.
+%
+\RequirePackage{python}