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

sakharuk lon-capa-cvs@mail.lon-capa.org
Mon, 01 Jul 2002 15:02:54 -0000


sakharuk		Mon Jul  1 11:02:54 2002 EDT

  Modified files:              
    /loncom/interface	lonprintout.pm 
  Log:
  capable to print pages with a few columns
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.34 loncom/interface/lonprintout.pm:1.35
--- loncom/interface/lonprintout.pm:1.34	Thu Jun 27 14:47:59 2002
+++ loncom/interface/lonprintout.pm	Mon Jul  1 11:02:54 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.34 2002/06/27 18:47:59 sakharuk Exp $
+# $Id: lonprintout.pm,v 1.35 2002/07/01 15:02:54 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -303,6 +303,7 @@
     $result =~ s/(\\begin{longtable})INSERTTHEHEADOFLONGTABLE/$1$insert/g;
     $result =~ s/&\s*REMOVETHEHEADOFLONGTABLE\\\\/\\\\/g;
     $result =~ s/(\\vskip\s*\d+\s*mm)/}\\\\\\parbox{\\minipagewidth}{/g;
+    $result =~ s/\\parbox{\\minipagewidth}{}\s*\\\\\s*(\\parbox{\\minipagewidth})/$1/g;
     return $result,$number_of_columns;
 }