DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:mathtran

mathtran plugin

Compatible with DokuWiki

No compatibility info given!

plugin 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 Installation

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

http://www.delrieu.org/dokuwiki-plugin/mathtran.zip

Syntax

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.

plugin/mathtran.txt · Last modified: 2014-02-07 09:19 by 78.8.8.126