typesetting problem in documentation

145 views
Skip to first unread message

Martin R

unread,
Apr 22, 2015, 10:27:02 AM4/22/15
to sage-...@googlegroups.com
I just checked out develop and built it, without any trouble, EXCEPT, that the documentation isn't typeset properly.

I am using Firefox 37.0.1 on kubuntu 14.04.

I do not have this problem with sage 6.5 on this machine.

Mathjax (I think) briefly displays a warning, which ends with

File failed to load: file://..._static/FONTS/HTML-CSS/TeX/png/imagedata.js

(very hard to see, because it disappears again...)

The LaTeX is output verbatim, that is, there are not the usual red error boxes.  Also, hovering over it, the mathjax configuration box does not appear.  For example, in

file:///home/martin/sage-develop/src/doc/output/html/en/reference/algebras/sage/algebras/weyl_algebra.html

I see:

    Let \(R\) be a commutative ring. The (differential) Weyl algebra \(W\) is the algebra generated by \(x_1, x_2, \ldots x_n, \partial_{x_1}, \partial_{x_2}, \ldots, \partial_{x_n}\) subject to the relations: \([x_i, x_j] = 0\), \([\partial_{x_i}, \partial_{x_j}] = 0\), and \(\partial_{x_i} x_j = x_j \partial_{x_i} + \delta_{ij}\). Therefore \(\partial_{x_i}\) is acting as the partial differential operator on \(x_i\).

Help!  I cannot review tickets!

Martin

Volker Braun

unread,
Apr 22, 2015, 10:58:16 AM4/22/15
to sage-...@googlegroups.com
Works for me on sage-6.7.beta2 and firefox 37.0.1

I do get an error in the console: downloadable font: download failed (font-family: "MathJax_Blank" style:normal weight:normal stretch:normal src index:0): status=2147500037 source: about:blank in the console, but math still displays for me. Possibly a font substitution issue?

We don't include the image fonts since they are huge and all modern browsers support real fonts. 

We did upgrade mathjax recently. There is no hover menu, you need to right-click. 

Martin R

unread,
Apr 22, 2015, 11:12:22 AM4/22/15
to sage-...@googlegroups.com
> We did upgrade mathjax recently. There is no hover menu, you need to right-click.

Right-clicking shows no special menu.  Looking at the html source, I see:

<p>Let <span class="math">\(R\)</span> be a commutative ring. The (differential) Weyl algebra <span class="math">\(W\)</span> is
the algebra generated by <span class="math">\(x_1, x_2, \ldots x_n, \partial_{x_1},
\partial_{x_2}, \ldots, \partial_{x_n}\)</span> subject to the relations:

I guess that's alright.  In firefox' web-console I see:

TypeError: d[0] is undefined MathJax.js:19:46419
TypeError: c.FONTDATA.FONTS.MathJax_Main[8212][5] is undefined

???

Martin

Volker Braun

unread,
Apr 22, 2015, 11:18:01 AM4/22/15
to sage-...@googlegroups.com
Is that an upgrade from earlier sage versions? Upgrade to ensure that the re is no old mathjax lying around.

sage -f mathjax
make doc-clean
make doc

Martin R

unread,
Apr 22, 2015, 1:51:30 PM4/22/15
to sage-...@googlegroups.com
> Is that an upgrade from earlier sage versions? Upgrade to ensure that the re is no old mathjax lying around.

no.  all completely fresh.  However, there is a sage (my production sage :-) in the path, might that be a problem?

Thanks,

Martin

Volker Braun

unread,
Apr 22, 2015, 2:18:44 PM4/22/15
to sage-...@googlegroups.com
Shouldn't be a problem, though maybe you can try without and report back...

Martin R

unread,
Apr 23, 2015, 2:48:32 AM4/23/15
to sage-...@googlegroups.com
Indeed, no change.

I installed konqueror, where things work.  So it is a firefox problem...

Martin R

unread,
Apr 23, 2015, 3:10:42 AM4/23/15
to sage-...@googlegroups.com
Let me summarize:

firefox with sage 6.5 is OK
firefox with sage develop is not OK
konqueror is OK with both.

???

Martin

Martin R

unread,
Apr 23, 2015, 5:20:38 AM4/23/15
to sage-...@googlegroups.com
A miracle: I checked out ticket #17760, rebuild, now it works also in firefox.

????

Nathann Cohen

unread,
Apr 23, 2015, 7:27:39 AM4/23/15
to sage-...@googlegroups.com
A miracle: I checked out ticket #17760, rebuild, now it works also in firefox.

Praise the Lord!!!

Nathann 
Reply all
Reply to author
Forward
0 new messages