--- loncom/interface/lonprintout.pm 2003/08/20 18:34:14 1.221 +++ loncom/interface/lonprintout.pm 2003/08/21 15:50:35 1.222 @@ -1,7 +1,7 @@ # The LearningOnline Network # Printout # -# $Id: lonprintout.pm,v 1.221 2003/08/20 18:34:14 sakharuk Exp $ +# $Id: lonprintout.pm,v 1.222 2003/08/21 15:50:35 sakharuk Exp $ # # Copyright Michigan State University Board of Trustees # @@ -483,7 +483,7 @@ sub get_course { sub page_format_transformation { my ($papersize,$layout,$numberofcolumns,$choice,$text,$assignment,$tableofcontents,$indexlist) = @_; my ($textwidth,$textheight,$oddoffset,$evenoffset,$topmargin); - $assignment=~s/_/ /g; + $assignment=&Apache::lonxml::latex_special_symbols($assignment,'header'); if ($numberofcolumns != 1) { ($textwidth,$textheight,$oddoffset,$evenoffset,$topmargin) = &page_format($papersize,$layout,$numberofcolumns,$topmargin); } else { @@ -733,7 +733,7 @@ ENDPART } $form{'symb'}=$master_seq[$i]; $master_seq[$i]=~/(.*)___\d*___/; - my $assignment=&Apache::lonnet::gettitle($1); #tittle of the assignment which contains this problem + my $assignment=&Apache::lonxml::latex_special_symbols(&Apache::lonnet::gettitle($1),'header'); #tittle of the assignment which contains this problem #&Apache::lonnet::logthis("Trying to get $urlp with symb $master_seq[$i]"); my $texversion=&Apache::lonnet::ssi($urlp,%form); if ($urlp=~/\.page$/) {