tea.mathoverflow.net - Discussion Feed (Why do I have to reload each question to make it render?) Sun, 04 Nov 2018 13:07:57 -0800 http://mathoverflow.tqft.net/ Lussumo Vanilla 1.1.9 & Feed Publisher Andrea comments on "Why do I have to reload each question to make it render?" (4040) http://mathoverflow.tqft.net/discussion/292/why-do-i-have-to-reload-each-question-to-make-it-render/?Focus=4040#Comment_4040 http://mathoverflow.tqft.net/discussion/292/why-do-i-have-to-reload-each-question-to-make-it-render/?Focus=4040#Comment_4040 Wed, 24 Mar 2010 09:02:38 -0700 Andrea I like Dror's suggestion. It should be easy to implement and may be a hackish but effective solution for a lot of people.

I'm not sure that Javascript can interact with the source, though, it usually interacts with the DOM, which gets changed by JsMath, so we would need to functions: the first which gets called before JsMath and stores the current content of the Div, and the second which compares that to the result after JsMath. Or, more simply, call JsMath twice anyway; once the fonts are loaded, the second call takes a negligible time.

]]>
Dror Speiser comments on "Why do I have to reload each question to make it render?" (3951) http://mathoverflow.tqft.net/discussion/292/why-do-i-have-to-reload-each-question-to-make-it-render/?Focus=3951#Comment_3951 http://mathoverflow.tqft.net/discussion/292/why-do-i-have-to-reload-each-question-to-make-it-render/?Focus=3951#Comment_3951 Sun, 21 Mar 2010 09:10:41 -0700 Dror Speiser Chrome uses a different engine than Firefox, so this must be a problem with the code itself (either jsMath or the implementation of it on MathOverflow).
Has anyone tried to debug a bit with firebug?

Possible solution:
Put a div at the bottom of the page with a constant math sentence. Something that looks fine to be there, like a quote or a random equation/theorem (which could be nice regardless).
In the head section add a javascript function that checks the source of the div. If it is equal to what was written - apply jsMath rendering again.
At the real bottom of the page add a function that calls the above function - so it will be called truly at the end of loading (or maybe there are other ways to accomplish this?).
This, in theory, solves the problem. ]]>
Andrea comments on "Why do I have to reload each question to make it render?" (3949) http://mathoverflow.tqft.net/discussion/292/why-do-i-have-to-reload-each-question-to-make-it-render/?Focus=3949#Comment_3949 http://mathoverflow.tqft.net/discussion/292/why-do-i-have-to-reload-each-question-to-make-it-render/?Focus=3949#Comment_3949 Sun, 21 Mar 2010 07:51:56 -0700 Andrea Installing the recommended fonts did NOT solve the problem for me. But it is possible (I'm not sure) that it made it less frequent.

]]>
Tom Leinster comments on "Why do I have to reload each question to make it render?" (3948) http://mathoverflow.tqft.net/discussion/292/why-do-i-have-to-reload-each-question-to-make-it-render/?Focus=3948#Comment_3948 http://mathoverflow.tqft.net/discussion/292/why-do-i-have-to-reload-each-question-to-make-it-render/?Focus=3948#Comment_3948 Sun, 21 Mar 2010 07:30:36 -0700 Tom Leinster Like James, I've only started noticing this problem in the last couple of months. Most of the time (maybe 95%) it displays fine and I don't have to reload. I'm using an ancient version of Firefox.

]]>
James Borger comments on "Why do I have to reload each question to make it render?" (3947) http://mathoverflow.tqft.net/discussion/292/why-do-i-have-to-reload-each-question-to-make-it-render/?Focus=3947#Comment_3947 http://mathoverflow.tqft.net/discussion/292/why-do-i-have-to-reload-each-question-to-make-it-render/?Focus=3947#Comment_3947 Sun, 21 Mar 2010 01:39:54 -0700 James Borger Anton Geraschenko comments on "Why do I have to reload each question to make it render?" (3888) http://mathoverflow.tqft.net/discussion/292/why-do-i-have-to-reload-each-question-to-make-it-render/?Focus=3888#Comment_3888 http://mathoverflow.tqft.net/discussion/292/why-do-i-have-to-reload-each-question-to-make-it-render/?Focus=3888#Comment_3888 Wed, 17 Mar 2010 20:46:00 -0700 Anton Geraschenko Sorry, I don't know what's causing this problem. If anybody has any ideas, please let me know.

For now, my "solution" is to to have the "(Re)process math" link under the tip in the dashed box in the right hand column and hope that the problem goes away when we switch to MathJax. If there's a more convenient place for the "(Re)process math" link, I'm happy to move it.

]]>
Jonas Meyer comments on "Why do I have to reload each question to make it render?" (3886) http://mathoverflow.tqft.net/discussion/292/why-do-i-have-to-reload-each-question-to-make-it-render/?Focus=3886#Comment_3886 http://mathoverflow.tqft.net/discussion/292/why-do-i-have-to-reload-each-question-to-make-it-render/?Focus=3886#Comment_3886 Wed, 17 Mar 2010 15:24:47 -0700 Jonas Meyer http://tea.mathoverflow.net/discussion/30/3/report-bugs-with-latex-jsmath-rendering-here/#Item_25

I sometimes have the same problem. There is now a button on the right side of the page to fix it without reloading. "jsMath trouble? (Re)process math." ]]>
Steve Huntsman comments on "Why do I have to reload each question to make it render?" (3885) http://mathoverflow.tqft.net/discussion/292/why-do-i-have-to-reload-each-question-to-make-it-render/?Focus=3885#Comment_3885 http://mathoverflow.tqft.net/discussion/292/why-do-i-have-to-reload-each-question-to-make-it-render/?Focus=3885#Comment_3885 Wed, 17 Mar 2010 15:09:24 -0700 Steve Huntsman Sammy Black comments on "Why do I have to reload each question to make it render?" (3884) http://mathoverflow.tqft.net/discussion/292/why-do-i-have-to-reload-each-question-to-make-it-render/?Focus=3884#Comment_3884 http://mathoverflow.tqft.net/discussion/292/why-do-i-have-to-reload-each-question-to-make-it-render/?Focus=3884#Comment_3884 Wed, 17 Mar 2010 14:18:11 -0700 Sammy Black