I recently needed to do mathematical equations in my TiddlyWiki. The "MathJax" tiddler on the TiddlyWiki main site took me to http://mathjax-tw5.kantorsite.net/ where I found a plugin, but it did not work. It's easy to fix, and I thought I'd write up what I did in case it helps anyone else. I've already passed on these comments to the author (Martin).
The most important fix is to correct the class name the plugin searches for. Edit the plugin and change "story-river" to "tc-story-river". The second fix is to change the CDN URL from the deprecated http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML to the preferred https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/latest.js?config=TeX-AMS-MML_HTMLorMML. The final fix is to change the config from "TeX-AMS-MML_HTMLorMML" to " TeX-MML-AM_HTMLorMML". That enables the use of AsciiMath, which I feel is a much better fit for a wiki environment than either MathML or TeX (both of which can still be used). That also required editing the Config structure: Delete “['$','$'],” from the tex2jax delimiters, then add “{asciimath2jax:{delimiters:[['$','$']]}},”. The relevant portion of my plugin now looks like: " MathJax.Hub.Config({asciimath2jax:{delimiters:[['$','$']]}},{tex2jax:{inlineMath:[['\\\\(','\\\\)']]}})} ". I hope this help anyone else trying to get MathML or AsciiMath working in their TiddlyWiki. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/fa89ac70-1079-467c-84b3-f23f7a534f00%40googlegroups.com.

