TeX-MML-AM_HTMLorMML-full.js cause error.

60 views
Skip to first unread message

Jack

unread,
Mar 1, 2012, 8:19:02 PM3/1/12
to MathJax Users
I host MathJax 2.0 in my server, after I use the TeX-MML-AM_HTMLorMML-
full.js configuration file , I get undefine error.

<script type="text/javascript" src="Math/MathJax.js?config=TeX-MML-
AM_HTMLorMML-full"></script>

var d,b;if(document.namespaces) // It cause error


but when I use default.js, everything is OK.

Davide P. Cervone

unread,
Mar 2, 2012, 10:31:30 AM3/2/12
to mathja...@googlegroups.com
There is a timing issue with IE9 and the use of document.namespaces.
It turns out that when you use the combined configuration file, the
namespaces are accessed earlier than when you load the configuration
files individually, and that triggers the problem. There is an update
in the v2.0-latest branch of MathJax, so you should update your copy
to that. See

http://www.mathjax.org/docs/2.0/installation.html

for details about how to obtain a particular branch of MathJax.

Apparently there are still problem with this in IE10, and we are
working on that.

Davide

Jack

unread,
Mar 2, 2012, 7:45:31 PM3/2/12
to MathJax Users
Thank you.

Jack

unread,
Mar 2, 2012, 8:16:47 PM3/2/12
to MathJax Users
I have installed the latest version mathjax-MathJax-v2.0-0-
g4a4f535.zip, the problem still occur.
Do you mean you will fix it in next version?

Thank you for your help.

Davide P. Cervone

unread,
Mar 3, 2012, 11:30:35 AM3/3/12
to mathja...@googlegroups.com
I think you may have gotten the master branch rather than the v2.0-
lastest branch. Try using

https://github.com/mathjax/MathJax/zipball/v2.0-latest

to get the ZIP file and see if that helps.

Davide

Jack

unread,
Mar 7, 2012, 9:13:35 AM3/7/12
to MathJax Users
Thanks!

Now I find the latest version is V2.02, can I always get the latest
version from the URL https://github.com/mathjax/MathJax/zipball/v2.0-latest

Davide P. Cervone

unread,
Mar 7, 2012, 9:25:18 AM3/7/12
to mathja...@googlegroups.com
> Now I find the latest version is V2.02,

The MathJax package as a whole is still at v2.0, but it is made up of
many different files, and the MathJax.js file is at v2.0.2 (while
other files are at v2.0 and v2.0.1, etc.)

> can I always get the latest version from the URL https://github.com/mathjax/MathJax/zipball/v2.0-latest

That will get you the version that is currently being served as http://cdn.mathjax.org/mathjax/2.0-latest
. If we go to v2.1, then the address you give will still get you the
v2.0 distribution. So no, that is not always going to be the latest
version, but it currently is.

Davide

Jack

unread,
Mar 7, 2012, 9:30:34 AM3/7/12
to MathJax Users
Thanks!

where can I find the latest version number on your webpage? From
http://www.mathjax.org/ , I can only see the version number is 2.0

On Mar 7, 10:25 pm, "Davide P. Cervone" <d...@union.edu> wrote:
> > Now I find the latest version is V2.02,
>
> The MathJax package as a whole is still at v2.0, but it is made up of
> many different files, and the MathJax.js file is at v2.0.2 (while
> other files are at v2.0 and v2.0.1, etc.)
>
> > can I always get the latest version from the URLhttps://github.com/mathjax/MathJax/zipball/v2.0-latest
>
> That will get you the version that is currently being served ashttp://cdn.mathjax.org/mathjax/2.0-latest

Davide P. Cervone

unread,
Mar 7, 2012, 9:37:48 AM3/7/12
to mathja...@googlegroups.com
As I said, that IS the latest version number for MathJax. Individual
files within the package have file versions of the form 2.0.x where x
is the number of revisions that file has had as part of v2.0 of
MathJax. MathJax is at version 2.0.

Davide

Paul Topping

unread,
Mar 8, 2012, 4:40:47 PM3/8/12
to mathja...@googlegroups.com
Jack,

Is there some reason you don't use one of the versions of MathJax on our CDN? It has the advantages of Amazon CloudFront's worldwide network of servers and that the MathJax Consortium worries about server configuration and such. Just a thought.

Paul

Reply all
Reply to author
Forward
0 new messages