diff options
author | Fred Drake <fdrake@acm.org> | 1999-01-14 18:10:09 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-01-14 18:10:09 (GMT) |
commit | 9d1c3b565fc5918d1ced8a4146fd3edd22c06f4d (patch) | |
tree | dc6127ff8d2fdae08521f123d61a2b98fae89970 | |
parent | d7acf02290c8661a5fd3753edcaada7c8b465037 (diff) | |
download | cpython-9d1c3b565fc5918d1ced8a4146fd3edd22c06f4d.zip cpython-9d1c3b565fc5918d1ced8a4146fd3edd22c06f4d.tar.gz cpython-9d1c3b565fc5918d1ced8a4146fd3edd22c06f4d.tar.bz2 |
Elaborate a comment on the format of the table that drives the
conversion.
-rwxr-xr-x | Doc/tools/sgmlconv/latex2esis.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Doc/tools/sgmlconv/latex2esis.py b/Doc/tools/sgmlconv/latex2esis.py index 4369c5f..f54e0fc 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), |