version 1.67, 2005/07/05 18:59:03
|
version 1.69, 2006/01/27 23:55:15
|
Line 137 ENDCONV
|
Line 137 ENDCONV
|
$errorstring) { |
$errorstring) { |
&Apache::lonnet::logthis("Trying to kill myself"); |
&Apache::lonnet::logthis("Trying to kill myself"); |
$Apache::lontexconvert::messedup=1; |
$Apache::lontexconvert::messedup=1; |
my $request=Apache->request(); |
$Apache::lonxml::request->child_terminate(); |
$request->child_terminate(); |
|
} |
} |
return $xmlstring; |
return $xmlstring; |
} |
} |
Line 208 sub mimetex_converted {
|
Line 207 sub mimetex_converted {
|
sub converted { |
sub converted { |
my ($string,$mode)=@_; |
my ($string,$mode)=@_; |
if ($mode eq '') { $mode=$env{'environment.texengine'}; } |
if ($mode eq '') { $mode=$env{'environment.texengine'}; } |
if ($mode eq 'tth') { |
if ($mode =~ /tth/i) { |
return &tth_converted($string); |
return &tth_converted($string); |
} elsif ($mode eq 'jsMath') { |
} elsif ($mode =~ /jsmath/i) { |
return &jsMath_converted($string); |
return &jsMath_converted($string); |
} elsif ($mode eq 'mimetex') { |
} elsif ($mode =~ /mimetex/i) { |
return &mimetex_converted($string); |
return &mimetex_converted($string); |
} |
} |
return &tth_converted($string); |
return &tth_converted($string); |