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

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:mathtran [2010-02-10 17:20] 117.34.146.226plugin:mathtran [2023-12-16 20:20] (current) Aleksandr
Line 1: Line 1:
-====== mathtran plugin ======+====== mathtran Plugin ======
  
 ---- plugin ---- ---- plugin ----
Line 6: Line 6:
 email      : olivier@delrieu.org email      : olivier@delrieu.org
 type       : Syntax type       : Syntax
-lastupdate : 2009-10-02+lastupdate : 2010-03-10
 compatible :  compatible : 
 depends    :  depends    : 
Line 12: Line 12:
 similar    :  similar    : 
 tags       : math, formulae, tex 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 very good looking math formulae. MathTran provides very good looking math formulae.
Line 22: Line 29:
 ===== 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.com/1/cards/5b0eccc7af9c436a810c3456/attachments/5b0eccdf1c1f4971fceffecb/download/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:
  
-{{http://www.delrieu.org/dokuwiki-plugin/mathtran.png}}+{{http://www.delrieu.org/dokuwiki-plugin/mathtran.png?recache}}
  
 ===== 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 web service 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 ===== ===== 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">. 
  
 +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.1265818855.txt.gz · Last modified: 2010-02-10 17:20 by 117.34.146.226

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki