cpython/Doc/tools/sgmlconv
Fred Drake 2664db9f76 handle_labels(): Fix problem for document fragments containing more
than one "root" that prevented all the <label id=...> items
	from being promoted to id attributes on the enclosing chapter/
	section/... properly.
1999-01-19 21:46:48 +00:00
..
docfixer.py handle_labels(): Fix problem for document fragments containing more 1999-01-19 21:46:48 +00:00
esis2sgml.py format_attrs(): Attempt a bit more minimization for SGML output. 1999-01-19 17:10:31 +00:00
esistools.py Utility functions and misc. classes used in handling ESIS data. 1998-12-01 19:00:58 +00:00
fixgenents.sh Adjust so that we are no longer using special entities for well-known 1999-01-14 21:44:56 +00:00
latex2esis.py Shorten the name of the <rfc> "number" attribute to "num". 1999-01-14 21:18:52 +00:00
make.rules Added clean and clobber targets. 1999-01-14 18:26:23 +00:00
Makefile Add a "tarball" target. 1999-01-14 22:35:05 +00:00
README Add usage of the "driver" Makefile. 1999-01-14 18:12:33 +00:00

These scripts and Makefile fragment are used to convert the Python
documentation in LaTeX format to SGML.  XML is also supported as a
target, but is unlikely to be used.

This material is preliminary and incomplete.  The XML omnibus package
developed by the Python XML-SIG is required.  See
http://www.python.org/sigs/xml-sig/ for more information on the
package.

To convert all documents to SGML:

	cd Doc/
	make -f tools/sgmlconv/Makefile

To convert a document to SGML:

	cd Doc/<document-dir>
	make -f ../tools/sgmlconv/make.rules TOOLSDIR=../tools

To generate XML instead, use:

	cd Doc/<document-dir>
	make -f ../tools/sgmlconv/make.rules TOOLSDIR=../tools xml

Note that building the second target format is fast because both
conversions use the same intermediate format (an ESIS event stream).
This is true regardless of whether you build SGML or XML first.

Please send comments and bug reports to python-docs@python.org.