[Python-checkins] CVS: python/dist/src/Doc/tools/sgmlconv esis2sgml.py
Fred L. Drake
fdrake@weyr.cnri.reston.va.us
Wed, 20 Jan 1999 15:35:07 -0500
Update of /projects/cvsroot/python/dist/src/Doc/tools/sgmlconv
In directory weyr:/home/fdrake/projects/python/Doc/tools/sgmlconv
Modified Files:
esis2sgml.py
Log Message:
convert(): Added parameter "autoclose", which should be a sequence of
general identifiers for which closing tags will be omitted
when SGML is generated. This can be used to tell the markup
generator to drop stuff like </para>. Note that it needs to
be possible for the closing tag to *always* be omitted for it
to be included in "autoclose".
main(): Added command-line option "-a" / "--autoclose" to set the
list of general identifiers passed to the convert() function
as the "autoclose" parameter. The list may only be specified
once (not additive) and GIs should be comma-separated. The
default list includes only "para".