--- loncom/interface/lonprintout.pm 2019/01/31 16:08:07 1.668 +++ loncom/interface/lonprintout.pm 2020/02/29 16:05:30 1.671 @@ -1,7 +1,7 @@ # The LearningOnline Network # Printout # -# $Id: lonprintout.pm,v 1.668 2019/01/31 16:08:07 raeburn Exp $ +# $Id: lonprintout.pm,v 1.671 2020/02/29 16:05:30 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -847,8 +847,9 @@ sub set_font_size { if ($font_size ne '') { $text =~ s/\\begin\{document}/\\begin{document}{\\$font_size/; + $text =~ s/\\end\{document}/}\\end{document}/; + } - $text =~ s/\\end\{document}/}\\end{document}/; return $text; @@ -2078,9 +2079,10 @@ sub unsupported { $currentURL=~s|^http://https://|https://|; my $title=&Apache::lonnet::gettitle($symb); $title = &Apache::lonxml::latex_special_symbols($title); - $result.=' \strut \\\\ '.$title.' \strut \\\\ '.$currentURL.' '; + my $url = &Apache::lonxml::latex_special_symbols($currentURL); + $result.=' \strut \\\\ '.$title.' \strut \\\\ '.$url.' '; } else { - $result.=$currentURL; + $result.= &Apache::lonxml::latex_special_symbols($currentURL); } $result.= '\vskip 0.5mm\noindent\makebox[\textwidth/$number_of_columns][b]{\hrulefill} \end{document}'; return $result; @@ -4826,7 +4828,7 @@ CHOOSE_FROM_ANY_SEQUENCE my $xmlfrag = << "FONT_SELECTION"; - + return 'normalsize';