version 1.68, 2005/04/12 09:35:22
|
version 1.69, 2005/04/12 09:56:07
|
Line 405 sub end_label {
|
Line 405 sub end_label {
|
if ($type eq 'image') { |
if ($type eq 'image') { |
&Apache::lonxml::debug("Turning $ltext, $Apache::lonxml::pwd[-1]"); |
&Apache::lonxml::debug("Turning $ltext, $Apache::lonxml::pwd[-1]"); |
$ltext=&Apache::imageresponse::clean_up_image($ltext); |
$ltext=&Apache::imageresponse::clean_up_image($ltext); |
|
# In .tex output mode, at least _ has to be replaced with |
|
# \_ |
|
if ($target eq 'tex') { |
|
$ltext =~ s/\_/\\\_/g; |
|
} |
# $ltext=&Apache::lonnet::filelocation($Apache::lonxml::pwd[-1], |
# $ltext=&Apache::lonnet::filelocation($Apache::lonxml::pwd[-1], |
# $ltext); |
# $ltext); |
&Apache::lonxml::debug("into $ltext"); |
&Apache::lonxml::debug("into $ltext"); |