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

Skip to content

Commit d805fef

Browse files
committed
Added support for some of the more recently defined macros and
environments.
1 parent 2c81381 commit d805fef

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

Doc/tools/py2texi.el

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@
7474
(progn (setq obindex t)
7575
"\n@table @code\n@item \\1\n@obindex \\1\n")
7676
"@end table")
77+
("cmemberdesc" 3
78+
(progn (setq findex t)
79+
"\n@table @code\n@item \\1 \\2 \\3\n@findex \\3\n")
80+
"@end table")
7781
("csimplemacrodesc" 1
7882
(progn (setq cindex t)
7983
"\n@table @code\n@item \\1\n@cindex \\1\n")
@@ -196,18 +200,25 @@ Both BEGIN and END are evaled. Moreover, you can reference arguments through
196200
("catcode" 0 "")
197201
("cdata" 1 "@code{\\1}")
198202
("centerline" 1 "@center \\1")
203+
("cfuncline" 3
204+
(progn (setq findex t)
205+
"\n@item \\1 \\2(\\3)\n@findex \\2\n"))
199206
("cfunction" 1 "@code{\\1}")
200207
("chapter" 1 (format "@node \\1\n@%s \\1\n"
201208
(if appendix "appendix" "chapter")))
202209
("chapter*" 1 "@node \\1\n@unnumbered \\1\n")
203210
("character" 1 "@samp{\\1}")
204211
("citetitle" 1 "@ref{Top,,,\\1}")
205212
("class" 1 "@code{\\1}")
213+
("cmemberline" 3
214+
(progn (setq findex t)
215+
"\n@item \\1 \\2 \\3\n@findex \\3\n"))
206216
("code" 1 "@code{\\1}")
207217
("command" 1 "@command{\\1}")
208218
("constant" 1 "@code{\\1}")
209219
("copyright" 1 "@copyright{}")
210220
("Cpp" 0 "C++")
221+
("csimplemacro" 1 "@code{\\1}")
211222
("ctype" 1 "@code{\\1}")
212223
("dataline" 1 (progn (setq findex t) "@item \\1\n@findex \\1\n"))
213224
("date" 1 "\\1")
@@ -297,6 +308,7 @@ Both BEGIN and END are evaled. Moreover, you can reference arguments through
297308
("plusminus" 0 "+-")
298309
("POSIX" 0 "POSIX")
299310
("production" 2 "@item \\1 \\2")
311+
("productioncont" 1 "@item \\1")
300312
("program" 1 "@command{\\1}")
301313
("programopt" 1 "@option{\\1}")
302314
("protect" 0 "")
@@ -348,6 +360,8 @@ Both BEGIN and END are evaled. Moreover, you can reference arguments through
348360
("textasciitilde" 0 "~")
349361
("textasciicircum" 0 "^")
350362
("textbackslash" 0 "@backslash{}")
363+
("textgreater" 0 ">")
364+
("textless" 0 "<")
351365
("textrm" 1 "\\1")
352366
("texttt" 1 "@code{\\1}")
353367
("textunderscore" 0 "_")

0 commit comments

Comments
 (0)