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

  1. http://www.forkosh.dreamhost.com/source_mathtex.html#install

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.

  12 Responses to “Installing mathtex.cgi”

  1. 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

  2. I really thank you, for your rapid & complete reply.

  3. Hello, I have a question, how much web space is enough to install LaTeX and dvipng in order torun mathtex on my server?

  4. 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

  5. Really thanks. Nice meeting you.

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

   

 

November 2009
S M T W T F S
« Jan   Dec »
1234567
891011121314
15161718192021
22232425262728
2930  

Follow Me

© 2011 Bread & Cup Suffusion theme by Sayontan Sinha