I have MoinMoin setup to use MathJax to render mathematical equations.
I have noticed today that there are some problems, which I think are
related to MoinMoin but I don't understand how to fix them.
Here is an example from http://www.mathjax.org/demos/tex-samples/
The following text is in the HTML of the page above (second example)
and is rendered by an external server.
\[ \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n
a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right) \]
However, when I add the same text to a MoinMoin page and then render
it (eg preview of save), I see instead the following in the HTML source
\[ \left( \sum_{k=1}<sup>n a_k b_k \right)</sup>2 \leq \left(
\sum_{k=1}<sup>n a_k</sup>2 \right) \left( \sum_{k=1}<sup>n
b_k</sup>2 \right) \]
There are a number of <sup> tags that have been inserted. These tags
confuse the MathJax server, so it fails to render correctly.
MoinMoin also uses '^' as a super script formatter. So there is
something that I need to do to prevent MoinMoin from formatting these lines.
How can I fix this problem?
Thanks
Dr. Blair Hall
RF and Microwave Standards
------------------------------------------------------------------------------------------------------------------
Measurement Standards Laboratory of New Zealand
Industrial Research Limited
69 Gracefield Road, PO Box 31-310
Lower Hutt 5040, New Zealand
DDI: ++64 4 931 3198
FAX: ++64 4 931 3194
http://msl.irl.cri.nz
http://rf.irl.cri.nz
http://www.irl.cri.nz
------------------------------------------------------------------------------------------------------------------
This electronic transmission and any documents accompanying this
electronic transmission contain confidential information belonging to
the sender. This information may be legally privileged. The
information is intended only for the use of the individual or entity
named above. If you are not the intended recipient, you are hereby
notified that any disclosure, copying, distribution or the taking of
any action in reliance on or regarding the contents of this
electronically transmitted information is strictly prohibited.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user