Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9d1c3b5

Browse files
committed
Elaborate a comment on the format of the table that drives the
conversion.
1 parent d7acf02 commit 9d1c3b5

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Doc/tools/sgmlconv/latex2esis.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,11 @@ def main():
315315
sys.exit(2)
316316
convert(ifp, ofp, {
317317
# entries have the form:
318-
# name: ([attribute names], first_is_optional, empty, isenv, nocontent)
318+
# name: ([attribute names], is1stOptional, isEmpty, isEnv, nocontent)
319+
# attribute names can be:
320+
# "string" -- normal attribute
321+
# ("string",) -- sub-element with content of macro; like for \section
322+
# ["string"] -- sub-element
319323
"appendix": ([], 0, 1, 0, 0),
320324
"bifuncindex": (["name"], 0, 1, 0, 0),
321325
"catcode": ([], 0, 1, 0, 0),

0 commit comments

Comments
 (0)