**Learn about DokuWiki**

**Advanced Use**

**Corporate Use**

**Our Community**

Follow us on Facebook, Twitter and other social networks.

**Learn about DokuWiki**

**Advanced Use**

**Corporate Use**

**Our Community**

Follow us on Facebook, Twitter and other social networks.

plugin: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.`

Search and install the plugin using the Extension Manager. 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**

This plugin requires no additional components **on Windows** installations.

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:

- learn about basic semantic of LaTeX
- install this plugin

<latex> \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\; </latex>

which generates into next images:

plugin/mimetex.txt · Last modified: 2020-05-14 18:22 by atiq4pk

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International