DokuWiki

It's better when it's simple

Corporate Use

Our Community

plugin:mathtran

mathtran plugin

Compatible with DokuWiki

No compatibility info given!

Display math expressions as images using MathTran Tex engine

Last updated on
2010-03-10
Provides
Syntax

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

Tagged with formulae, math, tex

What is it?

This very simple plug-in makes a connection to the MathTran web service (no longer available), which provides translation of TeX encoded mathematics to bitmap images.

MathTran provides very good looking math formulae.

Download and install the plugin using the Plugin Manager using the following URL. Refer to Plugins on how to install plugins manually.

Syntax

<tex>my-math-formulae</tex>

Math syntax see:

Example

<tex>\displaystyle { BF_i = \prod_{j=1}^{N_{loci}}{ {\hat{\nu}_j^{S_{ij}} .  { (1-\hat{\nu}_j)^{(1-S_{ij}) }  } \over { {\hat{\theta}_j^{S_{ij}} .  { (1-\hat{\theta}_j)^{(1-S_{ij}) } } }    } </tex>

gives:

What is the catch?

Images are re-built each time the page is accessed. This is no big deal since the MathTran web service is quite responsive.

Suggestion

It will be better if we can use some parameters to control the alignment of the image. For example, <tex mediacenter>1+2</tex>, which generate code like this <a alt=“tex:1+2” class=“mediacenter”>.

And if the the image can be cached, the plugin can also be used in offline/personal wiki.