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

foxr foxr@source.lon-capa.org
Mon, 01 Feb 2010 12:03:20 -0000


foxr		Mon Feb  1 12:03:20 2010 EDT

  Modified files:              
    /loncom/xml	londefdef.pm 
  Log:
  Remove some of the debugging output in 'tex' mode that was used in images as it has \n's that now appear to be stripped and cause issues when used in tables.
  
  
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.414 loncom/xml/londefdef.pm:1.415
--- loncom/xml/londefdef.pm:1.414	Sat Jan 30 21:46:06 2010
+++ loncom/xml/londefdef.pm	Mon Feb  1 12:03:19 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Tags Default Definition Module 
 #
-# $Id: londefdef.pm,v 1.414 2010/01/30 21:46:06 raeburn Exp $
+# $Id: londefdef.pm,v 1.415 2010/02/01 12:03:19 foxr Exp $
 # 
 #
 # Copyright Michigan State University Board of Trustees
@@ -4751,7 +4751,7 @@
     #    Even though we set a default alignment value, the user
     #    could have given us an illegal value.  In that case we
     #    just use the default alignment of bottom..
-    $currentstring = "\n% figurewrapping \n";
+    $currentstring = '';
     if      ($align eq "top")    {
 	$currentstring .= '\raisebox{-'.$height.'mm}{'.$image;
 	$closure = '}';
@@ -4794,8 +4794,6 @@
 	$currentstring .= "{$image";
 	$closure       = '}';
     }
-    $currentstring .= "\n% end wrappage\n";
-    $closure        = "\n% Begin closure\n".$closure."\n% End closure\n";
     return ($currentstring, $closure);
 }