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

www lon-capa-cvs@mail.lon-capa.org
Wed, 09 Feb 2005 15:47:06 -0000


www		Wed Feb  9 10:47:06 2005 EDT

  Modified files:              
    /loncom/xml	londefdef.pm 
  Log:
  Works better if it does not produce LaTeX errors *and* follows web layout.
  
  
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.252 loncom/xml/londefdef.pm:1.253
--- loncom/xml/londefdef.pm:1.252	Mon Feb  7 15:15:11 2005
+++ loncom/xml/londefdef.pm	Wed Feb  9 10:47:06 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Tags Default Definition Module 
 #
-# $Id: londefdef.pm,v 1.252 2005/02/07 20:15:11 matthew Exp $
+# $Id: londefdef.pm,v 1.253 2005/02/09 15:47:06 www Exp $
 # 
 #
 # Copyright Michigan State University Board of Trustees
@@ -36,10 +36,6 @@
 # The C source of the Code may not be distributed by the Licensee
 # to any other parties under any circumstances.
 #
-#
-# last modified 06/26/00 by Alexander Sakharuk
-# 11/6,11/30,02/01/01,5/4 Gerd Kortemeyer
-# 01/18 Alex Sakharuk
 
 package Apache::londefdef; 
 
@@ -2545,7 +2541,7 @@
 		if ($latex_rendering eq "parpic") { 
 		    $currentstring = '\parpic[l]{'.$currentstring.'}';
 		} else {    	                                 # parbox rendering
-		    $currentstring = '\newline'."\n".'\parbox{'.$width_param.'mm}{'.$currentstring.'}';
+		    $currentstring = "\n".'\parbox{'.$width_param.'mm}{'.$currentstring.'}';
 		}
 	    } elsif ($align eq "right")  {   
 		if ($latex_rendering eq "parpic") {