--- loncom/interface/printout.pl 2009/04/17 10:02:49 1.141 +++ loncom/interface/printout.pl 2009/06/02 12:20:14 1.142 @@ -1,7 +1,7 @@ #!/usr/bin/perl # CGI-script to run LaTeX, dvips, ps2ps, ps2pdf etc. # -# $Id: printout.pl,v 1.141 2009/04/17 10:02:49 foxr Exp $ +# $Id: printout.pl,v 1.142 2009/06/02 12:20:14 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1056,13 +1056,15 @@ sub analyze_logfile { # $name_file - is the name of the LaTeX file. # $identifier - is the unique LaTeX identifier.l - print "
"; + print '

'; if ($badtext) { print &mt('There are errors in [_1].',$badtext); } else { print &mt('There are errors.'); } - print "
".&mt('These errors prevent this resource from printing correctly.'); + print '

' + .&mt('These errors prevent this resource from printing correctly.'); + my $tex_handle = IO::File->new($texfile); my @tex_contents = <$tex_handle>; &send_error_mail($identifier, $badresource, $body_log_file, \@tex_contents);