Return to printout.pl CVS log | Up to [LON-CAPA] / loncom / interface |
version 1.167, 2020/02/18 23:57:54 | version 1.168, 2021/01/25 18:06:55 |
---|---|
Line 984 sub convert_figure { | Line 984 sub convert_figure { |
&File::Path::mkpath($path,0,0777); | &File::Path::mkpath($path,0,0777); |
$not_eps =~ s/^\s+//; | $not_eps =~ s/^\s+//; |
$not_eps =~ s/\s+$//; | $not_eps =~ s/\s+$//; |
$not_eps =~ s/ /\\ /g; | |
my $prettyname=$not_eps; | my $prettyname=$not_eps; |
if ($advanced_role) { | if ($advanced_role) { |
$prettyname=~s|$perlvar{'lonDocRoot'}/|/|; | $prettyname=~s|$perlvar{'lonDocRoot'}/|/|; |