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

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 17 Mar 2003 17:18:50 -0000


albertel		Mon Mar 17 12:18:50 2003 EDT

  Modified files:              (Branch: version_0_6)
    /loncom/xml	londefdef.pm 
  Log:
  - backport 1.107 removal of \fbox
  
  
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.106.2.1 loncom/xml/londefdef.pm:1.106.2.2
--- loncom/xml/londefdef.pm:1.106.2.1	Fri Mar 14 16:23:20 2003
+++ loncom/xml/londefdef.pm	Mon Mar 17 12:18:50 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Tags Default Definition Module 
 #
-# $Id: londefdef.pm,v 1.106.2.1 2003/03/14 21:23:20 albertel Exp $
+# $Id: londefdef.pm,v 1.106.2.2 2003/03/17 17:18:50 albertel Exp $
 # 
 #
 # Copyright Michigan State University Board of Trustees
@@ -1634,7 +1634,7 @@
 		  if (-e $newsrc) {
                       #eps counterpart for image exist 
 		      if ($path) {
-			  $currentstring .= '\vskip 1 mm \noindent\graphicspath{{'.$path.'}}\fbox{\includegraphics[width='.$width_param.' mm]{'.$file.'}} ';
+			  $currentstring .= '\vskip 1 mm \noindent\graphicspath{{'.$path.'}}\includegraphics[width='.$width_param.' mm]{'.$file.'} ';
 		      }
 		  } else {
                       #there is no eps counterpart for image - check for ps one
@@ -1643,7 +1643,7 @@
 			  #ps counterpart for image exist 
 			  $file =~ s/\.eps$/\.ps/;
 			  if ($path) {
-			      $currentstring .= '\vskip 1 mm \noindent\graphicspath{{'.$path.'}}\fbox{\includegraphics[width='.$width_param.' mm]{'.$file.'}} ';
+			      $currentstring .= '\vskip 1 mm \noindent\graphicspath{{'.$path.'}}\includegraphics[width='.$width_param.' mm]{'.$file.'} ';
 			  }
 		      } else {
 			  #there aren't eps or ps - so create eps 
@@ -1651,7 +1651,7 @@
 			  my $filename = "/home/httpd/prtspool/$ENV{'user.name'}_$ENV{'user.domain'}_printout.dat";
 			  $temp_file = Apache::File->new('>>'.$filename); 
 			  print $temp_file "$src\n";
-			  $currentstring .= '\vskip 1 mm \graphicspath{{/home/httpd/prtspool/}}\fbox{\includegraphics[width='.$width_param.' mm]{'.$file.'}} ';
+			  $currentstring .= '\vskip 1 mm \graphicspath{{/home/httpd/prtspool/}}\includegraphics[width='.$width_param.' mm]{'.$file.'} ';
 		      }
 		  }
 	      } else {