--- loncom/interface/lonprintout.pm 2006/01/27 22:07:10 1.418 +++ loncom/interface/lonprintout.pm 2006/02/05 18:43:40 1.419 @@ -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 @@ sub unsupported { } 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; }