[dokuwiki] Re: simplest possible way to display math equations

  • From: kamaraju kusumanchi <raju.mailinglists@xxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sun, 11 Oct 2020 13:06:56 -0400

On Sun, Oct 4, 2020 at 3:46 AM Fourhundred Thecat <400thecat@xxxxxx> wrote:


Hello,

what is the simplest possible way to display math equations on my dokuwiki?

I have tried the MathJax plugin, but the problem is, MathJax is huge

1) it requires lots of packages as dependencies
2) it is included in every page (even when page does not use MathJax
3) and therefore pages load slower
4) $ on other pages is interpreted as math

For what it is worth, I tried the MathJax plugin recently and am
pretty happy with it. Some of its advantages are

* backup friendly
  * pages with math formulas can be backed up as normal pages
* formulas are not converted to images
  * so parts of the formula can be highlighted with a mouse!
* uses CDNJS

The fact that it requires a lot of dependencies was irrelevant as I
installed it using the "Extension Manager". The whole process took
just a couple of clicks.

4) $ on other pages is interpreted as math

This is not an issue either. You can escape the dollar symbols. See for example
http://www.kamaraju.xyz/dk/playground/dollar_symbol

Here is a page with math equations in my wiki
http://www.kamaraju.xyz/dk/math . It may not be as fast as pages with
no math formulas but it is not terribly slow either.

Hope that helps
raju
-- 
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog
-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: