Version: 0.18.1b
[docutils.git] / sandbox / dkuhlman / README_docpy
blobf5dfec768818e7d8fd2986ce4a733df213c6de3e
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
12 Installation
13 ------------
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::
23     README_docpy
24     Docs/Makefile
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
31 something like::
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
37 distribution.
40 Testing
41 -------
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.
48 Then type::
50     cd Msgs
51     make clean
52     make
55 Documentation
56 -------------
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.
70 More Information
71 ----------------
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
82 Acknowledgements
83 -----------------
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.
94 Contact
95 -------
97 Please let me know about suggestions and problems::
99     Dave Kuhlman
100     dkuhlman@rexx.com
101     http://www.rexx.com/~dkuhlman