Not signed in (Sign In)

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorSammy Black
    • CommentTimeMar 17th 2010 edited
     
    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).
  1.  
    Same here, using 3.6.
  2.  
    I don't know the answer, but see the discussion between Georges and Anton toward the end of the thread here:
    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."
  3.  

    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.

  4.  
    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 couple of months ago, but no one else mentioned it, so I figured it had to be me.
  5.  

    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.

    • CommentAuthorAndrea
    • CommentTimeMar 21st 2010 edited
     

    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.

  6.  
    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 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.
    • CommentAuthorAndrea
    • CommentTimeMar 24th 2010 edited
     

    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.