--- loncom/interface/printout.pl 2014/02/06 21:28:09 1.157
+++ loncom/interface/printout.pl 2015/03/09 19:07:09 1.160
@@ -1,7 +1,7 @@
#!/usr/bin/perl
# CGI-script to run LaTeX, dvips, ps2ps, ps2pdf etc.
#
-# $Id: printout.pl,v 1.157 2014/02/06 21:28:09 raeburn Exp $
+# $Id: printout.pl,v 1.160 2015/03/09 19:07:09 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -309,7 +309,7 @@ foreach $texfile (@texfile) {
my $name_range='';
# $name -> Either user's full name or username:domain
- # $name_range -> Either user's last name or usrname.
+ # $name_range -> Either user's last name or username.
if ($tempo_array[3]) {
$name=$tempo_array[3];
@@ -933,7 +933,7 @@ sub convert_figure {
# Spaces are problematic for system commands and LaTeX, replace with _
- $eps_f =~ s/ /\_/g;
+ $eps_f =~ s/ /\_/g;
#
# If the file is already an .eps or .ps file (eps_f still has the original
@@ -1160,7 +1160,7 @@ sub analyze_logfile {
my $whereitends = index $body_log_file,'STAMPOFPASSEDRESOURCEEND',$whereitbegins;
print "
"
.&mt('It has found an error in [_1][_2]and corrected it.',substr($body_log_file,$whereitbegins+26,$whereitends-$whereitbegins-26),"
")."\n";
- print &mt('Usually this correction is valid but you probably need to check the indicated resource one more time and implement neccessary corrections by yourself.')."\n";
+ print &mt('Usually this correction is valid but you probably need to check the indicated resource one more time and implement necessary corrections by yourself.')."\n";
$whereitbegins = index $body_log_file,'',$tempobegin+10;
}