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/
"Y" == Yigal Asnis <yigalasnis@yahoo.com> writes:
YA> Hi, I'm building web site for interactive solving school math YA> problems using GiNaC and cgicc. YA> My question is how to output GiNaC's expressions into web-page in YA> form of formatted formulae (image file) rather than one-row YA> string. Hi, GiNaC can output formulae as LaTeX strings as well (see tutorial). Then you can convert it to graphics for Web pages by tools like http://www.fourmilab.ch/webtools/textogif/textogif.html or produce HTML code representing those LaTeX string using something like HeVeA or TtH. http://hevea.inria.fr/index.html http://hutchinson.belmont.ma.us/tth/ Best wishes, Vladimir -- Vladimir V. Kisil email: kisilv@maths.leeds.ac.uk -- www: http://maths.leeds.ac.uk/~kisilv/
* Vladimir Kisil <kisilv@maths.leeds.ac.uk> [Aug 05. 2007 15:21]:
[...]
or produce HTML code representing those LaTeX string using something like HeVeA or TtH.
http://hevea.inria.fr/index.html http://hutchinson.belmont.ma.us/tth/
Note TtH is broken because it uses constructs as <font face="symbol">Ö</font> which tend to produce garbage on every O/S with the possible exception of a certain Redmond one.
[...]
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.
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/
participants (4)
-
Joerg Arndt
-
Jorge Antonio Garcia-Gallardo
-
Vladimir Kisil
-
Yigal Asnis