Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
3b095587
Commit
3b095587
authored
Jul 02, 2003
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fill out the set of macros and environments supported somewhat.
Some of this is still pretty iffy.
parent
348c261f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
Doc/tools/py2texi.el
Doc/tools/py2texi.el
+10
-0
No files found.
Doc/tools/py2texi.el
View file @
3b095587
...
...
@@ -119,6 +119,9 @@ Otherwise a generated Info file name is used.")
"@contents\n"
"@bye\n"
))
(
"enumerate"
0
"@enumerate"
"@end enumerate"
)
(
"envdesc"
2
(
concat
"\n@table @code"
"\n@item @backslash{}begin@{\\1@}\\2"
)
"@end table\n"
)
(
"excdesc"
1
(
progn
(
setq
obindex
t
)
"\n@table @code\n@item \\1\n@obindex \\1\n"
)
...
...
@@ -144,6 +147,9 @@ Otherwise a generated Info file name is used.")
"@item \\3 @tab \\4 @tab \\5\n"
"@item ------- @tab ------ @tab ------\n"
)
"@end multitable\n"
)
(
"macrodesc"
2
(
concat
"\n@table @code"
"\n@item \\1@{\\2@}"
)
"@end table\n"
)
(
"memberdesc"
1
(
progn
(
setq
findex
t
)
"\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
(
"documentclass"
1
py2texi-magic
)
(
"e"
0
"@backslash{}"
)
(
"else"
0
(
concat
"@end ifinfo\n@"
(
setq
last-if
"iftex"
)))
(
"env"
1
"@code{\\1}"
)
(
"EOF"
0
"@code{EOF}"
)
(
"email"
1
"@email{\\1}"
)
(
"emph"
1
"@emph{\\1}"
)
...
...
@@ -239,6 +246,7 @@ Both BEGIN and END are evaled. Moreover, you can reference arguments through
(
"exindex"
1
(
progn
(
setq
obindex
t
)
"@obindex{\\1}"
))
(
"fi"
0
(
concat
"@end "
last-if
))
(
"file"
1
"@file{\\1}"
)
(
"filenq"
1
"@file{\\1}"
)
(
"filevar"
1
"@file{@var{\\1}}"
)
(
"footnote"
1
"@footnote{\\1}"
)
(
"frac"
0
""
)
...
...
@@ -270,6 +278,7 @@ Both BEGIN and END are evaled. Moreover, you can reference arguments through
(
"linev"
5
"@item \\1 @tab \\2 @tab \\3 @tab \\4 @tab \\5"
)
(
"localmoduletable"
0
""
)
(
"longprogramopt"
1
"@option{--\\1}"
)
(
"macro"
1
"@code{@backslash{}\\1}"
)
(
"mailheader"
1
"@code{\\1}"
)
(
"makeindex"
0
""
)
(
"makemodindex"
0
""
)
...
...
@@ -359,6 +368,7 @@ Both BEGIN and END are evaled. Moreover, you can reference arguments through
(
"sum"
0
""
)
(
"tableofcontents"
0
""
)
(
"term"
1
"@item \\1"
)
(
"TeX"
0
"@TeX{}"
)
(
"textasciitilde"
0
"~"
)
(
"textasciicircum"
0
"^"
)
(
"textbackslash"
0
"@backslash{}"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment