--- loncom/interface/lonprintout.pm 2006/01/27 22:07:10 1.418 +++ loncom/interface/lonprintout.pm 2006/02/06 22:01:54 1.420 @@ -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.420 2006/02/06 22:01:54 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; } @@ -1456,6 +1453,7 @@ ENDPART } my %moreenv = ('textwidth' => &get_textwidth($helper,$LaTeXwidth)); $moreenv{'problem_split'} = $parmhash{'problem_stream_switch'}; + $moreenv{'instructor_comments'}='hide'; my $seed=time+($$<<16)+($$); my @allcodes; if ($old_name) {