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

sakharuk lon-capa-cvs@mail.lon-capa.org
Fri, 13 Aug 2004 17:06:00 -0000


sakharuk		Fri Aug 13 13:06:00 2004 EDT

  Modified files:              
    /loncom/interface	printout.pl 
  Log:
  "Legal" format of  paper is fully supported now.
  
  
Index: loncom/interface/printout.pl
diff -u loncom/interface/printout.pl:1.64 loncom/interface/printout.pl:1.65
--- loncom/interface/printout.pl:1.64	Thu Aug 12 13:19:25 2004
+++ loncom/interface/printout.pl	Fri Aug 13 13:06:00 2004
@@ -1,7 +1,7 @@
 #!/usr/bin/perl
 # CGI-script to run LaTeX, dvips, ps2ps, ps2pdf etc.
 #
-# $Id: printout.pl,v 1.64 2004/08/12 17:19:25 sakharuk Exp $
+# $Id: printout.pl,v 1.65 2004/08/13 17:06:00 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -365,7 +365,8 @@
 				     "for $status_statement now Modifying PS layout",
 				     \%prog_state,$tempo_file);
 	      } elsif ($laystyle eq 'book' and $numberofcolumns eq '2') {
-		  $comma = 'pstops "2:0+1(0.48w,0)"';
+		  $papera=~s/t/p/;
+		  $comma = 'pstops '.$papera.' "2:0+1(0.48w,0)"';
 		  &busy_wait_command("$comma $new_name_file $tempo_file 1>/dev/null 2>/dev/null",
 				     "for $status_statement now Modifying PS layout",
 				     \%prog_state,$tempo_file);