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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 24 Feb 2005 09:58:32 -0000


albertel		Thu Feb 24 04:58:32 2005 EDT

  Modified files:              
    /loncom/xml	lontexconvert.pm 
  Log:
  - lim(a,x=1,3) lim of a as x=1 goes to 4
  
  
Index: loncom/xml/lontexconvert.pm
diff -u loncom/xml/lontexconvert.pm:1.55 loncom/xml/lontexconvert.pm:1.56
--- loncom/xml/lontexconvert.pm:1.55	Thu Feb 24 04:54:01 2005
+++ loncom/xml/lontexconvert.pm	Thu Feb 24 04:58:31 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # TeX Conversion Module
 #
-# $Id: lontexconvert.pm,v 1.55 2005/02/24 09:54:01 albertel Exp $
+# $Id: lontexconvert.pm,v 1.56 2005/02/24 09:58:31 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -273,6 +273,8 @@
     # int( ... dx) -> ...
     $string =~s/\\int\\left\((.+?)d[a-z]\\right\)/$1/gs;
 
+    # 
+    $string =~s/\\lim\\left\((.+?),(.+?),(.+?)\\right\)/\\lim_{$2\\to $3}$1/gs;
     &Apache::lonnet::logthis($string);
     return $string;
 }