version 1.12, 2006/05/17 22:08:08
|
version 1.14, 2023/12/22 13:38:01
|
Line 103 sub handler {
|
Line 103 sub handler {
|
($env{'form.inhibitmenu'} |
($env{'form.inhibitmenu'} |
eq 'yes'), })); |
eq 'yes'), })); |
|
|
|
my $displaymode; |
|
if (&Apache::lonnet::EXT('resource.0.texdisplay') =~ /^(tth|mathjax)$/i) { |
|
$displaymode = $1; |
|
} |
|
if ($env{'form.texengine'} =~ /^(tth|mathjax)$/i) { |
|
$displaymode = $1; |
|
} |
$r->print(&Apache::lontexconvert::converted(\$texstring, |
$r->print(&Apache::lontexconvert::converted(\$texstring, |
$env{'form.texengine'})); |
$displaymode)); |
$r->print(&footer()); |
$r->print(&footer()); |
|
|
return OK; |
return OK; |
Line 113 sub handler {
|
Line 120 sub handler {
|
1; |
1; |
__END__ |
__END__ |
|
|
|
=pod |
|
|
|
=head1 NAME |
|
|
|
Apache::lontex.pm |
|
|
|
=head1 SYNOPSIS |
|
|
|
Handler for tex files (somewhere in modules) |
|
|
|
This is part of the LearningOnline Network with CAPA project |
|
described at http://www.lon-capa.org. |
|
|
|
|
|
=head1 SUBROUTINES |
|
|
|
=over |
|
|
|
=item footer() |
|
|
|
Main Handler |
|
|
|
=back |
|
|
|
=cut |
|
|
|
|
|
|
|
|