About "Math Processing Error"

267 views
Skip to first unread message

Jori Mäntysalo

unread,
Jun 8, 2015, 9:18:15 AM6/8/15
to sage-...@googlegroups.com
Documentation on sagemath.org works. In my own machine, where Sage is
compiled from source taken from git, it works when loading local www-page:

Return True if x is greater than but not equal to y in the poset, and
False otherwise.

And then after loading is completed, changes to

Return True if [Math Processing Error] is greater than but not equal to
[Math Processing Error] in the poset, and False otherwise.

And on the bottom of browser window it says

"File failed to load
..../combinat/_static/jax/output/HTML-CSS/imageFonts.js"

but directly testing

file:///home/jm58660/sage/src/doc/output/html/en/reference/_static/jax/output/HTML-CSS/imageFonts.js

shows js-file. How to repair this?

--
Jori Mäntysalo

Andrey Novoseltsev

unread,
Jun 9, 2015, 12:05:47 PM6/9/15
to sage-...@googlegroups.com
I believe that the problem is in the absence of image fonts, not the JS file. That's exactly the situation that I saw with SageNB and SageMathCell output on certain computers (=public computers on our campus, Windows 7 + Firefox 38). See
http://trac.sagemath.org/ticket/17288#comment:42
http://trac.sagemath.org/ticket/18596

Michael Orlitzky

unread,
Jun 10, 2015, 1:41:37 PM6/10/15
to sage-...@googlegroups.com
For whatever it's worth, I have the same issue. The mathjax stuff looks
like it's working, but then when processing hits 100%, all of the latex
is replaced with [Math Processing Error]. I have the following in my JS
console:

Error: TypeError: c.FONTDATA.FONTS.MathJax_Main[8212][5] is undefined

Source File: file:///home/mjo/src/sage.git/src/doc/output/html/en
/reference/geometry/_static/jax/output/HTML-
CSS/imageFonts.js?rev=2.5.0
Line: 19

(The path depends on which part of the manual I'm looking at). I'm
currently on Firefox 31.7.0 ESR but this is not a new problem.


Andrey Novoseltsev

unread,
Jun 10, 2015, 1:59:51 PM6/10/15
to sage-...@googlegroups.com
On Wednesday, 10 June 2015 11:41:37 UTC-6, Michael Orlitzky wrote:
For whatever it's worth, I have the same issue. The mathjax stuff looks
like it's working,

It is working and first shows you "fast-preview" using HTML fonts - it appears very quickly and look OK for simple formulas, but spacing may be wrong and certain features are completely missing.

but then when processing hits 100%, all of the latex
is replaced with [Math Processing Error]. I have the following in my JS

Because it has finished "main processing", tried to use web fonts that did not work for whatever reason, then tried to use image fonts, but we have stripped them away. Thus when it tries to show you "pretty version" of your formula it ends up with only an error message.
 

Jori Mäntysalo

unread,
Jun 11, 2015, 7:35:00 AM6/11/15
to sage-...@googlegroups.com
On Wed, 10 Jun 2015, Andrey Novoseltsev wrote:

> Because it has finished "main processing", tried to use web fonts that
> did not work for whatever reason, then tried to use image fonts, but we
> have stripped them away. Thus when it tries to show you "pretty version"
> of your formula it ends up with only an error message.

OK, so Sage is self-contained software. With exceptions. Duh.

Anyways, is there a manual for dummies to correct this?

--
Jori Mäntysalo
Reply all
Reply to author
Forward
0 new messages