Latex takes a while to be rendered

  • Context: LaTeX 
  • Thread starter Thread starter jtbell
  • Start date Start date
  • Tags Tags
    Latex
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
31 replies · 3K views
Physics news on Phys.org
One issue I ran into while trying to solve another problem is MathJax timing out waiting for fonts and then degrading to using images. If one uses their own fonts to override PF fonts forum-wide, MathJax can't load the fonts it needs to render latex and sits and spins for a certain period time.

Why is MathJax using image fonts instead of web fonts?

MathJax times out waiting for fonts to arrive: You can tell by entering javascript:alert(MathJax.Message.Log()) into the URL location type-in area (and pressing RETURN), and checking if there is a message about switching to image fonts. This can happen in particular if your network connection is relatively slow. In v2.0, the timeout was lengthened somewhat, and MathJax will switch only if the first font fails to arrive (if it succeeds in obtaining one font, it assumes it can get the rest).

http://docs.mathjax.org/en/latest/m...athjax-using-image-fonts-instead-of-web-fonts

Other reasons for issues can be found in the above linked page.