[LON-CAPA-cvs] cvs: loncom /xml lontexconvert.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Sun, 27 Feb 2005 17:28:56 -0000
albertel Sun Feb 27 12:28:56 2005 EDT
Modified files:
/loncom/xml lontexconvert.pm
Log:
- comment and remove extra logthis
Index: loncom/xml/lontexconvert.pm
diff -u loncom/xml/lontexconvert.pm:1.60 loncom/xml/lontexconvert.pm:1.61
--- loncom/xml/lontexconvert.pm:1.60 Fri Feb 25 14:33:26 2005
+++ loncom/xml/lontexconvert.pm Sun Feb 27 12:28:56 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# TeX Conversion Module
#
-# $Id: lontexconvert.pm,v 1.60 2005/02/25 19:33:26 albertel Exp $
+# $Id: lontexconvert.pm,v 1.61 2005/02/27 17:28:56 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -251,6 +251,7 @@
if ($style eq 'display') {
$latex='$$'.$latex.'$$x';
} else {
+ # style is 'inline'
$latex='\\ensuremath{'.$latex.'}';
}
if ($target eq 'web' || $target eq 'analyze') {
@@ -302,7 +303,6 @@
#
$string =~s/\\lim\\left\((.+?),(.+?),(.+?)\\right\)/\\lim_{$2\\to $3}$1/gs;
- &Apache::lonnet::logthis($string);
return $string;
}
1;