So I think Tom is right, and it is a matter of getting the namespace into the MathML for MJ to pick it up. Casey Stark's screencast at http://www.mathjax.org/demos/copy-and-paste/ illustrates this with the 1.0? version of MJ.
I see that the docs don't have a very comprehensive or clear statement of just exactly how namespaces are handled by the MathML preprocessor. We should try to investigate/improve that. I think part of the problem is there are lots of idiosyncrasies to how browsers handle namespace prefixes in HTML, and lot of them are kind of broken. It would be really nice if there were an option to get un-namespaced MathML out of Word.
--Robert
Davide
<!DOCTYPE html>
<html xmlns:mml="http://www.w3.org/1998/Math/MathML">
<head>
<title>MathJax MathML with namespace</title>
<script src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=MML_HTMLorMML
"></script>
</head>
<body>
Here is some math:
<mml:math>
<mml:mi>x</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>2</mml:mn>
</mml:math>
</body>
</html>
works for me. I don't think it will work if you declare the mml
namespace only on the <mml:math> tag itself. This works if you don't
include this DOCTYPE, and also if you have an xmlns="..." on the math
element itself. So
<html xmlns:mml="http://www.w3.org/1998/Math/MathML">
<head>
<title>MathJax MathML with namespace</title>
<script src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=MML_HTMLorMML
"></script>
</head>
<body>
Here is some math:
<mml:math xmlns="http://www.w3.org/1998/Math/MathML">
<mml:mi>x</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>2</mml:mn>
</mml:math>
</body>
</html>
also works for me. The key is having the xmlns:mml="..." on the
<html> tag. This is what I meant by declaring the namespace; it is
not something that gets copied with the MathML itself.
Davide
Personally, I'd recommend using numeric character entities like ∑ for these rather than the unicode character itself, since that would avoid the encoding problems. Can you get word to generate those rather than direct unicode characters?
Davide