version 1.269, 2005/04/29 21:22:33
|
version 1.270, 2005/05/17 23:11:59
|
Line 3854 sub get_eps_image {
|
Line 3854 sub get_eps_image {
|
#if replication failed try to find ps file |
#if replication failed try to find ps file |
$src=~s/\.eps$/\.ps/; |
$src=~s/\.eps$/\.ps/; |
&Apache::lonxml::debug("Now looking for $src"); |
&Apache::lonxml::debug("Now looking for $src"); |
#if no ps file try to replicate it |
#if no ps file try to replicate it. |
if (not -e $src || |
my $didrepcopy = &Apache::lonnet::repcopy($src); |
&Apache::lonnet::repcopy($src) ne 'ok') { |
&Apache::lonxml::debug("repcopy of $src ... $didrepcopy"); |
|
if ( (not -e $src) || |
|
($didrepcopy ne 'ok')) { |
&Apache::lonxml::debug("Failed to find or replicate $src"); |
&Apache::lonxml::debug("Failed to find or replicate $src"); |
|
|
#if replication failed try to produce eps file dynamically |
#if replication failed try to produce eps file dynamically |