[Python-checkins] python/dist/src/Doc/tools py2texi.el, 1.10.4.1, 1.10.4.2

fdrake at users.sourceforge.net fdrake at users.sourceforge.net
Thu Mar 10 05:59:20 CET 2005


Update of /cvsroot/python/python/dist/src/Doc/tools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3141/Doc/tools

Modified Files:
      Tag: release24-maint
	py2texi.el 
Log Message:
- fix generated Texinfo markup for \deprecated
- add support for additional markup: \leq, \textbar, \textit
- add a comment about the non-support for the Euro character


Index: py2texi.el
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tools/py2texi.el,v
retrieving revision 1.10.4.1
retrieving revision 1.10.4.2
diff -u -d -r1.10.4.1 -r1.10.4.2
--- py2texi.el	10 Mar 2005 03:57:02 -0000	1.10.4.1
+++ py2texi.el	10 Mar 2005 04:59:14 -0000	1.10.4.2
@@ -238,7 +238,7 @@
     ("dataline" 1 (progn (setq findex t) "@item \\1\n at findex \\1\n"))
     ("date" 1 "\\1")
     ("declaremodule" 2 (progn (setq cindex t) "@label{\\2}@cindex{\\2}"))
-    ("deprecated" 2 "@emph{This is deprecated in Python \\1.  \\2}")
+    ("deprecated" 2 "@emph{This is deprecated in Python \\1.  \\2}\n\n")
     ("dfn" 1 "@dfn{\\1}")
     ("documentclass" 1 py2texi-magic)
     ("e" 0 "@backslash{}")
@@ -279,6 +279,7 @@
     ("large" 0 "")
     ("ldots" 0 "@dots{}")
     ("leftline" 1 "\\1")
+    ("leq" 0 "<=")
     ("lineii" 2 "@item \\1 @tab \\2")
     ("lineiii" 3 "@item \\1 @tab \\2 @tab \\3")
     ("lineiv" 4 "@item \\1 @tab \\2 @tab \\3 @tab \\4")
@@ -380,7 +381,15 @@
     ("textasciitilde" 0 "~")
     ("textasciicircum" 0 "^")
     ("textbackslash" 0 "@backslash{}")
+    ("textbar" 0 "|")
+    ; Some common versions of Texinfo don't support @euro yet:
+    ; ("texteuro" 0 "@euro{}")
+    ; Unfortunately, this alternate spelling doesn't actually apply to
+    ; the usage found in Python Tutorial, which actually requires a
+    ; Euro symbol to make sense, so this is commented out as well.
+    ; ("texteuro" 0 "Euro ")
     ("textgreater" 0 ">")
+    ("textit" 1 "@i{\\1}")
     ("textless" 0 "<")
     ("textrm" 1 "\\1")
     ("texttt" 1 "@code{\\1}")



More information about the Python-checkins mailing list