Updated to reflect the change to TeX.

This commit is contained in:
Guido van Rossum 1991-01-25 13:29:53 +00:00
parent 20aca5aa39
commit 5153e5ecd7
1 changed files with 19 additions and 22 deletions

View File

@ -1,27 +1,24 @@
This directory contains the source to the Python documentation. This directory contains the LaTeX source to the Python documentation.
The documentation is not all finished, but good enough to get you some
idea of how to program in Python.
Unfortunately it's not not very readable, complete or up-to-date yet -- The following are the important latex source files:
in other words, I'm still working on it!
There are four documents and a macro file: tut.tex tutorial
mod.tex library reference
macros.ms macros .so'ed by the documents They both read the style option file "myformat.sty".
tut.ms informal tutorial You can use the Makefile to format, preview and print the documents.
mod.ms description of standard modules Type "make tut" or "make mod" to preview either document with xdvi.
ref.ms Python language reference manual (embryonic) Type "make print" to print them both (this only works if your print
paper.ms conference paper about Python (embryonic) spooler is set up just like mine...), or "make all" to create postscript
files that you can you can print using your local printing commands.
Type "make clean" to get rid of all the intermediate files produced by
the latex process.
XXX There should also be a man page (extracted from sec. 2 of the tutorial) You can just as well ignore the Makefile; all you really need is:
latex tut
To typeset one of the documents on the default Postscript printer, chdir latex tut
to this directory (otherwise the macros aren't found!) and issue the dvips tut | lpr
command and similar for the "mod" document.
pstroff -ms file.ms
When typesetting all documents, issue a separate command for each.
You can also use the Makefile, at your own risk.
--Guido (last modified 7 Oct 90)