summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-09-27 04:18:39 (GMT)
committerFred Drake <fdrake@acm.org>2001-09-27 04:18:39 (GMT)
commitb6fa78930e2025b81c29f9893e8edd78e67d77df (patch)
treeb8b48730e594b5a3b4b1e741913ebbf386b8958f /Doc
parent264e8186d551647d4583f592e44b2d7a64e61096 (diff)
downloadcpython-b6fa78930e2025b81c29f9893e8edd78e67d77df.zip
cpython-b6fa78930e2025b81c29f9893e8edd78e67d77df.tar.gz
cpython-b6fa78930e2025b81c29f9893e8edd78e67d77df.tar.bz2
Add support for some more markup that had slipped in.
Fixed a typo in a comment.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/tools/sgmlconv/conversion.xml17
1 files changed, 15 insertions, 2 deletions
diff --git a/Doc/tools/sgmlconv/conversion.xml b/Doc/tools/sgmlconv/conversion.xml
index 9df40e3..c2f9f0d 100644
--- a/Doc/tools/sgmlconv/conversion.xml
+++ b/Doc/tools/sgmlconv/conversion.xml
@@ -38,6 +38,9 @@
<attribute name="href" optional="yes"/>
<content/>
</macro>
+ <macro name="pep">
+ <attribute name="num"/>
+ </macro>
<macro name="rfc">
<attribute name="num"/>
</macro>
@@ -455,6 +458,10 @@
<!-- not used anywhere, but it's a standard LaTeXism -->
<attribute name="spaces">visible</attribute>
</environment>
+ <macro name="verbatiminput" ouptutname="input">
+ <attribute name="verbatim">yes</attribute>
+ <attribute name="source"/>
+ </macro>
<!-- Table markup. -->
<macro name="hline"/>
@@ -658,7 +665,10 @@
<attribute name="token"/>
<content/>
</macro>
- <macro name="token">
+ <macro name="token" outputname="grammartoken">
+ <content/>
+ </macro>
+ <macro name="grammartoken">
<content/>
</macro>
<macro name="orgroup">
@@ -766,7 +776,7 @@
</macro>
<macro name="ulink">
<!-- order of the parameters makes this difficult;
- we'll need to fix it up tp <ulink href="...">...</ulink>
+ we'll need to fix it up to <ulink href="...">...</ulink>
in docfixer.py.
-->
<child name="text"/>
@@ -831,6 +841,9 @@
<macro name="textasciitilde" outputname="">
<text>~</text>
</macro>
+ <macro name="textbackslash" outputname="">
+ <text>\</text>
+ </macro>
<macro name="textbar" outputname="">
<text>|</text>
</macro>