summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-11-22 16:45:19 (GMT)
committerFred Drake <fdrake@acm.org>2000-11-22 16:45:19 (GMT)
commitd397f236d59f572677bd17e5a76d2f9469e6a203 (patch)
tree035112e0038c3e91c7fa5ce4b793d335b8f01baa /Doc/tools
parent0ac000cd545c58027d02bd5d7d414f6796c53e9d (diff)
downloadcpython-d397f236d59f572677bd17e5a76d2f9469e6a203.zip
cpython-d397f236d59f572677bd17e5a76d2f9469e6a203.tar.gz
cpython-d397f236d59f572677bd17e5a76d2f9469e6a203.tar.bz2
Add support for (relatively) recent additions and changes to python.sty,
and one more standard LaTeX macro.
Diffstat (limited to 'Doc/tools')
-rw-r--r--Doc/tools/sgmlconv/conversion.xml32
1 files changed, 30 insertions, 2 deletions
diff --git a/Doc/tools/sgmlconv/conversion.xml b/Doc/tools/sgmlconv/conversion.xml
index 244c824..82741b9 100644
--- a/Doc/tools/sgmlconv/conversion.xml
+++ b/Doc/tools/sgmlconv/conversion.xml
@@ -45,9 +45,14 @@
<attribute name="name"/>
<attribute name="email"/>
</macro>
+ <macro name="shortversion"/>
<macro name="versionadded">
<attribute name="version"/>
</macro>
+ <!-- This is broken: we need to re-order the optional and required
+ parameters, making the optional parameter the content for the
+ element. The processor is not powerful enough to handle this.
+ -->
<macro name="versionchanged">
<attribute name="version"/>
</macro>
@@ -67,6 +72,7 @@
<child name="args"/>
</environment>
<environment name="ctypedesc">
+ <attribute name="tag" optional="yes"/>
<attribute name="name"/>
</environment>
<environment name="cvardesc">
@@ -152,10 +158,29 @@
<macro name="seemodule">
<attribute name="ref" optional="yes"/>
<attribute name="name"/>
- <content/>
+ <child name="description"/>
+ </macro>
+ <macro name="seepep">
+ <attribute name="number"/>
+ <child name="title"/>
+ <child name="description"/>
+ </macro>
+ <macro name="seerfc">
+ <attribute name="number"/>
+ <child name="title"/>
+ <child name="description"/>
</macro>
<macro name="seetext">
- <content/>
+ <child name="description"/>
+ </macro>
+ <macro name="seetitle">
+ <attribute name="href" optional="yes"/>
+ <child name="title"/>
+ <child name="description"/>
+ </macro>
+ <macro name="seeurl">
+ <attribute name="href"/>
+ <child name="description"/>
</macro>
<!-- Index-generating markup. -->
@@ -670,6 +695,9 @@
<macro name="UNIX" outputname="">
<text>Unix</text>
</macro>
+ <macro name="textasciitilde" outputname="">
+ <text>~</text>
+ </macro>
<!-- These will end up disappearing as well! -->
<macro name="catcode" outputname=""/>