--- loncom/interface/lonprintout.pm	2003/11/11 19:32:22	1.265
+++ loncom/interface/lonprintout.pm	2004/01/12 21:53:27	1.267
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.265 2003/11/11 19:32:22 sakharuk Exp $
+# $Id: lonprintout.pm,v 1.267 2004/01/12 21:53:27 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -889,6 +889,7 @@ ENDPART
 	    $form{'symb'}=$master_seq[$i];
 	    my ($sequence)=&Apache::lonnet::decode_symb($master_seq[$i]);
 	    my $assignment=&Apache::lonxml::latex_special_symbols(&Apache::lonnet::gettitle($sequence),'header'); #tittle of the assignment which contains this problem
+	    if ($selectionmade==7) {$helper->{VARS}->{'assignment'}=$assignment;}
 	    if ($i==0) {$prevassignment=$assignment;}
 	    #&Apache::lonnet::logthis("Trying to get $urlp with symb $master_seq[$i]");
 	    my $texversion.=&Apache::lonnet::ssi($urlp,%form);
@@ -1641,6 +1642,7 @@ use Apache::lonhelper;
 no strict;
 @ISA = ("Apache::lonhelper::element");
 use strict;
+use Apache::lonlocal;
 
 my $maxColumns = 2;
 my @paperSize = ("Letter [8 1/2x11 in]", "Legal [8 1/2x14 in]", 
@@ -1668,15 +1670,17 @@ sub render {
     my $helper = Apache::lonhelper::getHelper();
     my $result = '';
     my $var = $self->{'variable'};
-
+    my $PageLayout=&mt('Page layout');
+    my $NumberOfColumns=&mt('Number of columns');
+    my $PaperType=&mt('Paper type');
     $result .= <<STATEHTML;
 
 <hr width="33%" />
 <table cellpadding="3">
   <tr>
-    <td align="center"><b>Page layout</b></td>
-    <td align="center"><b>Number of columns</b></td>
-    <td align="center"><b>Paper type</b></td>
+    <td align="center"><b>$PageLayout</b></td>
+    <td align="center"><b>$NumberOfColumns</b></td>
+    <td align="center"><b>$PaperType</b></td>
   </tr>
   <tr>
     <td>