javascriptmathmlmathjaxparsing-error

MathJax doesn't render the "less-than sign"


I'm trying to display the less-than sign using MathJax to render MathML input... currently working on Firefox but will be expanding to other browsers. I have tried displaying the sign in different variations:

But I get the following error:

Error parsing MathML: not well-formed Line Number 18, Column 13: <mo><</mo> ------------------------------------------------------^

I'm using the following MathML code:

<math mode="display" xmlns="http://www.w3.org/1998/Math/MathML">
 <mpadded height="+.7lex">
  <mrow>
   <mo>&#x003C;</mo>
  </mrow>
 </mpadded>
</math>

Any idea why this might be happening? I've read that this might be a bug with MathJax, but I also tried doing this using other tags but no luck. I'm also pretty sure I'm using the latest version of MathJax.

Thanks, Hristo


Solution

  • This was a bug in MathJax that was fixed in the SVN version 580, which hasn't been included in a packaged version yet. You may want to get a current SVN copy of MathJax rather than one of the ZIP files. The fix will be included in the next release of MathJax