Hi all,

I've made a plugin for using LaTeX in TW5 based on the TeXZilla latex parser 
<https://github.com/fred-wang/TeXZilla> 
(https://github.com/fred-wang/TeXZilla). 
It's available here <https://github.com/joerenes/TW5-TeXZilla>
 (https://github.com/joerenes/TW5-TeXZilla). 

TeXZilla is fast, more like KaTeX than MathJax, but supports a wider set of 
LaTeX commands than KaTeX, though not as extensive as MathJax. (Having 
aligned equations with \begin{aligned} ... \end{aligned} was the ultimate 
reason for writing the plugin.) I also included the ability to define LaTeX 
macros and incorporated a block environment delimited by \[ ... \]. The 
plugin is based entirely on the existing KaTeX plugin, so I believe it 
integrates into TiddlyWiki better than just running MathJax on top. 

However, latex input is converted to mathml, so the plugin is only 
immediately useful in firefox and safari (and I'm not really sure about the 
latter). I believe one could run mathjax on top again, converting mathml 
into html+css, but I haven't tried it. 

Perhaps someone else will find it useful! I also ported the macro support 
back to the KaTeX plugin in my fork of TW5 on github in case anyone is 
interested. 

Best,

-joe


-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to