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

raeburn raeburn@source.lon-capa.org
Thu, 26 Aug 2010 08:45:09 -0000


raeburn		Thu Aug 26 08:45:09 2010 EDT

  Modified files:              (Branch: version_2_9_X)
    /loncom/interface	printout.pl 
  Log:
  - Exclude fixps from 2.9.
  - Correct 1.142.6.3 (backport of 1.146).
  
  
Index: loncom/interface/printout.pl
diff -u loncom/interface/printout.pl:1.142.6.3 loncom/interface/printout.pl:1.142.6.4
--- loncom/interface/printout.pl:1.142.6.3	Tue May 11 12:10:25 2010
+++ loncom/interface/printout.pl	Thu Aug 26 08:45:08 2010
@@ -1,7 +1,7 @@
 #!/usr/bin/perl
 # CGI-script to run LaTeX, dvips, ps2ps, ps2pdf etc.
 #
-# $Id: printout.pl,v 1.142.6.3 2010/05/11 12:10:25 raeburn Exp $
+# $Id: printout.pl,v 1.142.6.4 2010/08/26 08:45:08 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -467,19 +467,12 @@
 	      my $ps_file = my $tempo_file = $1.'temporar.ps';
 	      my $pdf_file = $1.'.pdf';
 	      $papera=~s/t/p/;
-              $comma = "fixps --force $new_name_file";
-              &debug("FIXPS command: $comma");
-              &busy_wait_command("$comma 1>/dev/null 2>/dev/null",
-                                 "for $status_statement now validating PS",
-                                 \%prog_state,$tempo_file);
 	      if ($laystyle eq 'album' and $numberofcolumns eq '2') {
 		  $comma = "psnup $papera -2 -s1.0 $new_name_file";
 		  &debug("PSNUP command: $comma");
-                  &busy_wait_command("$comma 1>$tempo_file 2>/dev/null",
+                  &busy_wait_command("$comma $tempo_file 1>/dev/null 2>/dev/null",
 				     "for $status_statement now Modifying PS layout",
 				     \%prog_state,$tempo_file);
-	          &busy_wait_command("mv $tempo_file $new_name_file",
-				     'File move', \%prog_state, $new_name_file);
 	      } elsif ($laystyle eq 'book' and $numberofcolumns eq '2') {
 		  $comma = 'pstops '.$papera.' "2:0+1(0.48w,0)" '.$new_name_file;
 		  &debug("PSTOPS command: $comma ");