*TW5-TeXZilla plugin* TiddlyWiki5 plugin for parsing LaTeX into MathML, using the TeXZilla javascript parser.
Based on the official KaTeX plugin. In contrast to KaTeX, TeXZilla supports a larger set of LaTeX commands. GitHub: https://github.com/joerenes/TW5-TeXZilla Demo: http://tw5-texzilla.tiddlyspot.com/ Released: 2015 Discussion: TW5-TeXZilla plugin: latex to mathml via TeXZilla <https://groups.google.com/d/msg/tiddlywiki/eHOYitsOBoc/KVqXLOTTIFwJ> Note: *??Chromium browsers don't yet fully support MathML??* Does this help? TT On Friday, 27 December 2019 14:11:15 UTC+1, andrewg_oz wrote: > > 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/6b79cb00-b5b1-4efd-a851-a6f036abb289%40googlegroups.com.

