TW5 Math

431 views
Skip to first unread message

kafran

unread,
Aug 31, 2013, 3:46:08 AM8/31/13
to tiddl...@googlegroups.com
Someone found a way to display math equations with TWFive?

PMario

unread,
Aug 31, 2013, 5:19:42 AM8/31/13
to tiddl...@googlegroups.com
On Saturday, August 31, 2013 9:46:08 AM UTC+2, kafran wrote:
Someone found a way to display math equations with TWFive?

there has been some info about mathjax at the last tiddlywiki hangout
http://www.youtube.com/watch?v=o70TtNIe-L4&feature=player_detailpage#t=5144

-m

Jeremy Ruston

unread,
Aug 31, 2013, 5:30:52 AM8/31/13
to TiddlyWiki
The plan is to add maths support to TW5 in two ways:

* The ability to intermix MathML tags within wikitext; this ought to work now, but I'm trying to track down some bugs. I'll add an example when I've fixed it.
* The ability to use LaTeX to generate maths notation

I had been hoping to use MathJax to achieve the second goal, but have found that it's architecture is too intimately tied to the browser for TW5 purposes, where we need to be able to do the maths generation on the server too. So, I'd be interested in any modern JS maths libraries that work under node and in the browser.

Best wishes

Jeremy






--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.



--
Jeremy Ruston
mailto:jeremy...@gmail.com

Peter Krautzberger

unread,
Sep 1, 2013, 2:12:35 PM9/1/13
to tiddl...@googlegroups.com, jeremy...@gmail.com
Hi,

Peter from the MathJax team here.
 
We've been thinking about isolating MathJax's SVG generation to run in javascript runners but it's not high on our to-do list right now -- you'll have to give up a bit of functionality (line breaking being the most obvious ones) but it's not too hard in general. We've seen headless browser solutions (Phantom.js, htmlunit) being used in production environments so that might be a good stop-gap measure.

Let us know on if we can help with any general questions.
Peter.

Jeremy Ruston

unread,
Sep 1, 2013, 5:25:09 PM9/1/13
to Peter Krautzberger, TiddlyWiki
Hi Peter
 
Peter from the MathJax team here.

Welcome, and thank you for taking the trouble to drop by. MathJax has been deservedly popular with TiddlyWiki users, and it would be great to get it working with TW5.

We've been thinking about isolating MathJax's SVG generation to run in javascript runners but it's not high on our to-do list right now -- you'll have to give up a bit of functionality (line breaking being the most obvious ones) but it's not too hard in general.

That's good to know. We will probably go ahead and create a browser-only plugin for MathJax 2.2.
 
We've seen headless browser solutions (Phantom.js, htmlunit) being used in production environments so that might be a good stop-gap measure.

Yes, very useful as a stopgap measure.
 
Let us know on if we can help with any general questions.

Many thanks,

Jeremy.

Leo Razoumov

unread,
Sep 5, 2013, 10:12:34 AM9/5/13
to tiddl...@googlegroups.com
On Sun, Sep 1, 2013 at 5:25 PM, Jeremy Ruston <jeremy...@gmail.com> wrote:
>
>
> That's good to know. We will probably go ahead and create a browser-only
> plugin for MathJax 2.2.
>

Jeremy,
for the time being node can simply delegate the job of mathjax
processing to a browser. The plugin can still support both
browser-only and client-server modes but the actual MathJax work is
performed in browser. Is it the plan?

--Leo--

Peter Saunderson

unread,
Mar 14, 2014, 12:56:17 PM3/14/14
to tiddl...@googlegroups.com, jeremy...@gmail.com
Hi Jeremy,

You asked for JS maths libraries that work under node.. well I have been using AsciiMath - http://jostylr.com/twasciimathwiki.html and https://github.com/ForbesLindesay/ascii-math caught my eye - claims to be node.js version of http://www1.chapman.edu/~jipsen/mathml/asciimath.html.. not sure if it helps but might be worth a look.

Regards,

Peter Saunderson

Jeremy Ruston

unread,
Mar 15, 2014, 5:46:46 AM3/15/14
to Peter Saunderson, TiddlyWiki
Hi Peter
Great, thank you, I hadn't seen that, I'll investigate,

Many thanks

Jeremy

Reply all
Reply to author
Forward
0 new messages