DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:mathtran

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Both sides next revision
plugin:mathtran [2009-10-02 21:52]
82.225.73.212 created
plugin:mathtran [2018-06-04 23:32] (current)
Klap-in [Download and Installation]
Line 1: Line 1:
-====== mathtran plugin ======+====== mathtran Plugin ======
  
 ---- plugin ---- ---- plugin ----
-description: Display math formulae using MathTran Tex engine+description: Display math expressions as images using MathTran Tex engine
 author     : Olivier Delrieu author     : Olivier Delrieu
 email      : olivier@delrieu.org email      : olivier@delrieu.org
 type       : Syntax type       : Syntax
-lastupdate : 2009-10-02+lastupdate : 2010-03-10
 compatible :  compatible : 
 depends    :  depends    : 
 conflicts  conflicts 
 similar    :  similar    : 
-tags       : +tags       : math, formulae, tex 
 + 
 +downloadurl: http://www.delrieu.org/dokuwiki-plugin/mathtran.zip 
 +bugtracker :  
 +sourcerepo :  
 +donationurl:  
 + 
 +screenshot_img
 ---- ----
  
 ===== What is it? ===== ===== What is it? =====
  
-This very simple plug-in makes a connection to the [[http://www.mathtran.org/wiki/index.php/Main_Page|MathTran web service]], which provides translation of TeX encoded mathematics to bitmap images.+This very simple plug-in makes a connection to the [[http://www.mathtran.org/wiki/index.php/Main_Page|MathTran web service]] (no longer available), which provides translation of TeX encoded mathematics to bitmap images.
  
-MathTran provides top-of-the-art looking math formulae.+MathTran provides very good looking math formulae.
  
 ===== Download and Installation ===== ===== Download and Installation =====
  
-Download and install the plugin using the [[plugin:plugin|Plugin Manager]] using the following URL. Refer to [[:Plugins]] on how to install plugins manually. +Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
- +
-http://www.delrieu.org/dokuwiki-plugin/mathtran.zip+
  
 ===== Syntax ===== ===== Syntax =====
  
-<code><tex>my-math-formulae</tex></code>+  <tex>my-math-formulae</tex>
  
 Math syntax see: Math syntax see:
-   http://refcards.com/docs/silvermanj/tex/tex-refcard-letter.pdf + 
-   http://en.wikipedia.org/wiki/Math_markup+  {{https://trello-attachments.s3.amazonaws.com/5af4815352fa15728c62aaae/5b0eccc7af9c436a810c3456/777c21fdc0c202cbb645fb9cc4e95dfb/tex-refcard-letter.pdf|tex-refcard-letter.pdf}} 
 +  [[wp>List_of_mathematical_symbols|List of mathematical symbols]]
  
 ===== Example ===== ===== Example =====
  
-<code><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></code>+<code> 
 +<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> 
 +</code>
  
 gives: gives:
Line 44: Line 52:
 ===== What is the catch? ===== ===== What is the catch? =====
  
-Images are re-built each time the page is accessed. This is no big deal since the MathTran webservice is quite responsive. +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.1254513153.txt.gz · Last modified: 2009-10-02 21:52 by 82.225.73.212