blob: 2dbdcda97d3ded3ec545883d260e7e5606981d72 [file] [log] [blame]
Guido van Rossum5153e5e1991-01-25 13:29:53 +00001This directory contains the LaTeX source to the Python documentation.
Guido van Rossum676d6da1992-02-11 15:51:36 +00002It is not all finished, but good enough to get you started.
Guido van Rossum7f777ed1990-08-09 14:25:15 +00003
Guido van Rossum676d6da1992-02-11 15:51:36 +00004The following are the LaTeX source files:
Guido van Rossum7f777ed1990-08-09 14:25:15 +00005
Guido van Rossum676d6da1992-02-11 15:51:36 +00006 tut.tex The tutorial
Guido van Rossumddfb3eb1991-11-12 15:40:23 +00007 lib.tex, lib[1-5].tex The library reference
Guido van Rossum676d6da1992-02-11 15:51:36 +00008 ref.tex The reference manual
9 qua.tex, quabib.bib Article published in CWI Quarterly
Guido van Rossum7f777ed1990-08-09 14:25:15 +000010
Guido van Rossum676d6da1992-02-11 15:51:36 +000011All except qua.tex use the style option file "myformat.sty". This
12contains some simple macro definitions and sets style parameters. You
13can easily edit it to change the paper size (the default is European
14paper, "A4" or 21 x 29.7 cm).
Guido van Rossum7f777ed1990-08-09 14:25:15 +000015
Guido van Rossum676d6da1992-02-11 15:51:36 +000016To format a document, run latex on it, twice, to get the forward
17references right, then use dvips and lpr to print it, e.g.:
Guido van Rossum7f777ed1990-08-09 14:25:15 +000018
Guido van Rossum676d6da1992-02-11 15:51:36 +000019 latex lib
20 latex lib
21 dvips lib | lpr
22
23Before calling dvips and lpr, you should really preview the dvi file,
24e.g.
25
26 xdvi lib
27
28The qua document (which is not user documentation but a somewhat more
29abstract review of Python and some work for which it was used) needs
30a little more work:
31
32 latex qua
33 latex qua
34 bibtex qua
35 latex qua
36 dvips qua | lpr