Return to londefdef.pm CVS log | Up to [LON-CAPA] / loncom / xml |
version 1.42, 2002/02/21 04:10:31 | version 1.43, 2002/02/21 04:29:27 |
---|---|
Line 1352 EDITBUTTON | Line 1352 EDITBUTTON |
$path = $Apache::lonxml::pwd[-1]; | $path = $Apache::lonxml::pwd[-1]; |
$file = $src; | $file = $src; |
} | } |
$file=~s/(\.gif|\.jpg)^/\.eps/; | $file=~s/(\.gif|\.jpg)$/\.eps/; |
if ($path) { | if ($path) { |
$currentstring = '\graphicspath{{'.$path.'}}\fbox{\includegraphics{'.$file.'}}'; | $currentstring = '\graphicspath{{'.$path.'}}\fbox{\includegraphics{'.$file.'}}'; |
} else { | } else { |