In order to make and install mathtex.cgi, latex and dvipng are prerequisite. You need to install latex first and divpng will come along with it.
You can follow the instruction
Following will show how I have done with it for example.
# wget http://www.forkosh.com/mathtex.zip # mkdir mathtex # cd mathtex # unzip ../mathtex.zip # cc mathtex.c –DLATEX=\\"$(which latex)\\" \\ –DDVIPNG=\\"$(which dvipng)\\" –o mathtex.cgi # cp mathtex.cgi /public_html/xxx.../cgi-bin/
For test of mathtex.cgi, in your web browser, you can do it by
www.example.com/cgi-bin/mathtex.cgi?x^2+y^2
It will give you the gif image showing equation by latex syntax.
Hello, Nice to meet you, I want to know that can you introduce a good & FREE host that provides the facilities to install mathtex on itself?
Thanks in advance
Hi, Vahid,
Thank you for interesting of this plug-in. Unfortunately, I don’t know which provider provides free hosting for the mathtex. I am using other vendor requiring a payment per yearly basis.
If you want, you can refer to http://blog.breadncup.com/yw-latex-wp-plugin/ to get free mathtex.cgi provider.
Thanks,
– Bread
Try Google Chart API 🙂
E.g.:http://chart.apis.google.com/chart?cht=tx&chl=x%20=%20%5Cfrac%7B-b%20%5Cpm%20%5Csqrt%20%7Bb%5E2-4ac%7D%7D%7B2a%7D
Cool. Thank you for sharing the API. Thanks!
I really thank you, for your rapid & complete reply.
No problem.
Hello, I have a question, how much web space is enough to install LaTeX and dvipng in order torun mathtex on my server?
Hi Vahid,
The tarball size: less than 2.0 MB
Uncompressed codes: less than 10.0 MB
Installing: Around 2.0 GB
Hope above information would help.
Thanks,
– Bread
Your help is highly appreciated. Which server do you use, is it cost effective?
I have been using hostmonster for four years, and I am satisfied so far. If you do googling, you may find low priced and high quality service provider as well. Good luck.
– Bread
Really thanks. Nice meeting you.
No problem. Nice talking to you.