[LON-CAPA-cvs] cvs: loncom /interface lonprintout.pm

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 01 Sep 2005 18:35:17 -0000


albertel		Thu Sep  1 14:35:17 2005 EDT

  Modified files:              
    /loncom/interface	lonprintout.pm 
  Log:
  - BUG#4326 a unicode - was not being print replace the unicdoe - with a ascii -
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.389 loncom/interface/lonprintout.pm:1.390
--- loncom/interface/lonprintout.pm:1.389	Mon Aug 29 06:06:52 2005
+++ loncom/interface/lonprintout.pm	Thu Sep  1 14:35:15 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.389 2005/08/29 10:06:52 foxr Exp $
+# $Id: lonprintout.pm,v 1.390 2005/09/01 18:35:15 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -508,6 +508,7 @@
     $result =~ s/&(prod|\#8719);/\\ensuremath\{\\prod\}/g;
     $result =~ s/&(sum|\#8721);/\\ensuremath\{\\sum\}/g;
     $result =~ s/&(minus|\#8722);/\\ensuremath\{-\}/g;
+    $result =~ s/–/\\ensuremath\{-\}/g;
     $result =~ s/&(lowast|\#8727);/\\ensuremath\{*\}/g;
     $result =~ s/&(radic|\#8730);/\\ensuremath\{\\surd\}/g;
     $result =~ s/&(prop|\#8733);/\\ensuremath\{\\propto\}/g;