working in html but not in svg
Created by: kenjiejima
Hello everybody,
I've found an issue that may be a bug. I made a page that reproduces the bug at:
http://emilics.com/media/mathjaxtest/testformula1.html
Please see the html source for the actual math formulae. The output is SVG. I'm using MathJax 2.2.8 on my actual service but the page above uses 2.2-latest from your CDN.
On my browser (chromium 28, firefox 24, both on ubuntu 12.04) it gives me a red [Math Processing Error]. When I right click on that, select "Show Math As" and "Error Message", it gives me:
Error: g is undefined
Now, when I change the config from TeX-AMS-MML_SVG-full to TeX-AMS_HTML-full then it works like this:
http://emilics.com/media/mathjaxtest/testformula2.html
Nice. So it might be an error that only occurs in the SVG output settings. When I surround the formulae with an array environment then it works in SVG mode like this:
http://emilics.com/media/mathjaxtest/testformula3.html
In my formula, I'm using \phantom{ } to align formulae and I know that isn't the best way for alignment. I changed the formula for myself and that works but I wanted to let you know about this issue.
Best regards,
-- Kenji