Guido van Rossum | 5153e5e | 1991-01-25 13:29:53 +0000 | [diff] [blame] | 1 | This directory contains the LaTeX source to the Python documentation. |
Guido van Rossum | 676d6da | 1992-02-11 15:51:36 +0000 | [diff] [blame^] | 2 | It is not all finished, but good enough to get you started. |
Guido van Rossum | 7f777ed | 1990-08-09 14:25:15 +0000 | [diff] [blame] | 3 | |
Guido van Rossum | 676d6da | 1992-02-11 15:51:36 +0000 | [diff] [blame^] | 4 | The following are the LaTeX source files: |
Guido van Rossum | 7f777ed | 1990-08-09 14:25:15 +0000 | [diff] [blame] | 5 | |
Guido van Rossum | 676d6da | 1992-02-11 15:51:36 +0000 | [diff] [blame^] | 6 | tut.tex The tutorial |
Guido van Rossum | ddfb3eb | 1991-11-12 15:40:23 +0000 | [diff] [blame] | 7 | lib.tex, lib[1-5].tex The library reference |
Guido van Rossum | 676d6da | 1992-02-11 15:51:36 +0000 | [diff] [blame^] | 8 | ref.tex The reference manual |
| 9 | qua.tex, quabib.bib Article published in CWI Quarterly |
Guido van Rossum | 7f777ed | 1990-08-09 14:25:15 +0000 | [diff] [blame] | 10 | |
Guido van Rossum | 676d6da | 1992-02-11 15:51:36 +0000 | [diff] [blame^] | 11 | All except qua.tex use the style option file "myformat.sty". This |
| 12 | contains some simple macro definitions and sets style parameters. You |
| 13 | can easily edit it to change the paper size (the default is European |
| 14 | paper, "A4" or 21 x 29.7 cm). |
Guido van Rossum | 7f777ed | 1990-08-09 14:25:15 +0000 | [diff] [blame] | 15 | |
Guido van Rossum | 676d6da | 1992-02-11 15:51:36 +0000 | [diff] [blame^] | 16 | To format a document, run latex on it, twice, to get the forward |
| 17 | references right, then use dvips and lpr to print it, e.g.: |
Guido van Rossum | 7f777ed | 1990-08-09 14:25:15 +0000 | [diff] [blame] | 18 | |
Guido van Rossum | 676d6da | 1992-02-11 15:51:36 +0000 | [diff] [blame^] | 19 | latex lib |
| 20 | latex lib |
| 21 | dvips lib | lpr |
| 22 | |
| 23 | Before calling dvips and lpr, you should really preview the dvi file, |
| 24 | e.g. |
| 25 | |
| 26 | xdvi lib |
| 27 | |
| 28 | The qua document (which is not user documentation but a somewhat more |
| 29 | abstract review of Python and some work for which it was used) needs |
| 30 | a little more work: |
| 31 | |
| 32 | latex qua |
| 33 | latex qua |
| 34 | bibtex qua |
| 35 | latex qua |
| 36 | dvips qua | lpr |