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

foxr lon-capa-cvs-allow@mail.lon-capa.org
Tue, 29 Jan 2008 11:18:07 -0000


foxr		Tue Jan 29 06:18:07 2008 EDT

  Modified files:              
    /loncom/xml	lontexconvert.pm 
  Log:
  As usual forgot to remove the debug logging
  
  
Index: loncom/xml/lontexconvert.pm
diff -u loncom/xml/lontexconvert.pm:1.85 loncom/xml/lontexconvert.pm:1.86
--- loncom/xml/lontexconvert.pm:1.85	Tue Jan 29 06:04:10 2008
+++ loncom/xml/lontexconvert.pm	Tue Jan 29 06:18:06 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # TeX Conversion Module
 #
-# $Id: lontexconvert.pm,v 1.85 2008/01/29 11:04:10 foxr Exp $
+# $Id: lontexconvert.pm,v 1.86 2008/01/29 11:18:06 foxr Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -85,7 +85,6 @@
 # into the safe space since opcode checks only occur at compile time
 sub convert_real {
     my ($texstring)=@_;
-    &Apache::lonnet::logthis("convert_real converting '$$texstring");
     my ($xmlstring,$errorstring);
     local $SIG{SEGV}=sub { $Apache::lontexconvert::messedup=1; die; };
     local $SIG{ALRM}=sub { 
@@ -96,14 +95,12 @@
     };
     &Apache::lonxml::start_alarm();
     if ($env{'browser.mathml'}) {
-	&Apache::lonnet::logthis("mathml translation");
 	$xmlstring=&tth::ttm($$texstring);
 	$xmlstring=~s/\<math\>/\<math xmlns=\"\&mathns\;\"\>/g;
 	$xmlstring=~s/\<br\>/\<br\/\>/g;
 	$xmlstring=~s/\<p\>/\<p\>\<\/p\>/g;
 	$errorstring.=&tth::ttmerror();
     } else {
-	&Apache::lonnet::logthis("tth translation");
 	$xmlstring=&tth::tth($$texstring);
 	$errorstring.=&tth::ttherror();
 	$xmlstring=~s-</font(\s*)>-</font>-g;
@@ -118,7 +115,6 @@
     #
     $xmlstring=~s/\\rightleftharpoons/\&\#8660;/g;
 
-    &Apache::lonnet::logthis("Final result: $xmlstring");
     &Apache::lonxml::end_alarm();
     return ($xmlstring,$errorstring);
 }