blob: 5351da1f9cb97484cc88848f6dac98a75b8d7447 [file] [log] [blame]
Fred Drake86bc7b01998-12-02 17:21:35 +00001These scripts and Makefile fragment are used to convert the Python
2documentation in LaTeX format to SGML. XML is also supported as a
3target, but is unlikely to be used.
4
Fred Drake77274161999-01-14 18:12:33 +00005This material is preliminary and incomplete. The XML omnibus package
6developed by the Python XML-SIG is required. See
Fred Drake86bc7b01998-12-02 17:21:35 +00007http://www.python.org/sigs/xml-sig/ for more information on the
8package.
9
Fred Drake77274161999-01-14 18:12:33 +000010To convert all documents to SGML:
11
12 cd Doc/
13 make -f tools/sgmlconv/Makefile
14
Fred Drake86bc7b01998-12-02 17:21:35 +000015To convert a document to SGML:
16
17 cd Doc/<document-dir>
18 make -f ../tools/sgmlconv/make.rules TOOLSDIR=../tools
19
20To generate XML instead, use:
21
22 cd Doc/<document-dir>
23 make -f ../tools/sgmlconv/make.rules TOOLSDIR=../tools xml
24
25Note that building the second target format is fast because both
26conversions use the same intermediate format (an ESIS event stream).
Fred Drake77274161999-01-14 18:12:33 +000027This is true regardless of whether you build SGML or XML first.
Fred Drake86bc7b01998-12-02 17:21:35 +000028
29Please send comments and bug reports to python-docs@python.org.