summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1996-12-13 22:04:31 (GMT)
committerFred Drake <fdrake@acm.org>1996-12-13 22:04:31 (GMT)
commit4b3f0312c9358a3a05b75aaab72aeee1ac869101 (patch)
tree6720366f64c003a46b4c0a053c1ccfebcebd00ad /Doc/tools
parent6dc2aae3cd85f9a11f823df9742e6283b1f406f6 (diff)
downloadcpython-4b3f0312c9358a3a05b75aaab72aeee1ac869101.zip
cpython-4b3f0312c9358a3a05b75aaab72aeee1ac869101.tar.gz
cpython-4b3f0312c9358a3a05b75aaab72aeee1ac869101.tar.bz2
(lib<all sorts of stuff>.tex):
Merged in many typo corrections and fixes to support GNU info processing; submitted by Tamito Kajiyama.
Diffstat (limited to 'Doc/tools')
-rw-r--r--Doc/tools/partparse.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/Doc/tools/partparse.py b/Doc/tools/partparse.py
index b83ad83..4a836f2 100644
--- a/Doc/tools/partparse.py
+++ b/Doc/tools/partparse.py
@@ -827,7 +827,7 @@ class Wobj:
self.data = self.data + data
# ignore these commands
-ignoredcommands = ('bcode', 'ecode')
+ignoredcommands = ('bcode', 'ecode', 'hline', 'fulllineitems', 'small')
# map commands like these to themselves as plaintext
wordsselves = ('UNIX', 'ABC', 'C', 'ASCII', 'EOF', 'LaTeX')
# \{ --> {, \} --> }, etc
@@ -1978,6 +1978,12 @@ def dumpit(buf, wm, pp):
if ch.chtype == chunk_type[CSNAME]:
s_buf_data = s(buf, ch.data)
+ if s_buf_data == 'e':
+ wm('\\')
+ continue
+ if s_buf_data == '$':
+ wm('$')
+ continue
wm('@' + s_buf_data)
if s_buf_data == 'node' and \
pp[i].chtype == chunk_type[PLAIN] and \