Diff for /loncom/interface/lonprintout.pm between versions 1.456 and 1.457

version 1.456, 2006/07/07 21:55:05 version 1.457, 2006/07/11 10:12:44
Line 1945  sub print_resources { Line 1945  sub print_resources {
     my $currentassignment=&Apache::lonxml::latex_special_symbols($helper->{VARS}->{'assignment'},'header');      my $currentassignment=&Apache::lonxml::latex_special_symbols($helper->{VARS}->{'assignment'},'header');
     my $HeaderLine = $parmhash{'print_header_format'};      my $HeaderLine = $parmhash{'print_header_format'};
     $HeaderLine = format_page_header($HeaderLine, $currentassignment, $courseidinfo, $fullname);      $HeaderLine = format_page_header($HeaderLine, $currentassignment, $courseidinfo, $fullname);
     &Apache::lonnet::logthis("Hdr format: $HeaderLine");  
     if ($current_output=~/\\documentclass/) {      if ($current_output=~/\\documentclass/) {
  if ($columns_in_format == 1) {   if ($columns_in_format == 1) {
     $current_output =~ s/\\begin{document}/\\setlength{\\topmargin}{1cm} \\begin{document}\\noindent\\parbox{\\minipagewidth}{\\noindent\\lhead{$HeaderLine$namepostfix}}\\vskip 5 mm /;      $current_output =~ s/\\begin{document}/\\setlength{\\topmargin}{1cm} \\begin{document}\\noindent\\parbox{\\minipagewidth}{\\noindent\\lhead{$HeaderLine$namepostfix}}\\vskip 5 mm /;

Removed from v.1.456  
changed lines
  Added in v.1.457


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>