version 1.44, 2004/02/05 18:38:12
|
version 1.45, 2004/02/06 14:16:39
|
Line 322 foreach $texfile (@texfile) {
|
Line 322 foreach $texfile (@texfile) {
|
print "LaTeX file $texfile was not created successfully"; |
print "LaTeX file $texfile was not created successfully"; |
} |
} |
} |
} |
|
print "<br />"; |
if ($number_of_files>1) { |
if ($number_of_files>1) { |
my $statement=''; |
my $zipfile=$texfile[0]; |
|
$zipfile=~s/\.tex/\.zip/; |
|
my $statement="zip $zipfile"; |
foreach my $file (@texfile) { |
foreach my $file (@texfile) { |
|
$file=~s/\.tex/.\pdf/; |
|
$statement.=' '.$file; |
} |
} |
|
system("$statement"); |
|
$zipfile=~s/\/home\/httpd//; |
|
print "<br /> <a href=\"$zipfile\">Your ZIP file is here</a>"; |
} |
} |
&Close_StatWin(); |
&Close_StatWin(); |
|
|