[Moin-user] MathJax problem

Reimar Bauer rb.proj at gmail.com
Thu Jun 7 05:10:42 EDT 2012


Am 07.06.2012 06:47, schrieb Blair Hall:
> 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
> 
> 

Hi

Try

{{{#!html

formular

}}}

Reimar

> 
> *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://msl.irl.cri.nz/>http://rf.irl.cri.nz
> <http://rf.irl.cri.nz/>http://www.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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/moin-user






More information about the Moin-user mailing list