Diff for /loncom/interface/lonprintout.pm between versions 1.537 and 1.538

version 1.537, 2008/08/25 10:16:27 version 1.538, 2008/09/05 09:09:38
Line 280  sub format_page_header { Line 280  sub format_page_header {
     # to \% else LaTeX will think they are comments and terminate      # to \% else LaTeX will think they are comments and terminate
     # the line.. which is bad!!!      # the line.. which is bad!!!
           
       # If the user has role author, $course and $assignment are empty so
       # there is '\\ \\ ' in the page header. That's cause a error in LaTeX
       if($format =~ /\\\\\s\\\\\s/) {
           #TODO find sensible caption for page header
           my $testPrintout = '\\\\'.&mt('Construction Space').' \\\\'.&mt('Test-Printout ');
           $format =~ s/\\\\\s\\\\\s/$testPrintout/;
       }
           
   
     return $format;      return $format;

Removed from v.1.537  
changed lines
  Added in v.1.538


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