I don't do math documents myself at the moment, but I imagine many
people would find this quite useful. If you provide a python module
that converts latex math markup into MathML, I can wrap it up into a
markdown extension, to save you the trouble of dealing with the
interface. (BTW, I am introducing some small changes to the extension
interface in the next version to allow markdown.py to load extension
modules rather than the other way around.)
On 7/27/06, Magnus Lie Hetland <ma...@he...> wrote:
> Hi!
>
> In my (now dormant, and possibly moribund ;) project Atox [1], I had
> plans to add a filter using Tralics [2], effectively allowing an
> arbitrary mix of plain-text markup, XML and TeX/LaTeX. After some
> reflection, I've found that this (although doable) is probably
> overkill...
>
> Now, in Markdown, I still have support for plain-text markup and XML
> (that is, XHTML), and I don't really need the full TeX handling of
> Tralics -- but it would be nice to have support for basic math.
>
> So, I was thinking, perhaps a simple post- (or pre-?) processor
> extension, using dollar signs as inline tags (as in TeX) to mark
> math, and then either ship things out to a true TeX (as in the
> Wikimedia solution), to Tralics, or simply implement a basic LaTeX-to-
> MathML-translator.
>
> I've been thinking about re-implementing the iTeX processor [3], for
> example, which isn't very complicated, but which covers quite a bit
> of math. (One could simply use MathML directly in Markdown, of
> course, but it would be quite a bit more verbose...) There are other
> solutions as well, of course [E.g., 4]. For rendering, there are even
> solutions for browsers that don't support MathML (although that
> doesn't have much to do with Markdown, I guess). [5]
>
> [1] http://atox.sf.net
> [2] http://www-sop.inria.fr/miaou/tralics
> [3] http://pear.math.pitt.edu/mathzilla/itex2mml.html
> [4] http://www1.chapman.edu/~jipsen/mathml/asciimath.html
> [5] http://www.math.union.edu/~dpvc/jsMath
>
> --
> Magnus Lie Hetland
> http://hetland.org
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Python-markdown-discuss mailing list
> Pyt...@li...
> https://lists.sourceforge.net/lists/listinfo/python-markdown-discuss
>
--
http://www.freewisdom.org/
|