jmacgreg wrote:Hi folks,

I've modified the original mathjax plugin to now use the mathjax CDN service -- so all you need to do is install/upgrade to the plugin provided in this post, and not worry about uploading the entire mathjax library. Lightshadow, would you mind testing this? If it works well for you, I'll include it in the core OJS codebase.

(NB: this file should work with OJS 2.3+. Not tested on OCS or OJS 2.2.x.)

Cheers,

James

Dear James,

I glad to test the new plugin. I have read your new code. You add the lines

<script type="text/javascript"

src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?co

nfig=TeX-AMS-MML_HTMLorMML">

</script>

<!-- / MathJax plugin -->';

This seems convinent for users, but in fact, it does not. My reasons are

1. It is not consistant with MathJax 1.0 and our custom.

(1) In mathjax 1.0, we use $,,,$ or $$....$$ as math delimiters, but use \(...\) and \[....\] as math delimiters in MathJax 1.1. That means we have to modify our metadata of every old article. By the way, mathematicans seem prefer $..$ and $$....$$ rather than \(...\) and \[....\] .

(2) The way to solve the conflicts is add somelines like

<script type="text/x-mathjax-config">

MathJax.Hub.Config({

extensions: ["tex2jax.js"],

jax: ["input/TeX", "output/HTML-CSS"],

tex2jax: {

inlineMath: [ ['$','$'], ["\\(","\\)"] ],

displayMath: [ ['$$','$$'], ["\\[","\\]"] ],

processEscapes: true

},

"HTML-CSS": { availableFonts: ["TeX"] }

});

</script>

but it doens't seem to work on OJS ( it works on wordpress, moodle....)

2. The plugins did not load at host's mainpage and the reference page.

I have try many possibilities, but I did find a correct solution. You will be appreciated very much if you can find the solution.

My Best Wishes