Latex takes a while to be rendered

  • Context: LaTeX 
  • Thread starter Thread starter jtbell
  • Start date Start date
  • Tags Tags
    Latex
Click For Summary
SUMMARY

The forum discussion centers on the performance issues related to LaTeX rendering on the Physics Forums platform. Users report significant delays, ranging from 2 to 15 seconds, in seeing rendered LaTeX symbols after posting code. The absence of LaTeX editing tools, such as buttons for superscripts, subscripts, and Greek letters, is also highlighted as a major concern. Users suggest that the recent transition to client-side rendering may have improved speed but still requires further optimization.

PREREQUISITES
  • Understanding of LaTeX syntax for mathematical expressions
  • Familiarity with client-side rendering technologies
  • Knowledge of browser compatibility issues, particularly with Opera
  • Basic troubleshooting skills for web applications
NEXT STEPS
  • Research LaTeX syntax for advanced mathematical formatting
  • Explore client-side rendering techniques and their impact on performance
  • Investigate browser-specific issues affecting LaTeX rendering
  • Learn about MathJax configuration and troubleshooting for LaTeX
USEFUL FOR

This discussion is beneficial for web developers, forum administrators, and users who frequently utilize LaTeX for mathematical expressions, particularly in online forums and educational platforms.

  • #31
Working on it
 
Physics news on Phys.org
  • #32
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.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 36 ·
2
Replies
36
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
6K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
7
Views
9K