[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Axiom-developer] [LaTeX] jsMath

From: Bob McElrath
Subject: [Axiom-developer] [LaTeX] jsMath
Date: Tue, 24 May 2005 13:56:31 -0500

This guy is way better at javascript and tex than me...

Couple comments on jsMath:

You are correct it doesn't work in Konqueror.

I gotta say I like this solution.  Putting the tex font metrics into the
javascript is very clever.  However he has the same problem I had in
identifying the font from javascript (i.e. you can't).  He looks at the
cmex10 font and checks if it is much taller than it is wide.  (This font
contains large parenthesis, for example)  Not 100% reliable, but
workable.  However using tex fonts one really needs to crank the font
size up so that the characters come out correctly.  For instance, $f(z)$
looks like $f(\approx)$ using their default font size.  Of course this
is easy to do on one's site.

Also since the rendering is done in javascript it is slow compared to
the native mozilla rendering speed.  I wonder if there is a way to get
it to render everything first, to prevent excessive reflows of the
document as it renders piece-by-piece.

The only drawback I can see other than speed is that it is not "true"
latex...for example he's got a \color extension, but no \usepackage...
or preamble of any kind.  So it's not appropriate for en masse
translation of an existing tex document.

But maybe very appropriate for a wiki...

forwarded from

reply via email to

[Prev in Thread] Current Thread [Next in Thread]