[LON-CAPA-cvs] cvs: loncom /interface lonprintout.pm

sakharuk lon-capa-cvs@mail.lon-capa.org
Thu, 09 May 2002 15:45:12 -0000


sakharuk		Thu May  9 11:45:12 2002 EDT

  Modified files:              
    /loncom/interface	lonprintout.pm 
  Log:
  produces eps dynamically
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.25 loncom/interface/lonprintout.pm:1.26
--- loncom/interface/lonprintout.pm:1.25	Thu May  2 17:21:38 2002
+++ loncom/interface/lonprintout.pm	Thu May  9 11:45:11 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.25 2002/05/02 21:21:38 sakharuk Exp $
+# $Id: lonprintout.pm,v 1.26 2002/05/09 15:45:11 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -239,10 +239,6 @@
     $result =~ s/{\\par }\s*\\\\/\\\\/gm;
 	$result =~ s/\\\\\s+\[/ \[/g;
     $result =~ s/θ/\$\\theta\$/g; #converts theta from html into tex
-#-- Do all of eps figures exist?
-    my $needconvert = 0;
-    $_ = $result;
-    if (/\\needepsconversion/) { $needconvert = 1; }  
 #-- writing .tex file in prtspool 
     my $temp_file;
     $filename = "/home/httpd/prtspool/$ENV{'user.name'}$ENV{'user.domain'}temp$ENV{'user.login.time'}.tex";
@@ -252,7 +248,7 @@
     } 
     print $temp_file $result;
 $r->print(<<FINALEND);
-<meta http-equiv="Refresh" content="0; url=/cgi-bin/printout.pl?$filename&$laystyle&$needconvert">
+<meta http-equiv="Refresh" content="0; url=/cgi-bin/printout.pl?$filename&$laystyle">
 </body>
 </html>
 FINALEND