WayBack MathJax

15 views
Skip to first unread message

J.R.St...@physics.org

unread,
May 21, 2013, 12:45:55 PM5/21/13
to mathja...@googlegroups.com
My <http://www.merlyn.demon.co.uk/demo-jax.htm> works well.

My local master copy works well.

But <http://web.archive.org/web/20130127233022/http://www.merlyn.demon.co.uk/demo-jax.htm> works very very badly.

I first noted the effect on a more important page, essai-3c.htm.

Comment?
-- 
  (c) John Stockton, near London, UK.  Using Google, no spell-check.
 Mail: J.R.""""""""@physics.org or (better) via Home Page at
 Web:  <http://www.merlyn.demon.co.uk/> (may move soon)
 FAQish topics, acronyms, links, etc.; Date, Lagrange, JavaScript, ..|

Davide P. Cervone

unread,
May 21, 2013, 6:08:02 PM5/21/13
to mathja...@googlegroups.com
The archive.org site serves its own copy of MathJax (based on the date of the copy), and it looks like the web fonts aren't being recognized as fonts by the browser (perhaps the MIME-type isn't set properly, or something). That forces MathJax to timeout waiting for the font, and then initiate its image mode instead. But the archive didn't make copies of the images, so all the images end up being broken images.

I don't think there is anything we can do about that. Certainly not for anything from the past, and I'm not sure we can really do anything about that for the future, either, other than point it out to the maintainers of the archive, and see if they can do anything about it.

Davide

Phillip Lord

unread,
May 22, 2013, 5:23:43 AM5/22/13
to mathja...@googlegroups.com

This is an interesting issue, as supporting archiving is an important
use case. One possibility that I have with my mathjax-latex wordpress
plugin is to recognise crawlers (sadly no easy way to do this!), and
then switch off Javascript -- I can always fall back to static image
generation. I was planning on doing this for another project that I have
which uses client side rendering (of reference lists in this case).

Interestingly, though, I just checked the page; it is rendering
perfectly well on one of my machines (in both chrome and firefox), but
fails on another (in both IE and firefox). Strange, strange, strange.

Phil
--
Phillip Lord, Phone: +44 (0) 191 222 7827
Lecturer in Bioinformatics, Email: philli...@newcastle.ac.uk
School of Computing Science, http://homepages.cs.ncl.ac.uk/phillip.lord
Room 914 Claremont Tower, skype: russet_apples
Newcastle University, twitter: phillord
NE1 7RU

Peter Krautzberger

unread,
May 24, 2013, 12:22:13 PM5/24/13
to mathja...@googlegroups.com
@Phillip, that's expected after Davide's comment. The archive is serving the wrong CORS headers, so security settings in IE and Firefox will ignore the webfonts for security reasons. Webkit browsers don't care if these headers are set correctly, so they work.

Peter.


--
You received this message because you are subscribed to the Google Groups "MathJax Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



Reply all
Reply to author
Forward
0 new messages