Hello colleague, on one of these rainy sunday afternoons i sat there and thought: Hey, this can't be that complicated...
Math type setting (still) seems to be some black art and an awful of heuristics are put into code and only there. So there is no material in algorithmic form available that could be re-implemented somewhere. I mean, even TeX itself is available only a literate programming. So options i considered: * wait until it's integrated in Pango (you will wait a long time) * try to integrate a latex/pdflatex run to produce dvi or pdf and use that. And find a dvi or pdf to cairo renderer. * run mathjax.js via a java script engine to svg and use Rsvg or similat to render on cairo. * rewrite mathjax.js in julia (might have licensing issues).