version 1.112.2.4, 2014/06/18 06:48:47
|
version 1.116, 2014/06/18 06:48:03
|
Line 296 sub MathJax_converted {
|
Line 296 sub MathJax_converted {
|
return |
return |
'<script type="text/javascript" src="/adm/MathJax/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>'."\n"; |
'<script type="text/javascript" src="/adm/MathJax/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>'."\n"; |
} |
} |
|
#sub MathJax_process { |
|
# my $state = pop(@MathJax_sent_header); |
|
# return '' if !$state; |
|
# return "\n". |
|
# '<script type="text/javascript">MathJax.Process()</script>'."\n"; |
|
#} |
|
#sub MathJax_state { |
|
# my ($level) = @_; |
|
# return $MathJax_sent_header[$level]; |
|
#} |
} |
} |
|
|
|
|
Line 432 sub converted {
|
Line 442 sub converted {
|
} elsif ($mode =~ /jsmath/i) { |
} elsif ($mode =~ /jsmath/i) { |
return &jsMath_converted($string); |
return &jsMath_converted($string); |
} elsif ($mode =~ /mathjax/i) { |
} elsif ($mode =~ /mathjax/i) { |
return &MathJax_converted($string); |
return &MathJax_converted($string); |
} elsif ($mode =~ /mimetex/i) { |
} elsif ($mode =~ /mimetex/i) { |
return &mimetex_converted($string); |
return &mimetex_converted($string); |
} elsif ($mode =~ /raw/i) { |
} elsif ($mode =~ /raw/i) { |
Line 644 Header
|
Line 654 Header
|
=item jsMath_converted() |
=item jsMath_converted() |
|
|
=item MathJax_converted() |
=item MathJax_converted() |
- Mimics the jsMath functionality |
- Mimics the jsMath functionality |
|
|
=item tex_engine() |
=item tex_engine() |
|
|