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

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 15 Sep 2004 06:31:57 -0000


albertel		Wed Sep 15 02:31:57 2004 EDT

  Modified files:              
    /loncom/xml	londefdef.pm 
  Log:
  - no need to replicate the eps/ps unless we are going to print
  
  
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.240 loncom/xml/londefdef.pm:1.241
--- loncom/xml/londefdef.pm:1.240	Thu Sep  2 14:04:49 2004
+++ loncom/xml/londefdef.pm	Wed Sep 15 02:31:57 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Tags Default Definition Module 
 #
-# $Id: londefdef.pm,v 1.240 2004/09/02 18:04:49 albertel Exp $
+# $Id: londefdef.pm,v 1.241 2004/09/15 06:31:57 albertel Exp $
 # 
 #
 # Copyright Michigan State University Board of Trustees
@@ -2672,7 +2672,7 @@
     $src=&Apache::lonnet::filelocation($Apache::lonxml::pwd[-1],$src);
     $Apache::lonxml::extlinks[$#Apache::lonxml::extlinks+1]=
 	&Apache::lonnet::clutter($src);
-    &image_replication($src);
+    if ($target eq 'tex') { &image_replication($src); }
     my $result;
     if ($target eq 'edit') {
 	$result .=&Apache::edit::tag_start($target,$token);