It's better when it's simple

User Tools

Site Tools


mimetex Plugin

Compatible with DokuWiki

No compatibility info given!

plugin parses LaTex blocks

Last updated on

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Similar to format, jsmath, latex, math, math2

Tagged with formula, latex, math, mimetex


Plugin LaTeX for embedding science formulas into wiki markup very useful. But it has very complex installation process which associated with a number of difficulties. Therefore was developed new plugin mimeTeX. This plugin is based on the source code LaTeX (thanks to author :-)).

Main tasks which which were the design of this plug-in:

  • simplicity means simplicity of installation (I tried hard to install and configure the plugin LaTeX for WinXP, and it never worked correctly for Win7)
  • small size - the total size of additional attributes for LaTeX is just 165 Mb!

The opensource CGI module mimeTeX (having a small size and needing no additional distributives) has been selected as LaTeX parser. A few words from the mimeTeX designers:

MimeTeX, licensed under the gpl, lets you easily embed LaTeX math in your html pages. It parses a LaTeX math expression and immediately emits the corresponding gif image, rather than the usual TeX dvi. And mimeTeX is an entirely separate little program that doesn't use TeX or its fonts in any way. It's just one cgi that you put in your site's cgi-bin/ directory, with no other dependencies.


Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.

:!: The versions of this plugin which are older than the 01-05-2015 only work on Windows :!:

Windows: External Requirements

This plugin requires no additional components on Windows installations.

Linux: External Requirements

This plugin requires the mimetex command/software. For Linux it is not included in the plugins installation files and therefore need to be installed manually. This can be done by executing the following command:

 sudo apt-get install mimetex


Before starting you needed:

  1. learn about basic semantic of LaTeX
  2. install this plugin
    \frac{3}{4 \pi}   \sqrt{4 \cdot x^2   12}\\
    \lim_{n \to \infty}
    \sum_{k=1}^n \frac{1}{k^2} = \frac{\pi^2}{6}\\
    \it{f}(x) = \frac{1}{\sqrt{x} x^2}\\
    e^{i \pi} + 1 = 0\;

which generates into next images:


Change Log



Plugin manager can not download and install this plugin automatically

I'm using DokuWiki on a Stick that comes with plugin manager, acl and others useful packages. The download link doesn't work with plugin manager because github exports a .zip with no meaning for automated installation. So, as Plugin Installation Instructions said, you should download the zip with yours web browser, unzip the package (remember: extract here) and rename the created folder with “mimeTeX”. Then move the folder under %pathToYourDokuWikiStickInstallation%\DokuWikiStick\dokuwiki\lib\ . Enjoy.

Thanks for the package! I have just intalled it, so wait for feedbacks!

Doesn't work on DokuWiki on a Stick

it doesn't work, i don't know php programming but i know other languages, and maybe it doesn't work because i modified my windows (i see that code has $temp=c:/temp and after it call a changedir) and/or i run dokuWiki from a local drive. Anyway the comments within the code are really good. I'm waiting (with no hurry) for a fix / hint. (actually i use ASCIIMathML plugin but, as i said, i'm waiting for this)


I installed the plugin on a “Binky” installation without any problem the normal way, by entering the URL. In contrast to the latex plugin, where there was some issue probably related to missing pre-requisites, it worked out-of-the-box. For good measure, I also installed it on a “Ponder Stibbons” version of DopkuWikiStick, again with no problem. –Art Carlson, Max Planck Institute of Biochemistry


Trying now to update to Hrun. No matter how I update or install the plugin, the Extension Manager tells me there is a new version 2015-05-01 available. The files contain a mixture of dates, including 2011-02-01, 04/30/2015, and 07 May 2015, so I assume I have the latest version, but the dates are screwed up. I manually changed 2011-02-01 to 2015-05-01, once in and twice in syntax.php and the new version notice went away. –Art Carlson, Max Planck Institute of Biochemistry

Sorry, my fault. I did not change the dates with my last change. I added a pull-request to get this fixed. Thanks for the information and sorry for the inconvenience. –LarsDW223

The pull-request has been merged. By updating this page right now all dates should now be on 2015-05-07. –LarsDW223

plugin/mimetex.txt · Last modified: 2015-05-09 10:02 by LarsDW223