[tw] Re: [TW5] TW5-TeXZilla plugin: latex to mathml via TeXZilla

2015-02-04 Thread Tobias Beer
Hi Joe,

Nice stuff. If it's not too much trouble it would be great to see some demo 
/ example wiki.
Some say one can even use GitHub pages for that... although I haven't tried 
yet myself.

Best wishes, Tobias.

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


[tw] Re: [TW5] TW5-TeXZilla plugin: latex to mathml via TeXZilla

2015-02-04 Thread Joe Renes
Hi Tobias,

thanks for your interest. I attempted to make a demo site at tiddlyspot: 
tw5-texzilla.tiddlyspot.com. 

But I haven't done it quite right, since my attempts to import the plugin 
to an empty tiddlywiki have been less than successful...
I'm running TW5 via node, so my experience with importing plugins is mainly 
copying files and updating tiddlywiki.info.

Best,

-joe

On Wednesday, February 4, 2015 at 11:58:31 AM UTC+1, Tobias Beer wrote:
>
> Hi Joe,
>
> Nice stuff. If it's not too much trouble it would be great to see some 
> demo / example wiki.
> Some say one can even use GitHub pages for that... although I haven't 
> tried yet myself.
>
> Best wishes, Tobias.
>

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


[tw] Re: [TW5] TW5-TeXZilla plugin: latex to mathml via TeXZilla

2015-02-04 Thread Joe Renes
hmm, now the importing works. I think I didn't save/refresh when I tried it 
before...

-joe

On Wednesday, February 4, 2015 at 9:40:58 PM UTC+1, Joe Renes wrote:
>
> Hi Tobias,
>
> thanks for your interest. I attempted to make a demo site at tiddlyspot: 
> tw5-texzilla.tiddlyspot.com. 
>
> But I haven't done it quite right, since my attempts to import the plugin 
> to an empty tiddlywiki have been less than successful...
> I'm running TW5 via node, so my experience with importing plugins is 
> mainly copying files and updating tiddlywiki.info.
>
> Best,
>
> -joe
>
> On Wednesday, February 4, 2015 at 11:58:31 AM UTC+1, Tobias Beer wrote:
>>
>> Hi Joe,
>>
>> Nice stuff. If it's not too much trouble it would be great to see some 
>> demo / example wiki.
>> Some say one can even use GitHub pages for that... although I haven't 
>> tried yet myself.
>>
>> Best wishes, Tobias.
>>
>

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


[tw] Re: [TW5] TW5-TeXZilla plugin: latex to mathml via TeXZilla

2015-02-04 Thread Jed Carty
This looks awesome!

I will certainly find it useful, both for my own notes and for helping to 
make math textbooks.

One of the most annoying parts of using TiddlyWiki for my thesis reference 
is that I had to use SVG images for multi-line equations.

Does it require an internet connection? I am hoping that since it is based 
on KaTeX it doesn't, but I am not in a position to test that at the moment.

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


[tw] Re: [TW5] TW5-TeXZilla plugin: latex to mathml via TeXZilla

2015-02-04 Thread Tobias Beer
Hi Joe,

Thanks for taking the time...
 

> But I haven't done it quite right, since my attempts to import the plugin 
> to an empty tiddlywiki have been less than successful...
> I'm running TW5 via node, so my experience with importing plugins is 
> mainly copying files and updating tiddlywiki.info.
>

I can see it working in Firefox but in Chrome it looks like this...



Best wishes, Tobias.
 

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


[tw] Re: [TW5] TW5-TeXZilla plugin: latex to mathml via TeXZilla

2015-02-05 Thread Joe Renes
right, I get the same thing --- chrome doesn't support much of mathml at 
the moment.  According to the their development team, support won't be 
happening anytime soon... 
(see https://code.google.com/p/chromium/issues/detail?id=152430#c43)

-joe

On Thursday, February 5, 2015 at 12:20:01 AM UTC+1, Tobias Beer wrote:
>
> Hi Joe,
>
> Thanks for taking the time...
>  
>
>> But I haven't done it quite right, since my attempts to import the plugin 
>> to an empty tiddlywiki have been less than successful...
>> I'm running TW5 via node, so my experience with importing plugins is 
>> mainly copying files and updating tiddlywiki.info.
>>
>
> I can see it working in Firefox but in Chrome it looks like this...
>
>
> 
>
> Best wishes, Tobias.
>  
>

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


[tw] Re: [TW5] TW5-TeXZilla plugin: latex to mathml via TeXZilla

2015-02-05 Thread Joe Renes
Thanks! 

The plugin shouldn't require an internet connection. The TeXZilla code is 
in the file TeXZilla-min.js, which is part of the plugin itself. (This file 
could probably be made smaller if that matters, since the TeXZilla code 
includes all sorts of stream processing functions that the plugin doesn't 
use.) Another goal in writing the plugin was to be able to ditch my local 
copy of mathjax, which is gigantic collection of font files that are not 
fun to backup. 

Regarding multi-line equations, note that instiki has support for numbering 
and referencing equations. I haven't had a big need for this yet, but I'd 
imagine their methods can be implemented in tiddlywiki. 

Best,

-joe

On Wednesday, February 4, 2015 at 11:25:01 PM UTC+1, Jed Carty wrote:
>
> This looks awesome!
>
> I will certainly find it useful, both for my own notes and for helping to 
> make math textbooks.
>
> One of the most annoying parts of using TiddlyWiki for my thesis reference 
> is that I had to use SVG images for multi-line equations.
>
> Does it require an internet connection? I am hoping that since it is based 
> on KaTeX it doesn't, but I am not in a position to test that at the moment.
>

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


Re: [tw] Re: [TW5] TW5-TeXZilla plugin: latex to mathml via TeXZilla

2015-02-05 Thread Jeremy Ruston
Hi Joe

Great stuff, it looks like a solid piece of work. I hadn't come across
TeXZilla but it looks a good choice for TW5. In terms of the poor browser
support for MathML, I wonder if it could somehow include a warning for
browsers that can't display MathML? I guess better yet is to include a
smaller polyfill than MathJax?

Can you put up a demo wiki that I can link to from tiddlywiki.com?

Looking at the contribution of KaTeX, it looks like the initial enthusiasm
has worn off a little

https://github.com/Khan/KaTeX/graphs/contributors

If KaTeX's limitations are not going to be addressed soon I'd very much
like to find a more comprehensive maths renderer.

Best wishes

Jeremy.


On Thu, Feb 5, 2015 at 9:12 AM, Joe Renes  wrote:

> right, I get the same thing --- chrome doesn't support much of mathml at
> the moment.  According to the their development team, support won't be
> happening anytime soon... (see
> https://code.google.com/p/chromium/issues/detail?id=152430#c43)
>
> -joe
>
>
> On Thursday, February 5, 2015 at 12:20:01 AM UTC+1, Tobias Beer wrote:
>>
>> Hi Joe,
>>
>> Thanks for taking the time...
>>
>>
>>> But I haven't done it quite right, since my attempts to import the
>>> plugin to an empty tiddlywiki have been less than successful...
>>> I'm running TW5 via node, so my experience with importing plugins is
>>> mainly copying files and updating tiddlywiki.info.
>>>
>>
>> I can see it working in Firefox but in Chrome it looks like this...
>>
>>
>> 
>>
>> Best wishes, Tobias.
>>
>>
>  --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/d/optout.
>



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

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


Re: [tw] Re: [TW5] TW5-TeXZilla plugin: latex to mathml via TeXZilla

2015-02-05 Thread Joe Renes
Hi Jeremy,

thanks for your interest! 

A warning for no mathml support sounds like a good idea. Perhaps something 
like the message that shows up when saving the wiki? I'll have to look at 
how that works.

I'm not sure there is a smaller (good) polyfill than MathJax. I looked 
around a bit, but didn't find much. A good source of info on this stuff 
seems to be the author of TeXZilla, Frederic Wang. His blog 
is http://www.maths-informatique-jeux.com/blog/frederic/? The following 
post is a bit dated, but discusses the roadmap for efforts in 
webkit: 
http://www.maths-informatique-jeux.com/blog/frederic/?post/2013/10/12/Funding-MathML-Developments-in-Gecko-and-WebKit.
 

I should also add that I came across TeXZilla from padawanphysicist's 
github page, https://github.com/padawanphysicist. He had a plugin for 
markdown + latex in TW5, but now I don't see it anymore. Parts of the macro 
parsing came from there. 

I created a demo at http://tw5-texzilla.tiddlyspot.com, and also linked 
this from the plugin's github readme. 

Finally, I was always impressed with the latex support in instiki, which is 
used for serious math(s). See,  for instance, 
 http://ncatlab.org/johnbaez/show/Circuit+theory+I . So the fact that 
TeXZilla closely follows itex2mml (the parser for instiki) seemed like a 
good sign to me. As I mentioned in my message to Jed Carty, it would be 
interesting to look at implementing numbered equations with referencing. 
Another nice feature of instiki is latex export, which takes the page and 
outputs a tex file that one can use to generate pdfs in the usual manner. 
I'm looking forward to learning more about how TW5 works by trying to 
implement some of these features!

Best,

-joe



On Thursday, February 5, 2015 at 10:22:35 AM UTC+1, Jeremy Ruston wrote:
>
> Hi Joe
>
> Great stuff, it looks like a solid piece of work. I hadn't come across 
> TeXZilla but it looks a good choice for TW5. In terms of the poor browser 
> support for MathML, I wonder if it could somehow include a warning for 
> browsers that can't display MathML? I guess better yet is to include a 
> smaller polyfill than MathJax?
>
> Can you put up a demo wiki that I can link to from tiddlywiki.com?
>
> Looking at the contribution of KaTeX, it looks like the initial enthusiasm 
> has worn off a little
>
> https://github.com/Khan/KaTeX/graphs/contributors
>
> If KaTeX's limitations are not going to be addressed soon I'd very much 
> like to find a more comprehensive maths renderer.
>
> Best wishes
>
> Jeremy.
>
>
> On Thu, Feb 5, 2015 at 9:12 AM, Joe Renes 
> > wrote:
>
>> right, I get the same thing --- chrome doesn't support much of mathml at 
>> the moment.  According to the their development team, support won't be 
>> happening anytime soon... (see 
>> https://code.google.com/p/chromium/issues/detail?id=152430#c43)
>>
>> -joe
>>
>>
>> On Thursday, February 5, 2015 at 12:20:01 AM UTC+1, Tobias Beer wrote:
>>>
>>> Hi Joe,
>>>
>>> Thanks for taking the time...
>>>  
>>>
 But I haven't done it quite right, since my attempts to import the 
 plugin to an empty tiddlywiki have been less than successful...
 I'm running TW5 via node, so my experience with importing plugins is 
 mainly copying files and updating tiddlywiki.info.

>>>
>>> I can see it working in Firefox but in Chrome it looks like this...
>>>
>>>
>>> 
>>>
>>> Best wishes, Tobias.
>>>  
>>>
>>  -- 
>> 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/d/optout.
>>
>
>
>
> -- 
> Jeremy Ruston
> mailto:jeremy...@gmail.com 
>  

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


Re: [tw] Re: [TW5] TW5-TeXZilla plugin: latex to mathml via TeXZilla

2015-02-06 Thread Jeremy Ruston
Hi Joe

That's great, thanks. I've added a tiddler here:

https://github.com/Jermolene/TiddlyWiki5/commit/f2cd743c17282bc96f8f64602da1c6e0a24943ba

Feel free to send pull requests with any subsequent updates.

Best wishes

Jeremy.


On Thu, Feb 5, 2015 at 4:54 PM, Joe Renes  wrote:

> Hi Jeremy,
>
> thanks for your interest!
>
> A warning for no mathml support sounds like a good idea. Perhaps something
> like the message that shows up when saving the wiki? I'll have to look at
> how that works.
>
> I'm not sure there is a smaller (good) polyfill than MathJax. I looked
> around a bit, but didn't find much. A good source of info on this stuff
> seems to be the author of TeXZilla, Frederic Wang. His blog is
> http://www.maths-informatique-jeux.com/blog/frederic/? The following post
> is a bit dated, but discusses the roadmap for efforts in webkit:
> http://www.maths-informatique-jeux.com/blog/frederic/?post/2013/10/12/Funding-MathML-Developments-in-Gecko-and-WebKit
> .
>
> I should also add that I came across TeXZilla from padawanphysicist's
> github page, https://github.com/padawanphysicist. He had a plugin for
> markdown + latex in TW5, but now I don't see it anymore. Parts of the macro
> parsing came from there.
>
> I created a demo at http://tw5-texzilla.tiddlyspot.com, and also linked
> this from the plugin's github readme.
>
> Finally, I was always impressed with the latex support in instiki, which
> is used for serious math(s). See,  for instance,
> http://ncatlab.org/johnbaez/show/Circuit+theory+I . So the fact that
> TeXZilla closely follows itex2mml (the parser for instiki) seemed like a
> good sign to me. As I mentioned in my message to Jed Carty, it would be
> interesting to look at implementing numbered equations with referencing.
> Another nice feature of instiki is latex export, which takes the page and
> outputs a tex file that one can use to generate pdfs in the usual manner.
> I'm looking forward to learning more about how TW5 works by trying to
> implement some of these features!
>
> Best,
>
> -joe
>
>
>
> On Thursday, February 5, 2015 at 10:22:35 AM UTC+1, Jeremy Ruston wrote:
>>
>> Hi Joe
>>
>> Great stuff, it looks like a solid piece of work. I hadn't come across
>> TeXZilla but it looks a good choice for TW5. In terms of the poor browser
>> support for MathML, I wonder if it could somehow include a warning for
>> browsers that can't display MathML? I guess better yet is to include a
>> smaller polyfill than MathJax?
>>
>> Can you put up a demo wiki that I can link to from tiddlywiki.com?
>>
>> Looking at the contribution of KaTeX, it looks like the initial
>> enthusiasm has worn off a little
>>
>> https://github.com/Khan/KaTeX/graphs/contributors
>>
>> If KaTeX's limitations are not going to be addressed soon I'd very much
>> like to find a more comprehensive maths renderer.
>>
>> Best wishes
>>
>> Jeremy.
>>
>>
>> On Thu, Feb 5, 2015 at 9:12 AM, Joe Renes  wrote:
>>
>>> right, I get the same thing --- chrome doesn't support much of mathml at
>>> the moment.  According to the their development team, support won't be
>>> happening anytime soon... (see https://code.google.com/
>>> p/chromium/issues/detail?id=152430#c43)
>>>
>>> -joe
>>>
>>>
>>> On Thursday, February 5, 2015 at 12:20:01 AM UTC+1, Tobias Beer wrote:

 Hi Joe,

 Thanks for taking the time...


> But I haven't done it quite right, since my attempts to import the
> plugin to an empty tiddlywiki have been less than successful...
> I'm running TW5 via node, so my experience with importing plugins is
> mainly copying files and updating tiddlywiki.info.
>

 I can see it working in Firefox but in Chrome it looks like this...


 

 Best wishes, Tobias.


>>>  --
>>> 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/d/optout.
>>>
>>
>>
>>
>> --
>> Jeremy Ruston
>> mailto:jeremy...@gmail.com
>>
>


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

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