From: Fred Drake Date: Thu, 14 Jan 1999 18:10:09 +0000 (+0000) Subject: Elaborate a comment on the format of the table that drives the X-Git-Tag: v1.5.2b2~351 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9d1c3b565fc5918d1ced8a4146fd3edd22c06f4d;p=thirdparty%2FPython%2Fcpython.git Elaborate a comment on the format of the table that drives the conversion. --- diff --git a/Doc/tools/sgmlconv/latex2esis.py b/Doc/tools/sgmlconv/latex2esis.py index 4369c5f312cc..f54e0fcee581 100755 --- a/Doc/tools/sgmlconv/latex2esis.py +++ b/Doc/tools/sgmlconv/latex2esis.py @@ -315,7 +315,11 @@ def main(): sys.exit(2) convert(ifp, ofp, { # entries have the form: - # name: ([attribute names], first_is_optional, empty, isenv, nocontent) + # name: ([attribute names], is1stOptional, isEmpty, isEnv, nocontent) + # attribute names can be: + # "string" -- normal attribute + # ("string",) -- sub-element with content of macro; like for \section + # ["string"] -- sub-element "appendix": ([], 0, 1, 0, 0), "bifuncindex": (["name"], 0, 1, 0, 0), "catcode": ([], 0, 1, 0, 0),