From 9d1c3b565fc5918d1ced8a4146fd3edd22c06f4d Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Thu, 14 Jan 1999 18:10:09 +0000 Subject: [PATCH] Elaborate a comment on the format of the table that drives the conversion. --- Doc/tools/sgmlconv/latex2esis.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Doc/tools/sgmlconv/latex2esis.py b/Doc/tools/sgmlconv/latex2esis.py index 4369c5f312..f54e0fcee5 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), -- 2.50.1