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 --
in other words, I'm still working on it!
The following are the important latex source files:
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
mod.ms description of standard modules
ref.ms Python language reference manual (embryonic)
paper.ms conference paper about Python (embryonic)
You can use the Makefile to format, preview and print the documents.
Type "make tut" or "make mod" to preview either document with xdvi.
Type "make print" to print them both (this only works if your print
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)
To typeset one of the documents on the default Postscript printer, chdir
to this directory (otherwise the macros aren't found!) and issue the
command
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)
You can just as well ignore the Makefile; all you really need is:
latex tut
latex tut
dvips tut | lpr
and similar for the "mod" document.