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

Skip to content

Commit 3b09558

Browse files
committed
Fill out the set of macros and environments supported somewhat.
Some of this is still pretty iffy.
1 parent 348c261 commit 3b09558

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Doc/tools/py2texi.el

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ Otherwise a generated Info file name is used.")
119119
"@contents\n"
120120
"@bye\n"))
121121
("enumerate" 0 "@enumerate" "@end enumerate")
122+
("envdesc" 2 (concat "\n@table @code"
123+
"\n@item @backslash{}begin@{\\1@}\\2")
124+
"@end table\n")
122125
("excdesc" 1
123126
(progn (setq obindex t)
124127
"\n@table @code\n@item \\1\n@obindex \\1\n")
@@ -144,6 +147,9 @@ Otherwise a generated Info file name is used.")
144147
"@item \\3 @tab \\4 @tab \\5\n"
145148
"@item ------- @tab ------ @tab ------\n")
146149
"@end multitable\n")
150+
("macrodesc" 2 (concat "\n@table @code"
151+
"\n@item \\1@{\\2@}")
152+
"@end table\n")
147153
("memberdesc" 1
148154
(progn (setq findex t)
149155
"\n@table @code\n@item \\1\n@findex \\1\n")
@@ -231,6 +237,7 @@ Both BEGIN and END are evaled. Moreover, you can reference arguments through
231237
("documentclass" 1 py2texi-magic)
232238
("e" 0 "@backslash{}")
233239
("else" 0 (concat "@end ifinfo\n@" (setq last-if "iftex")))
240+
("env" 1 "@code{\\1}")
234241
("EOF" 0 "@code{EOF}")
235242
("email" 1 "@email{\\1}")
236243
("emph" 1 "@emph{\\1}")
@@ -239,6 +246,7 @@ Both BEGIN and END are evaled. Moreover, you can reference arguments through
239246
("exindex" 1 (progn (setq obindex t) "@obindex{\\1}"))
240247
("fi" 0 (concat "@end " last-if))
241248
("file" 1 "@file{\\1}")
249+
("filenq" 1 "@file{\\1}")
242250
("filevar" 1 "@file{@var{\\1}}")
243251
("footnote" 1 "@footnote{\\1}")
244252
("frac" 0 "")
@@ -270,6 +278,7 @@ Both BEGIN and END are evaled. Moreover, you can reference arguments through
270278
("linev" 5 "@item \\1 @tab \\2 @tab \\3 @tab \\4 @tab \\5")
271279
("localmoduletable" 0 "")
272280
("longprogramopt" 1 "@option{--\\1}")
281+
("macro" 1 "@code{@backslash{}\\1}")
273282
("mailheader" 1 "@code{\\1}")
274283
("makeindex" 0 "")
275284
("makemodindex" 0 "")
@@ -359,6 +368,7 @@ Both BEGIN and END are evaled. Moreover, you can reference arguments through
359368
("sum" 0 "")
360369
("tableofcontents" 0 "")
361370
("term" 1 "@item \\1")
371+
("TeX" 0 "@TeX{}")
362372
("textasciitilde" 0 "~")
363373
("textasciicircum" 0 "^")
364374
("textbackslash" 0 "@backslash{}")

0 commit comments

Comments
 (0)