Kaydet (Commit) dde993c1 authored tarafından Fred Drake's avatar Fred Drake

Simplification to mirror a better conversion specification and more

powerful latex2esis.py.
üst b5fc0ab0
......@@ -190,12 +190,7 @@ def rewrite_descriptor(doc, descriptor):
#
# 1.
descname = descriptor.tagName
index = 1
if descname[-2:] == "ni":
descname = descname[:-2]
descriptor.setAttribute("index", "no")
set_tagName(descriptor, descname)
index = 0
index = descriptor.getAttribute("name") != "no"
desctype = descname[:-4] # remove 'desc'
linename = desctype + "line"
if not index:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment