--- loncom/interface/printout.pl 2003/08/28 13:52:22 1.34
+++ loncom/interface/printout.pl 2003/08/28 13:58:35 1.35
@@ -88,6 +88,24 @@ use Image::Magick;
print "$content_of_file[$i]
";
}
}
+ print "The link to ";
+ $logfilename=~s/\/home\/httpd//;
+ print "Your log file ";
+ print "\n";
+ #link tooriginal LaTeX file (included according Michael Hamlin desire)
+ my $tex_temporary_file=IO::File->new($texfile) || die "Couldn't open file for reading: $!\n";
+ my @tex_content_of_file = <$tex_temporary_file>;
+ close $tex_temporary_file;
+ my $body_tex_file = join(' ',@tex_content_of_file);
+ $texfile =~ s/\.tex$/aaaaa\.html/;
+ $tex_temporary_file = IO::File->new('>'.$texfile);
+ print $tex_temporary_file '
'.$body_tex_file.''."\n"; + print "