Latest jsMath plugin release? Other offline non-MathML formulas?

74 views
Skip to first unread message

Yakov

unread,
Nov 2, 2010, 12:23:45 PM11/2/10
to TiddlyWiki
Hi everyone.

I'm looking for a tool which can generate formulas within TW. It is
required that it is cross-browser (so that I can place such TW to a
website without asking users for downloading FireFox; and, ideally, so
that I can read it in my handheld device via Opera Mobile). Hence,
MathML solutions are not counted. And also it is desired to have a
possibility to write and edit formulas offline (why it is important,
see below).

As I can see, there are 3 popular solutions:
- ASCIIMathML-based ones (there are two words in http://jostylr.com/twasciimathwiki.html
but no installation notes as I can see; anyway, it's MathML-based so
is not a thing I'm looking for. There's also an adaptation with
WYSIWYG: http://math.chapman.edu/~jipsen/asciencepad/asciencepad.html)
- codecogs-script-based ones (see http://twequation.tiddlyspot.com/ or
http://twmath.tiddlyspot.com/ ; it is based on the codescogs engine,
http://www.codecogs.com/ , which is not for free offline use and I
even don't know if it requires a server to use, which is also
undesirable - see _handheld_)
- jsMath + jsMath Plugin (see http://deferentialgeometry.org/ for
example of use)

My question are:

- did I miss any other solutions?

- where can I find jsMath Plugin latest release and some intallation
notes?

Yakov

unread,
Nov 2, 2010, 12:31:23 PM11/2/10
to TiddlyWiki
Yep, there's also http://bob.mcelrath.org/tiddlyjsmath.html but as I
can't even see anything but "L_AT^EX TiddlyWiki" header in Opera, I
think this also wouldn't help although http://deferentialgeometry.org/
is represented almost correctly.

On 2 ноя, 19:23, Yakov <yakov.litvin.publi...@gmail.com> wrote:
> Hi everyone.
>
> I'm looking for a tool which can generate formulas within TW. It is
> required that it is cross-browser (so that I can place such TW to a
> website without asking users for downloading FireFox; and, ideally, so
> that I can read it in my handheld device via Opera Mobile). Hence,
> MathML solutions are not counted. And also it is desired to have a
> possibility to write and edit formulas offline (why it is important,
> see below).
>
> As I can see, there are 3 popular solutions:
> - ASCIIMathML-based ones (there are two words inhttp://jostylr.com/twasciimathwiki.html
> but no installation notes as I can see; anyway, it's MathML-based so
> is not a thing I'm looking for. There's also an adaptation with
> WYSIWYG:http://math.chapman.edu/~jipsen/asciencepad/asciencepad.html)
> - codecogs-script-based ones (seehttp://twequation.tiddlyspot.com/orhttp://twmath.tiddlyspot.com/; it is based on the codescogs engine,http://www.codecogs.com/, which is not for free offline use and I

Kosmaton

unread,
Nov 2, 2010, 4:50:09 PM11/2/10
to TiddlyWiki
> Yep, there's alsohttp://bob.mcelrath.org/tiddlyjsmath.htmlbut as I
> can't even see anything but "L_AT^EX TiddlyWiki" header in Opera

Did you download the Tex fonts from [1]? After installing these all is
looking good for me, in Firefox, Opera, Chrome (not sure about Opera
Mobile). But the user/client must have/download these fonts, which may
be an issue if you want to show the page to others.

MathJax [2] seems to do a similar thing but stores the fonts (and
other files) server-side. That may be better. It's ~15Mb though;
jsMath is much smaller.

With either of these, to use them online you must be able to install
the .js and other files to your server. To use them offline you need a
local copy of these files near your TW HTML file, I suppose.

MathSVGPlugin [3] needs no extra files (and does graphics) but
requires MathML, so it may be no use for you.

good luck!

[1] http://www.math.union.edu/~dpvc/jsMath/download/jsMath-fonts.html
[2] http://www.mathjax.org/resources/docs/?start.html
[3] http://www.math.ist.utl.pt/~psoares/MathSVG.html

Yakov

unread,
Nov 3, 2010, 4:30:22 PM11/3/10
to TiddlyWiki
Thank you, Kosmaton, very much.

I'll try the things out.

Yes, I did install the fonts.. ouh! That's funny. Today the jsMath
repository works well in Opera also.. Weird thing. Perhaps previous
time I installed the fonts but did not restart Opera. Ok.

On 2 ноя, 23:50, Kosmaton <Kosma...@gmx.com> wrote:
> > Yep, there's alsohttp://bob.mcelrath.org/tiddlyjsmath.htmlbutas I

Yakov

unread,
Nov 3, 2010, 5:18:09 PM11/3/10
to TiddlyWiki
MathJax doesn't have a plugin to use it, does it? Do I need to write
somewhat like formatter to use it in TW?

Kosmaton

unread,
Nov 4, 2010, 5:30:41 PM11/4/10
to TiddlyWiki
Hello Yakov, I should've thought of that, you do need a plugin:
http://tiddlywiki.canada-east.ca/#PluginMathJax

Have fun!

Kosmaton

Yakov

unread,
Nov 8, 2010, 11:39:44 AM11/8/10
to TiddlyWiki
Ouch! Did anyone use MathJax?

The thing is I expected that I would be as big as 15Mb, but this was
_before_ unzipping and after that it becomes as big as 1Gb! Is that
right? Did I missed something?

Kosmaton

unread,
Nov 8, 2010, 7:45:04 PM11/8/10
to TiddlyWiki
Hello Yakov,

That shouldn't be the case: unzipped MathJax should be about 17.7Mb. I
have it working OK (using PluginMathJax).

I got MathJax as a zip from http://sourceforge.net/projects/mathjax/files/

Perhaps you got it via Git instead, and something went wrong...?
What's in those 1Gb?

Kosmaton

Yakov

unread,
Nov 9, 2010, 1:45:53 PM11/9/10
to TiddlyWiki
I had to say, it becomes 1Gb when it was placed on my USB-stick; on
hard disks it is 17 Mb. The "fonts" folder contains 29000 files and I
suspect they weight so much when put on the stick. As I remember, I
downloaded the thing by clicking the big button DOWNLOAD in your link.
The MathJax-v1.0.1a.zip one.

Perhaps there are some problems with the usb-stick?

On 9 ноя, 03:45, Kosmaton <Kosma...@gmx.com> wrote:
> Hello Yakov,
>
> That shouldn't be the case: unzipped MathJax should be about 17.7Mb. I
> have it working OK (using PluginMathJax).
>
> I got MathJax as a zip fromhttp://sourceforge.net/projects/mathjax/files/

Kosmaton

unread,
Nov 9, 2010, 4:36:44 PM11/9/10
to TiddlyWiki
> Perhaps there are some problems with the usb-stick?

Probably: I just tried copying those files to a USB stick and there is
no problem at all.

(Except that it takes a _long_ time, with these 29000 files; also
takes a long time to upload to a server. Might be worth checking
whether MathJax really needs all these files all the time, or whether
a subset is enough.)

Try a different USB stick, or reformat that one? Or ask a USB guru :)

Kosmaton

LeoAzul

unread,
Nov 10, 2010, 11:32:05 AM11/10/10
to TiddlyWiki
Probably your drive is formated as a FAT32 or FAT16 partition. It
isn't good to this kind of application, with many small files, because
these file systems have minimum file size. So, if a you have a 50Bytes
file it uses 4kB ! If possible, try NTFS (if windows) or ext3. Do you
have the same problem when the files are in your hard drive?

Yakov

unread,
Nov 11, 2010, 2:30:31 PM11/11/10
to TiddlyWiki
That's it. I tried another USB-stick and there it was 127Mb, in FAT32.
I even looked the name of the FS, but didn't remember this thing.
NTFS, you say.. Is it right that the only drawback of NTFS is lack of
backward compabitily with some legacy OSs? As I can see, not only
legacy ones.. Is it possible to create two parts with differnt FSs on
USB-stick? (one small in FAT32 for drivers..)

Anyway, MathJax works in hard drive and fortunately it has some (or
even all) common syntax with jsMath, so there's some space for
tweaking with using both of them.

On 10 ноя, 19:32, LeoAzul <leoa...@gmail.com> wrote:
> Probably your drive is formated as a FAT32 or FAT16 partition. It
> isn't good to this kind of application, with many small files, because
> these file systems have minimum file size. So, if a you have a 50Bytes
> file it uses 4kB ! If possible, try NTFS (if windows) or ext3. Do you
> have the same problem when the files are in your hard drive?
>
> On 9 nov, 19:36, Kosmaton <Kosma...@gmx.com> wrote:
>
>
>
> > > Perhaps there are some problems with the usb-stick?
>
> > Probably: I just tried copying those files to a USB stick and there is
> > no problem at all.
>
> > (Except that it takes a _long_ time, with these 29000 files; also
> > takes a long time to upload to a server. Might be worth checking
> > whetherMathJaxreally needs all these files all the time, or whether
Reply all
Reply to author
Forward
0 new messages