version 1.83, 2007/06/19 20:10:55
|
version 1.84, 2007/08/14 19:32:35
|
Line 203 sub jsMath_converted {
|
Line 203 sub jsMath_converted {
|
return "\n". |
return "\n". |
'<script type="text/javascript">jsMath.Process()</script>'."\n"; |
'<script type="text/javascript">jsMath.Process()</script>'."\n"; |
} |
} |
|
sub jsMath_state { |
|
my ($level) = @_; |
|
return $jsMath_sent_header[$level]; |
|
} |
} |
} |
|
|
sub tex_engine { |
sub tex_engine { |
Line 220 sub tex_engine {
|
Line 224 sub tex_engine {
|
} |
} |
|
|
sub init_math_support { |
sub init_math_support { |
|
my ($inherit_jsmath) = @_; |
&init_tth(); |
&init_tth(); |
&Apache::lontexconvert::jsMath_push(); |
&Apache::lontexconvert::jsMath_push(); |
if (lc(&tex_engine()) eq 'jsmath') { |
if (lc(&tex_engine()) eq 'jsmath' || |
|
($inherit_jsmath && &jsMath_state(-2))) { |
return &Apache::lontexconvert::jsMath_header(); |
return &Apache::lontexconvert::jsMath_header(); |
} |
} |
return; |
return; |