--- loncom/interface/printout.pl 2004/09/09 15:30:49 1.69
+++ loncom/interface/printout.pl 2004/11/13 08:25:41 1.70
@@ -1,7 +1,7 @@
#!/usr/bin/perl
# CGI-script to run LaTeX, dvips, ps2ps, ps2pdf etc.
#
-# $Id: printout.pl,v 1.69 2004/09/09 15:30:49 matthew Exp $
+# $Id: printout.pl,v 1.70 2004/11/13 08:25:41 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -226,7 +226,7 @@ foreach $texfile (@texfile) {
if ($whereitbegins!=-1 and $whereitends!=-1) {
print "With very high probability this error occured in ".substr($body_log_file,$whereitbegins+26,$whereitends-$whereitbegins-26)."
";
}
- print "Here are the error messages in the LaTeX log file
";
+ print "Here are the error messages in the LaTeX log file
"; my $sygnal = 0; for (my $i=0;$i<=$#content_of_file;$i++) { if ($content_of_file[$i]=~m/^Runaway argument?/ or $content_of_file[$i]=~m/^!/) { @@ -236,9 +236,10 @@ foreach $texfile (@texfile) { $sygnal = 0; } if ($sygnal) { - print "$content_of_file[$i]\n"; if ($advans_role) { print "The link to "; $logfilename=~s/\/home\/httpd//;
"; + print "$content_of_file[$i]"; } } + print "