summaryrefslogtreecommitdiff
path: root/Doc/tools
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-11-22 16:45:19 +0000
committerFred Drake <fdrake@acm.org>2000-11-22 16:45:19 +0000
commit6dc9ea823a42a7a8b90fe8bc84ab6c5a43ff3ec8 (patch)
treef749d1d7e429ba1447a6dbdd0956aa0f5e871df6 /Doc/tools
parent5d0aec5c673799b3e21898d60644bbcc18e23fc1 (diff)
downloadcpython-6dc9ea823a42a7a8b90fe8bc84ab6c5a43ff3ec8.tar.gz
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 244c824c31..82741b9cf3 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=""/>