Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d397f23

Browse files
committed
Add support for (relatively) recent additions and changes to python.sty,
and one more standard LaTeX macro.
1 parent 0ac000c commit d397f23

1 file changed

Lines changed: 30 additions & 2 deletions

File tree

Doc/tools/sgmlconv/conversion.xml

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,14 @@
4545
<attribute name="name"/>
4646
<attribute name="email"/>
4747
</macro>
48+
<macro name="shortversion"/>
4849
<macro name="versionadded">
4950
<attribute name="version"/>
5051
</macro>
52+
<!-- This is broken: we need to re-order the optional and required
53+
parameters, making the optional parameter the content for the
54+
element. The processor is not powerful enough to handle this.
55+
-->
5156
<macro name="versionchanged">
5257
<attribute name="version"/>
5358
</macro>
@@ -67,6 +72,7 @@
6772
<child name="args"/>
6873
</environment>
6974
<environment name="ctypedesc">
75+
<attribute name="tag" optional="yes"/>
7076
<attribute name="name"/>
7177
</environment>
7278
<environment name="cvardesc">
@@ -152,10 +158,29 @@
152158
<macro name="seemodule">
153159
<attribute name="ref" optional="yes"/>
154160
<attribute name="name"/>
155-
<content/>
161+
<child name="description"/>
162+
</macro>
163+
<macro name="seepep">
164+
<attribute name="number"/>
165+
<child name="title"/>
166+
<child name="description"/>
167+
</macro>
168+
<macro name="seerfc">
169+
<attribute name="number"/>
170+
<child name="title"/>
171+
<child name="description"/>
156172
</macro>
157173
<macro name="seetext">
158-
<content/>
174+
<child name="description"/>
175+
</macro>
176+
<macro name="seetitle">
177+
<attribute name="href" optional="yes"/>
178+
<child name="title"/>
179+
<child name="description"/>
180+
</macro>
181+
<macro name="seeurl">
182+
<attribute name="href"/>
183+
<child name="description"/>
159184
</macro>
160185

161186
<!-- Index-generating markup. -->
@@ -670,6 +695,9 @@
670695
<macro name="UNIX" outputname="">
671696
<text>Unix</text>
672697
</macro>
698+
<macro name="textasciitilde" outputname="">
699+
<text>~</text>
700+
</macro>
673701

674702
<!-- These will end up disappearing as well! -->
675703
<macro name="catcode" outputname=""/>

0 commit comments

Comments
 (0)