Test of ASCIIMathML

H. Hoegl, 2018-03-26

The ASCIIMath homepage is here: https://asciimath.org. The code is at github: https://github.com/asciimath/asciimathml.git. I used version Version 2.2 Mar 3, 2014.

Documentation: http://affor.es/plataforma/main/inc/lib/javascript/asciimath/asciimath.html

class center

$$ x^2 + y^2 = z^2 $$

Hier ist ein langer Satz. Dann kommt eine Formel: $$ d/dxf(x)=lim_(h->0)(f(x+h)-f(x))/h $$ Danach geht der Satz wieder weiter und weiter und weiter.

$$ frac{P}{K} $$

$$frac{P^2}{K^2} $$

$$(a,b]={x in ℝ∣a<x≤ b}$$

$$sum_(i=1)^n i^3=((n(n+1))/2)^2$$

I added the following lines to the Configuration class in wikiconfig.py:

html_head='''
<script type="text/javascript" src="/hhwiki/moin_static199/ASCIIMathML.js"></script>
'''

This corresponds to the file on server elk:

~/data/moin/pythonenv/lib/python2.7/site-packages/MoinMoin/web/static/htdocs/ASCIIMathML.js

The only line I have changed in ASCIIMathML.js was:

var AMdelimiter1 = ...