DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:jsmath

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:jsmath [2013-01-23 13:36] Klap-inplugin:jsmath [2018-05-20 18:20] (current) Aleksandr
Line 1: Line 1:
-====== jsmath plugin ======+====== jsmath Plugin ======
  
 ---- plugin ---- ---- plugin ----
Line 13: Line 13:
 tags       : !discontinued, math, latex, formula tags       : !discontinued, math, latex, formula
  
-downloadurl: http://plugins-for-dokuwiki.googlecode.com/files/plugin-jsmath.zip +downloadurl: https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/plugins-for-dokuwiki/plugin-jsmath.zip 
-bugtracker : http://code.google.com/p/plugins-for-dokuwiki/issues/list +bugtracker https://code.google.com/archive/p/plugins-for-dokuwiki/issues 
-sourcerepo http://code.google.com/p/plugins-for-dokuwiki/source/browse/#svn/trunk/jsmath+sourcerepo : 
 donationurl:  donationurl: 
 +
 +screenshot_img: 
 ---- ----
  
 ===== End-of-life ===== ===== End-of-life =====
-This plugin, even though it should still work, has been abandoned. + 
-It is recommended to use the excellent plugin **[[plugin:mathjax]]** instead.+> :!: This plugin, even though it should still work, has been abandoned. It is recommended to use the excellent plugin **[[plugin:MathJax]]** instead. 
 ===== Installation ===== ===== Installation =====
  
Line 27: Line 30:
  
 For your convenience, the plugin is available in two different archive formats. For your convenience, the plugin is available in two different archive formats.
-^  Download | [[http://plugins-for-dokuwiki.googlecode.com/files/plugin-jsmath.tar|plugin-jsmath.tar]] [[http://plugins-for-dokuwiki.googlecode.com/files/plugin-jsmath.zip|plugin-jsmath.zip]] |+  * [[https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/plugins-for-dokuwiki/plugin-jsmath.tar|plugin-jsmath.tar]] 
 +  * [[https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/plugins-for-dokuwiki/plugin-jsmath.zip|plugin-jsmath.zip]]
  
 ===== Features ===== ===== Features =====
Line 36: Line 40:
  
 ===== Usage ===== ===== Usage =====
 +
 Once this plugin is installed, you can embed LaTeX code into your wiki pages. Once this plugin is installed, you can embed LaTeX code into your wiki pages.
  
-=== Inline Math ===+==== Inline Math ===
 Each of the following will cause jsmath to display the formula inline: Each of the following will cause jsmath to display the formula inline:
 <code>$e^{i \pi} = -1$</code> <code>$e^{i \pi} = -1$</code>
Line 44: Line 50:
 <code><jsm>e^{i \pi} = -1</jsm></code> <code><jsm>e^{i \pi} = -1</jsm></code>
  
-=== Displayed Math ===+==== Displayed Math ===
 Each of the following will display an equation in block format, on its own line: Each of the following will display an equation in block format, on its own line:
 <code>\[e^{i \pi} = -1\]</code> <code>\[e^{i \pi} = -1\]</code>
Line 50: Line 57:
  
 ===== Configuration ===== ===== Configuration =====
 +
 On the DokuWiki Configuration Settings page (available in the admin menu) you can On the DokuWiki Configuration Settings page (available in the admin menu) you can
   - Choose to not use dollar symbols for displaying math.   - Choose to not use dollar symbols for displaying math.
Line 57: Line 65:
  
 The jsmath plugin for DokuWiki does not render the LaTeX-code itself. Instead it uses a JavaScript backend that renders the code in the client's browser. Two different JavaScript backends are currently supported: The jsmath plugin for DokuWiki does not render the LaTeX-code itself. Instead it uses a JavaScript backend that renders the code in the client's browser. Two different JavaScript backends are currently supported:
-  * [[http://www.math.union.edu/~dpvc/jsmath/ | jsMath]] is mature software and in recent versions quite fast. The drawback is that the client needs to manually install additional fonts for best quality. +  * [[http://www.math.union.edu/~dpvc/jsmath/| jsMath]] is mature software and in recent versions quite fast. The drawback is that the client needs to manually install additional fonts for best quality. 
-  * [[http://www.mathjax.org | MathJax]] is a modern replacement for jsMath. The high-quality fonts are automatically downloaded and used if the client uses a modern browser.+  * [[http://www.mathjax.org/| MathJax]] is a modern replacement for jsMath. The high-quality fonts are automatically downloaded and used if the client uses a modern browser.
  
 The default behaviour of the jsmath plugin is to use the MathJax CDN at [[http://cdn.mathjax.org/mathjax/latest]], but you can also download and use a local copy. The default behaviour of the jsmath plugin is to use the MathJax CDN at [[http://cdn.mathjax.org/mathjax/latest]], but you can also download and use a local copy.
 You only need to install one of those libraries. If unsure, choose MathJax. You only need to install one of those libraries. If unsure, choose MathJax.
  
-=== a) MathJax ===+==== a) MathJax ====
  
 To get the cutting edge version of MathJax, get the most recent version from the [[https://github.com/mathjax/MathJax | developer's page]]. In short: To get the cutting edge version of MathJax, get the most recent version from the [[https://github.com/mathjax/MathJax | developer's page]]. In short:
Line 70: Line 78:
 Now move the mathjax directory to your webspace. You can test your installation by going to URL/mathjax/test/ Now move the mathjax directory to your webspace. You can test your installation by going to URL/mathjax/test/
  
-=== b) jsMath ===+==== b) jsMath ====
  
 Follow the [[http://www.math.union.edu/~dpvc/jsMath/authors/installation.html | installation instructions]]. In short: Follow the [[http://www.math.union.edu/~dpvc/jsMath/authors/installation.html | installation instructions]]. In short:
Line 79: Line 87:
 ===== Development ===== ===== Development =====
  
-If you want to contribute to this plugin, go to the [[http://plugins-for-dokuwiki.googlecode.com/|project page]] of this plugin or contact [[yllohy@gmail.com|Holger]].+If you want to contribute to this plugin, go to the [[https://code.google.com/archive/p/plugins-for-dokuwiki/|project page]] of this plugin or contact [[yllohy@gmail.com|Holger]].
  
 ===== Discussion ===== ===== Discussion =====
  
-Please report your issues to the [[http://code.google.com/p/plugins-for-dokuwiki/issues/list|issue tracker]]. +Please report your issues to the [[https://code.google.com/archive/p/plugins-for-dokuwiki/issues|issue tracker]].
-==== Backend discussion ====+
  
 +==== Backend discussion ====
  
 I've just switched from jsplugin backend to MathJax one: it's **awesome** ! This plugin together MathJax makes publishing math in dokuwiki a real pleasure. And it is so easy to install both. Thank you very much ! Now that MathJax is in version 1.0.1 I think you should recommend it over jsmath now. I've just switched from jsplugin backend to MathJax one: it's **awesome** ! This plugin together MathJax makes publishing math in dokuwiki a real pleasure. And it is so easy to install both. Thank you very much ! Now that MathJax is in version 1.0.1 I think you should recommend it over jsmath now.
Line 147: Line 155:
 Some webspaces set an inode limit for the users (maximum number of files and folders) and, if you unzip the MathJax package directly on the server, it take about 36.000 inodes; this number is really high for a lot of free webspaces, then to resolve the issue you can use the cdn network kindly offered by MathJax, by putting the following url in the field "plugin»jsmath»backend_url": Some webspaces set an inode limit for the users (maximum number of files and folders) and, if you unzip the MathJax package directly on the server, it take about 36.000 inodes; this number is really high for a lot of free webspaces, then to resolve the issue you can use the cdn network kindly offered by MathJax, by putting the following url in the field "plugin»jsmath»backend_url":
 <code> http://cdn.mathjax.org/mathjax/latest/ </code> <code> http://cdn.mathjax.org/mathjax/latest/ </code>
- 
plugin/jsmath.1358944607.txt.gz · Last modified: 2013-01-23 13:36 by Klap-in

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