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

sakharuk lon-capa-cvs@mail.lon-capa.org
Wed, 24 Jul 2002 20:10:43 -0000


sakharuk		Wed Jul 24 16:10:43 2002 EDT

  Modified files:              
    /loncom/xml	scripttag.pm 
  Log:
  Added tex output for <import> tag.
  
  
Index: loncom/xml/scripttag.pm
diff -u loncom/xml/scripttag.pm:1.75 loncom/xml/scripttag.pm:1.76
--- loncom/xml/scripttag.pm:1.75	Wed Jul 17 14:03:46 2002
+++ loncom/xml/scripttag.pm	Wed Jul 24 16:10:43 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # <script> definiton
 #
-# $Id: scripttag.pm,v 1.75 2002/07/17 18:03:46 albertel Exp $
+# $Id: scripttag.pm,v 1.76 2002/07/24 20:10:43 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -253,7 +253,7 @@
 
   $bodytext=Apache::run::evaluate($bodytext,$safeeval,$$parstack[$#$parstack]);
 
-  if ($target eq 'web' || $target eq 'grade' || $target eq 'answer') {
+  if ($target eq 'web' || $target eq 'grade' || $target eq 'answer' ||$target eq 'tex') {
     # FIXME this probably needs to be smart about construction vs.
     # non construction space.
     my $location=&Apache::lonnet::filelocation($Apache::lonxml::pwd['-1'],$bodytext);