Jump to content

Recommended Posts

Posted

I get an error when trying to access the script (http://maths.heliohost.org/cgi-bin/mimetex.cgi).

 

What it does is basically transforms LaTeX input into images without the requirement of LaTeX binaries to be present on the server. This is a pre-compiled i386 Linux version which I downloaded from their site (http://www.forkosh.com/mimetex.html).

 

For those who don't know what LaTeX is:

LaTeX is a document markup language and document preparation system for the TeX typesetting program. It is very handy for displaying scientifical formulae and data.

 

I wondered if there is any way to fix this or even better - if you have real LaTeX installed on the server.

 

Thank you in advance.

Posted

You need the source code?

 

It consists of several files written in C (http://www.forkosh.com/mimetex.zip - source code)

 

Compilation command: cc -DAA mimetex.c gifsave.c -lm -o mimetex.cgi

 

Example input: ht_p://domain.com/cgi-bin/mimetex.cgi?

x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}

 

The output should be an image containing the proper mathematical display of the formula: http://www.forkosh.dreamhost.com/cgi-bin/m...t{b^2-4ac}}{2a}

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...