Warning
This repository is deprecated and no longer maintained. The upstream project by John Forkosh is available at http://www.forkosh.com/mimetex.html
A fork of mimetex by John Forkosh.
MimeTeX is a CGI program that parses a LaTeX math expression and immediately emits the corresponding GIF image. It does not require TeX or its fonts — it is a single standalone CGI binary with no external dependencies.
This fork is no longer maintained. For active alternatives consider:
- MathJax — JavaScript-based LaTeX rendering in the browser
- KaTeX — Fast client-side LaTeX rendering
- latex2svg — LaTeX to SVG conversion
# Compile with anti-aliased GIF output (recommended)
cc -DAA mimetex.c gifsave.c -lm -o mimetex.cgi
# Or without anti-aliasing
cc -DGIF mimetex.c gifsave.c -lm -o mimetex.cgi
# Or for MIME xbitmaps
cc -DXBITMAP mimetex.c -lm -o mimetex.cgiMove mimetex.cgi to your server's cgi-bin/ directory and mimetex.html to htdocs/.
See README for the full original documentation.
GPL v3 or later. See COPYING.