On Wed, Nov 27, 2002 at 02:50:24AM +0100, Tomasz Wegrzanowski wrote:
How to integrate it with Wikipedia script ?
Wikipedia script when rendering should find all <math>.*</math> in markup, call this program (which is very fast if images are already rendered) and get info provided by it to render a page. I'm not even sure what should that program return.
An easier to implement way is this: have a special page where you can type in the TeX; when you hit "submit", it gets rendered, and saved as the png file of a name you have specified. It would look like, and be analogous to the image upload page. Then you could use the image directly in your page, and any other page that is needed, and it would save re-parsing and re-generating the image everytime someone views the page.
Jonathan