From SafeML to MathML

From SafeML to MathML

by pitou col -
Number of replies: 0

Hello

I want to use mathjax instead of Wiris. But I don't want users to write again their equations.

As Wiris wrote all the code into safeML, I need to convert safeML into MathML. Someone from Mathjax Google groupe has done a great work to script it into a safexml2jax.js file, but I don't achieved to insert the correct code into mathjax configuration.

What I've done : 

1. installed a local copy of mathjax librairie.

2. Put the safexml2jax.js into extension directory.

3. Modified the mathjax URL so it links to local copy.

4. Changed the script to insert the extension like that : 

MathJax.Hub.Config({

config: ["Accessible.js", "Safe.js"],

extensions: ["safexml2jax.js"],

errorSettings: { message: ["!"] },

skipStartupTypeset: true,

messageStyle: "none"

});


But nothing happens, I always see the safeML.

any idea ?

Average of ratings: -