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

albertel lon-capa-cvs@mail.lon-capa.org
Sun, 05 Feb 2006 18:43:40 -0000


albertel		Sun Feb  5 13:43:40 2006 EDT

  Modified files:              
    /loncom/interface	lonprintout.pm 
  Log:
  - reverting 1.417
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.418 loncom/interface/lonprintout.pm:1.419
--- loncom/interface/lonprintout.pm:1.418	Fri Jan 27 17:07:10 2006
+++ loncom/interface/lonprintout.pm	Sun Feb  5 13:43:40 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.418 2006/01/27 22:07:10 foxr Exp $
+# $Id: lonprintout.pm,v 1.419 2006/02/05 18:43:40 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -906,10 +906,7 @@
     } else {
 	$result.=$currentURL;
     }
-    # TODO:  /2 used to be /$number_of_columns which we don'thave
-    #        access to and therefore now causes latex to fail.
-    #        need to figure out exactly what we should divide by.
-    $result.= '\vskip 0.5mm\noindent\makebox[\textwidth/2][b]{\hrulefill} \end{document}';
+    $result.= '\vskip 0.5mm\noindent\makebox[\textwidth/$number_of_columns][b]{\hrulefill} \end{document}';
     return $result;
 }