[LON-CAPA-cvs] cvs: loncom /xml lontexconvert.pm

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 24 Feb 2005 10:07:47 -0000


albertel		Thu Feb 24 05:07:47 2005 EDT

  Modified files:              
    /loncom/xml	lontexconvert.pm 
  Log:
  - forgot to update this regexp after the conversion back to <> <= and >=
  
  
Index: loncom/xml/lontexconvert.pm
diff -u loncom/xml/lontexconvert.pm:1.56 loncom/xml/lontexconvert.pm:1.57
--- loncom/xml/lontexconvert.pm:1.56	Thu Feb 24 04:58:31 2005
+++ loncom/xml/lontexconvert.pm	Thu Feb 24 05:07:47 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # TeX Conversion Module
 #
-# $Id: lontexconvert.pm,v 1.56 2005/02/24 09:58:31 albertel Exp $
+# $Id: lontexconvert.pm,v 1.57 2005/02/24 10:07:47 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -240,7 +240,7 @@
     my ($string)=@_;
 
     # makes the decision about what is a minus sign easier supposedly
-    $string =~ s/([\=\>\<\%\!\#] *)-/$1 zeroplace -/g;
+    $string =~ s/(\<\>|\<\=|\>\=[\=\>\<] *)-/$1 zeroplace -/g;
 
     return $string;
 }