[LON-CAPA-cvs] cvs: loncom /interface printout.pl

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 24 Feb 2004 23:20:08 -0000


albertel		Tue Feb 24 18:20:08 2004 EDT

  Modified files:              
    /loncom/interface	printout.pl 
  Log:
  - remove image .dat file when done converting images
  
  
Index: loncom/interface/printout.pl
diff -u loncom/interface/printout.pl:1.51 loncom/interface/printout.pl:1.52
--- loncom/interface/printout.pl:1.51	Wed Feb 18 18:33:17 2004
+++ loncom/interface/printout.pl	Tue Feb 24 18:20:08 2004
@@ -1,7 +1,7 @@
 #!/usr/bin/perl
 # CGI-script to run LaTeX, dvips, ps2ps, ps2pdf etc.
 #
-# $Id: printout.pl,v 1.51 2004/02/18 23:33:17 albertel Exp $
+# $Id: printout.pl,v 1.52 2004/02/24 23:20:08 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -136,6 +136,7 @@
 	  }
       }
       if ($adv) { &Apache::lonhtmlcommon::Close_PrgWin('',\%prog_state); }
+      unlink($figfile);
   }
   #print "$texfile\n"; #name of the tex file for debugging only   
   my @texfile=($texfile);