Tomasz Wegrzanowski wrote:
I want to add support for TeX mode to Wikipedia script.
I wrote a program which takes TeX code on stdin, validates and standarizes it (so that "x+y" and "x + y" don't have to be generated twice), and even has some extensions ("%" -> "%"), checks if given image already exists, and if i doesn't, passes it to latex, dvips and convert to get nice antialiased png file.
How to integrate it with Wikipedia script ?
See http://meta.wikipedia.org/wiki/Math_Markup for previous discussion on this -- the general idea last time this came up was for markup like:
[[math:someTexcode]]
the PNG would be cached until the Tex markup is changed
I'm also thinking that some similar solution should be added for chemical reactions.
yay! :-)