version 1.139, 2016/01/26 14:30:25
|
version 1.140, 2016/02/20 00:12:40
|
Line 125 sub handler {
|
Line 125 sub handler {
|
if ($target eq 'tex') { |
if ($target eq 'tex') { |
$r->print($filecontents); |
$r->print($filecontents); |
} else { |
} else { |
my $result = &Apache::lontexconvert::converted(\$filecontents, |
my $texengine = $env{'form.texengine'}; |
$env{'form.texengine'}); |
if ($texengine eq '') { |
|
$texengine = 'tth'; |
|
} elsif (lc($texengine) eq 'jsmath') { |
|
$texengine = 'MathJax'; |
|
} |
|
my $result = &Apache::lontexconvert::converted(\$filecontents,$texengine); |
my %args; |
my %args; |
&get_breadcrumbs($cdom,$cnum,$crstype,\%args); |
&get_breadcrumbs($cdom,$cnum,$crstype,\%args); |
if ($env{'form.only_body'}) { |
if ($env{'form.only_body'}) { |