releasing/2.7.3 / Doc /

The branch 'legacy-trunk' does not exist.
Filename Size Date modified Message
..
api
ext
info
lib
mac
ref
templates
texinputs
tools
tut
89 B
3.1 KB
7.1 KB
4.3 KB
110.8 KB
275 B
1.3 KB
2.0 KB
57.6 KB
220 B
86 B
111 B
395 B
5.0 KB
6.7 KB
5.0 KB
769 B
3.5 KB
1.5 KB
4.8 KB
3.4 KB
9.8 KB
1.7 KB
1.8 KB
5.8 KB
323 B
11.0 KB
17.1 KB
2.2 KB
1.3 KB
1.8 KB
2.2 KB
961 B
993 B
5.1 KB
1.4 KB
8.2 KB
11.5 KB
2.9 KB
14.1 KB
2.7 KB
1.6 KB
13.1 KB
7.9 KB
27.7 KB
3.2 KB
3.0 KB
5.1 KB
1.4 KB
1.3 KB
1.0 KB
1.9 KB
4.9 KB
4.3 KB
3.4 KB
2.7 KB
1.6 KB
9.8 KB
2.5 KB
2.0 KB
265 B
2.8 KB
2.9 KB
3.8 KB
7.7 KB
5.0 KB
4.0 KB
3.5 KB
2.6 KB
5.7 KB
15.4 KB
1.4 KB
3.5 KB
260 B
4.1 KB
2.4 KB
2.1 KB
3.6 KB
3.2 KB
559 B
716 B
342 B
3.2 KB
2.1 KB
9.5 KB
1.1 KB
4.3 KB
4.3 KB
2.1 KB
31.0 KB
10.3 KB
9.3 KB
17.1 KB
5.7 KB
5.1 KB
6.1 KB
29.7 KB
984 B
1.1 KB
1.3 KB
832 B
3.1 KB
19.5 KB
14.8 KB
2.5 KB
5.2 KB
3.6 KB
9.4 KB
5.8 KB
1.9 KB
4.5 KB
2.0 KB
174 B
7.7 KB
2.1 KB
5.9 KB
3.1 KB
14.7 KB
7.7 KB
946 B
1.0 KB
2.4 KB
345 B
26.6 KB
9.7 KB
507 B
695 B
5.2 KB
4.5 KB
8.2 KB
2.4 KB
2.0 KB
4.2 KB
4.2 KB
4.2 KB
7.4 KB
2.4 KB
30.6 KB
3.1 KB
5.4 KB
1.2 KB
5.0 KB
3.0 KB
2.4 KB
1.3 KB
636 B
1.6 KB
2.1 KB
8.6 KB
4.2 KB
5.6 KB
6.6 KB
59.2 KB
42.2 KB
306 B
4.0 KB
1.3 KB
121.2 KB
71 B
Python main documentation -- in LaTeX
-------------------------------------

This directory contains the LaTeX sources to the Python documentation
and a published article about Python.

The Python Reference Manual is no longer maintained in LaTeX.  It is
now a FrameMaker document.  The FrameMaker 5.0 files (ref.book,
ref*.doc) as well as PostScript generated (ref.ps) from it are in the
subdirectory ref/.  (See ftp://ftp.adobe.com/pub/adobe/framereader for
a free reader for FrameMaker documents, for some platforms.)

If you don't have LaTeX, you can ftp a tar file containing PostScript
of the 3 main documents.  It should be in the same place where you
fetched the main Python distribution, in a file named
"pythondoc-ps<version>.tar.gz".  (See "../Misc/FAQ" for more
information about ftp-ing Python files.)

The following are the LaTeX source files:

	tut.tex				The tutorial
	lib.tex, lib*.tex		The library reference
	ext.tex				How to extend Python
	qua.tex, quabib.bib		Article published in CWI Quarterly

All except qua.tex (which isn't built by the default target) use the
style option file "myformat.sty".  This contains some macro
definitions and sets some style parameters.

You need the makeindex utility to produce the index for lib.tex; you
need bibtex to produce the references list for qua.tex.

There's a Makefile to call LaTeX and the other utilities in the right
order and the right number of times.  This will produce DVI files for
each document made; to preview them, use xdvi.  PostScript is produced
by the same Makefile target that produces the DVI files.  This uses
the dvips tool.  Printing depends on local conventions; at my site, I
use lp.  For example:

	make lib			# create lib.dvi and lib.ps
	xdvi lib			# preview lib.dvi
	lp lib.ps			# print on default printer


Making HTML files
-----------------

The Tutorial and Extensions manual can be converted to HTML using
Nikos Drakos' LaTeX2HTML converter.  See the Makefile; after some
twiddling, "make l2h" should do the trick.

The Library manual doesn't work well with LaTeX2HTML; instead, there's
a Python script texi2html.py in this directory that can be run on the
texinfo generated as an intermediate step for generating the INFO
files as described in the next section.  The command "make libwww"
should do this.


Making the INFO version of the Library Reference
------------------------------------------------

The Library Reference can also be read in hypertext form using the
Emacs INFO system.  This uses Texinfo format as an intermediate step.
It requires texinfo version 2 (we have used 2.14).

To build the info files (python-lib.info*), say "make lib.info".  This
takes a while, even on a machine with a 100 MHz clock and 64 Mbytes of
RAM :-).  Please ignore the output, which appears like error messages
but really is debugging output only.

You may have to change a site dependency in fix.el: if texinfo 2.xx
isn't installed by default at your site, you'll have to install it
(use archie to locate a version and ftp to fetch it).  If you can't
install it in the standard Emacs load path, uncomment the line
containing a "(setq load-path ...)" statement, and fill in the path
where you put it.

The files used by the conversion process are:

partparse.py            Python script that converts LaTeX sources to
			texi files.

texi{pre,post}.dat      Files placed before and after the result.

fix.el                  Elisp file executed by Emacs. Two calls to
                        'texinfo-all-menus-update are necessary in
			some cases.

fix_hack		Shell script to fix the results of the
                        "underscore hack". {\ptt \char'137} is
                        back-translated to a simple underscore.  This
                        is needed for the texindex program.

whichlibs		Shell script to print a list of lib*.tex files
			to be processed.

Thanks for Jan-Hein B\"uhrman for writing and debugging the convertor
and related scripts, and for fixing the LaTeX sources and writing new
macros for myformat.sty!  More thanks to Dave Ascher for adapting
myformat.sty to the new LaTeX release, to Fred Drake for revamping the
partparse.py and texi2html.py scripts, to the many anonymous authors
of library manual sections and corrections (too many to mention).

Many thanks to Robin Friedrich for the conversion of the Reference
Manual to FrameMaker and his work on its index.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.