tea.mathoverflow.net - Discussion Feed (Why do I have to reload each question to make it render?) 2018-11-04T13:07:57-08:00 http://mathoverflow.tqft.net/ Lussumo Vanilla & 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 2010-03-24T09:02:38-07:00 2018-11-04T13:07:57-08:00 Andrea http://mathoverflow.tqft.net/account/170/ 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 ... 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 2010-03-21T09:10:41-07:00 2018-11-04T13:07:57-08:00 Dror Speiser http://mathoverflow.tqft.net/account/185/ I am using Chrome and have the same sometimes-happens problem.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 ... 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 2010-03-21T07:51:56-07:00 2018-11-04T13:07:57-08:00 Andrea http://mathoverflow.tqft.net/account/170/ 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. 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 2010-03-21T07:30:36-07:00 2018-11-04T13:07:57-08:00 Tom Leinster http://mathoverflow.tqft.net/account/106/ 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. 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 2010-03-21T01:39:54-07:00 2018-11-04T13:07:57-08:00 James Borger http://mathoverflow.tqft.net/account/186/ I had this problem and solved it by installing the fonts mentioned on the FAQ page. Curiously, I'm pretty sure the problem didn't exist when I first started reading MO. I think it first started a ... 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 2010-03-17T20:46:00-07:00 2018-11-04T13:07:57-08:00 Anton Geraschenko http://mathoverflow.tqft.net/account/2/ 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 ... 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 2010-03-17T15:24:47-07:00 2018-11-04T13:07:57-08:00 Jonas Meyer http://mathoverflow.tqft.net/account/87/ I don't know the answer, but see the discussion between Georges and Anton toward the end of the thread ... 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 2010-03-17T15:09:24-07:00 2018-11-04T13:07:57-08:00 Steve Huntsman http://mathoverflow.tqft.net/account/110/ Same here, using 3.6. 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 2010-03-17T14:18:11-07:00 2018-11-04T13:07:57-08:00 Sammy Black http://mathoverflow.tqft.net/account/183/ Some of the LaTex renders correctly when I open a question, but I always have to reload the page to see all of it. Any ideas why? I'm using a Firefox 3.5 browser (if that matters).