# DokuWiki

It's better when it's simple

plugin:mimetex

# mimetex Plugin

Compatible with DokuWiki

• 2020-07-29 "Hogfather" unknown
• 2018-04-22 "Greebo" yes
• 2017-02-19 "Frusterick Manners" unknown
• 2016-06-26 "Elenor Of Tsort" unknown

parses LaTex blocks

Last updated on
2018-09-17
Provides
Syntax
Repository
Source

Similar to format, jsmath, latex, math, math2, mathpublish

Tagged with formula, latex, math, mimetex

## Description

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.

## Installation

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

### 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

## Examples/Usage/Syntax

Before starting you needed:

1. learn about basic semantic of LaTeX
2. 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: