2011-07-10, 04:13:23
(This post was last modified: 2011-07-10, 04:14:11 by joneskelark65.)
mvlcek Wrote:disi Wrote:Still looking through, how I might tripper a script to replace everything between $$ and $$...
You don't need a script to replace anything, if you are using the Javascript version.
However, I played around a bit with both methods of getting nice math formulas and whipped up the attached small plugin. Just change the variable at the top to use one of the methods:
- $math_mode = 1: Images
- $math_mode = 2: Javascript
- $math_mode = 3: Javascript, but if Javascript is switched off, images are shown.
In any case you enter formulas between $$ ... $$.
Thanks mvlcek, that works great.
I could get MathJax to work if I set it to 2 and mathTeX if I set it to 1 but 3 doesn't work, which is no problem.