OK, I went with this (and Vladimir's) answer. I found mimetex.cgi (http://www.forkosh.com/mimetex.html) pretty simple in installation and using - it's cgi for creating images on-the-fly from latex. I defined this function for inline insertion of expression: void TexToImg(ex e) { cout << latex << "<img src=\"mimetex.cgi?\\Large"<<e<<"\" style=\"vertical-align:middle\" />"<<dflt<<endl; } --- Jorge Antonio Garcia-Gallardo <jgallard@hal.famaf.unc.edu.ar> wrote:
You can get a LaTeX formated output, simply by a line like:
cout << latex;
you can do anything from this Jorge.
Hi,
I'm building web site for interactive solving school math problems using GiNaC and cgicc.
My question is how to output GiNaC's expressions into web-page in form of formatted formulae (image file) rather than one-row string.
Thanks for your help in advance.
Yigal.
____________________________________________________________________________________
Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool. http://autos.yahoo.com/carfinder/ _______________________________________________ GiNaC-list mailing list GiNaC-list@ginac.de https://www.cebix.net/mailman/listinfo/ginac-list
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program. _______________________________________________ GiNaC-list mailing list GiNaC-list@ginac.de https://www.cebix.net/mailman/listinfo/ginac-list
____________________________________________________________________________________ Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. http://farechase.yahoo.com/