diff Doc/partparse.py @ 4728:b218f294b726 legacy-trunk

(lib<all sorts of stuff>.tex): Merged in many typo corrections and fixes to support GNU info processing; submitted by Tamito Kajiyama.
author Fred Drake <fdrake@acm.org>
date Fri, 13 Dec 1996 22:04:31 +0000
parents 2b21ea2f39b4
children 20589ed3e8bd
line wrap: on
line diff
--- a/Doc/partparse.py	Fri Dec 13 21:56:03 1996 +0000
+++ b/Doc/partparse.py	Fri Dec 13 22:04:31 1996 +0000
@@ -827,7 +827,7 @@
 	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 @@
 
 	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 \