From: Mark Nodine <marknodine@au...>  20070131 02:05:11

Alan G Isaac wrote: > On Mon, 29 Jan 2007, Mark apparently wrote: > >>Another thing you might consider for math support is using >>ASCIIMathML; that's what I incorporated into prest, the >>Perl reST parser. >>See http://www1.chapman.edu/~jipsen/mathml/asciimath.html > > > See the thread > http://sourceforge.net/mailarchive/forum.php?thread_id=5990819&forum_id=11444 > and related threads. > > While I see no problem having a plugin that enables, say, > and ``acsiimathml`` role and directive, my opinion from > many discussions in the last two years is that most people > who want math support in reST want LaTeX support. > > Also, while ASCIIMathML is great, when last I used it, it > had many limitations. (Including no way to signal display math.) You can't signal display math from within it, but there is an attribute in the MathML "math" tag which says whether it should be display or not. I handled this by allowing the asciimathml directive to have an option flag to specify display mode. The asciimathml role is automatically inline; the asciimathml directive outside a substitution definition defaults to display and inside a substitution definition to inline. ASCIIMathML is mostly a superset of LaTeX math; the one major point of difference is in the handling of arrays. Mark 