1 =======================================================
2 Python LaTeX -- reStructuredText for Documenting Python
3 =======================================================
6 What it does -- Python LaTeX generates LaTeX suitable as input to
7 the "Documenting Python" system. This system is described at:
9 http://www.python.org/dev/doc/devel/doc/doc.html
15 If you have a standard Docutils installation, then you should be
16 able to go to the parent directory of the ``docutils`` directory,
17 then do the following::
19 unzip rstdocpy-1.0b.zip
21 This will create (overlay) the following files::
25 Docs/pythonlatex_intro.txt
26 docutils/docs/rst/docpy.html
27 docutils/docutils/writers/python_latex.py
28 docutils/tools/python_latex.py
30 In order to use the above files in place, you may have to do
33 export PYTHONPATH=/w1/Python/DocUtils/docutils:$PYTHONPATH
35 You will also need the "Documenting Python" tools installed. They
36 are in the ``Doc`` directory of the Python source code
43 After the above installation, you should be able to go to the
44 ``Msgs`` directory and convert the document ``docpy_intro.rst``.
46 First, edit the file ``Msgs/Makefile``. Change the path that
47 points to the location where the Python source code is installed.
58 The file ``Msgs/docpy_intro.rst`` contains an introduction.
60 See the companion document 'Quick reStructuredText for
61 "Documenting Python"' (docutils/docs/rst/docpy.html) for
62 additional mark-up that can be used when generating LaTeX for
63 "Documenting Python". The first section of this document has
64 information specific to the generation of LaTeX for Documenting
65 Python. In addition, that document also adds another column to the
66 specification tables. This additional column describes the LaTeX
67 commands generated by this writer.
73 Find out more about Docutils at::
75 http://docutils.sourceforge.net/
77 More information about the Documenting Python system is at::
79 http://www.python.org/dev/doc/devel/doc/doc.html
85 Thanks to the Docutils project members for Docutils. In
86 particular, thanks to project coordinator David Goodger.
88 Thanks to Engelbert Gruber for the implementation of the latex
89 writer. That implementation formed the starting point for this
90 writer. He should get much of the credit for this writer also,
91 however, any bugs were likely introduced by me.
97 Please let me know about suggestions and problems::
101 http://www.rexx.com/~dkuhlman