[LON-CAPA-cvs] cvs: loncom /interface printout.pl
raeburn
raeburn at source.lon-capa.org
Mon Jan 25 13:06:55 EST 2021
raeburn Mon Jan 25 18:06:55 2021 EDT
Modified files:
/loncom/interface printout.pl
Log:
- As system() calls for pdftops and convert both now use list processing mode,
spaces in filename for $not_eps no longer need escaping.
Index: loncom/interface/printout.pl
diff -u loncom/interface/printout.pl:1.167 loncom/interface/printout.pl:1.168
--- loncom/interface/printout.pl:1.167 Tue Feb 18 23:57:54 2020
+++ loncom/interface/printout.pl Mon Jan 25 18:06:55 2021
@@ -1,7 +1,7 @@
#!/usr/bin/perl
# CGI-script to run LaTeX, dvips, ps2ps, ps2pdf etc.
#
-# $Id: printout.pl,v 1.167 2020/02/18 23:57:54 raeburn Exp $
+# $Id: printout.pl,v 1.168 2021/01/25 18:06:55 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -984,7 +984,6 @@
&File::Path::mkpath($path,0,0777);
$not_eps =~ s/^\s+//;
$not_eps =~ s/\s+$//;
- $not_eps =~ s/ /\\ /g;
my $prettyname=$not_eps;
if ($advanced_role) {
$prettyname=~s|$perlvar{'lonDocRoot'}/|/|;
More information about the LON-CAPA-cvs
mailing list