diff Doc/perl/python.perl @ 18231:f9261904cebb legacy-trunk

Added support for our new \infinity and \plusminus macros, and the standard \textbar macro (not supported in many versions of LaTeX2HTML). Added newline to error message.
author Fred Drake <fdrake@acm.org>
date Sat, 23 Jun 2001 03:13:30 +0000
parents d3b1956e3de0
children a83ff7739992
line wrap: on
line diff
--- a/Doc/perl/python.perl	Sat Jun 23 03:11:45 2001 +0000
+++ b/Doc/perl/python.perl	Sat Jun 23 03:13:30 2001 +0000
@@ -87,6 +87,9 @@
 
 sub do_cmd_textasciitilde{ '~' . @_[0]; }
 sub do_cmd_textasciicircum{ '^' . @_[0]; }
+sub do_cmd_textbar{ '|' . @_[0]; }
+sub do_cmd_infinity{ '&infin;' . @_[0]; }
+sub do_cmd_plusminus{ '&plusmn;' . @_[0]; }
 
 
 # words typeset in a special way (not in HTML though)
@@ -1462,7 +1465,7 @@
             process_localmoduletables_in_file($file);
         }
         else {
-            print "\nsynopsis table $key has no file association";
+            print "\nsynopsis table $key has no file association\n";
         }
     }
 }