Why are MathJax images not displaying on my webpage?

In summary: Images are more bandwidth intensive.In summary, the MathJax environment changed and there are no Latex images being displayed. Please post any problems. I'll leave it enabled for the next hour or so and switch back to images until we are 100% ready.
  • #281
Edit

I think OE is working it just gives an error message because there is not recipient.
 
Physics news on Phys.org
  • #283
Greg Bernhardt said:
for those having odd/serious mathjax problems run this script and then click the email results button
https://www.physicsforums.com/mathjax/mjp.html

ok you can submit now
 
Last edited:
  • #284
Yes boss done.
 
  • #285
Sometimes there is not much to report...

And when I have problems, it always looks identical - 15 seconds waiting for downloads, I guess that means timeout.
 

Attachments

  • Untitled-1.png
    Untitled-1.png
    12.3 KB · Views: 395
  • #286
No, looks like it can get different - now LaTeX was processed, but Opera still waits for servers.

I have three reasons to use Opera - first, I have zillions of usernames and passwords stored in Opera configuration files. Second, I paid to register Opera in 2004, when it was ad-sponsored. Third - nobody uses Opera, so it is rarely (if ever) targeted by hackers. Unfortunately lately using Opera to access PF is becoming a PITA (it works OK on other sites I visit, but I spend most of the time at PF), so I may have to think it over again
 

Attachments

  • Untitled-2.png
    Untitled-2.png
    28 KB · Views: 419
  • #287
Borek said:
No, looks like it can get different - now LaTeX was processed, but Opera still waits for servers.

Are the results in the image relatively constant?
 
  • #288
Usual pattern looks more like this.

(And when I want to show this 15 sec timeout everything works perfectly, why should it not?)
 

Attachments

  • Untitled-3.jpg
    Untitled-3.jpg
    37.9 KB · Views: 364
  • #289
Borek said:
Usual pattern looks more like this.

(And when I want to show this 15 sec timeout everything works perfectly, why should it not?)

I gtg for now. Keep posting interesting results and I will compile them and send them to the devs later today. thanks!
 
  • #290
OK, that's the timeout. Note that on the first image it shows timeline, but Opera still waits for mathjax server.
 

Attachments

  • Untitled-1.jpg
    Untitled-1.jpg
    36.3 KB · Views: 369
  • Untitled-2.jpg
    Untitled-2.jpg
    34.3 KB · Views: 385
  • #291
Greg Bernhardt said:
The devs are aware of this problem and say an update will be released in the next week that should resolve it.
You can fix it now by using TeX-AMS_HTML instead of TeX-AMS-MML_HTMLorMML.
Fredrik said:
The main reason why that idea bothers me a little is that $$math$$ has the same effect as
math
in a LaTeX document, i.e. it has the same effect as tex tags here.

Uhh...I don't know why MathJax turns that into an image. Click quote to see what I typed.
You could also change this behavior Fredrik saw by setting processEnvironments to false in the tex2jax parameters. On the other hand, perhaps you'd prefer MathJax, like TeX, to process anything between \begin and \end as math without needing to type in delimiters.
 
Last edited:
  • #292
Can we make it so clicking the [PLAIN]https://www.physicsforums.com/products/latexreference/images/Icon3.gif icon inserts itex tags instead of tex? I'm finding a lot of new members using tex for LaTeX code that is supposed to be inline with their text, and it is breaking up expressions into multiple lines.

Also, I have updated the LaTeX stickied thread in Forum Feedback.
 
Last edited by a moderator:
  • #293
Redbelly98 said:
Can we make it so clicking the [PLAIN]https://www.physicsforums.com/products/latexreference/images/Icon3.gif icon inserts itex tags instead of tex? I'm finding a lot of new members using tex for LaTeX code that is supposed to be inline with their text, and it is breaking up expressions into multiple lines.
I never use that button, but I would guess that it's both possible and preferable to replace it with two buttons, one for itex and one for tex.
 
Last edited by a moderator:
  • #294
Fredrik said:
I never use that button, but I would guess that it's both possible and preferable to replace it with two buttons, one for itex and one for tex.

for the meantime I switched it to itex
 
  • #295
Thanks Greg!

I don't know if that is the root of the problem, but we'll see if we stop getting posts from new members like this:

***** said:

Homework Statement


Three sinusoidal waves of the same frequency travel along a string in the positive direction of an x axis. Their amplitudes are y1, y1/3.0, and y1/4.0, and their phase constants are 0, [tex]\pi[/tex]/4.0, and [tex]\pi[/tex], respectively. What are (a) the ratio of the amplitude to y1 and (b) the phase constant of the resultant wave?

Even if you're aware of the issue, it's easy to miss that one of the phase constants is [itex]\pi [/itex]/4.0
 
  • #297
Greg, is there anything I can do to help?

- Warren
 
  • #298
chroot said:
Greg, is there anything I can do to help?

- Warren

Thanks Warren! I think we're in pretty good shape.

I believe 1.1a is now out. Those who were having problems please report any differences. Remember to clear your browser cache as the JS is cached for two weeks.
 
  • #299
I tried visiting the forums using a limited account in XP, and the access-denied problem no longer occurs.

Any decision on new delimiters?
 
  • #300
Greetings from the land of XP limited privilege users:

Whatever you did 10 minutes prior to the timestamp of this post suddenly worked properly.

The yellow error triangle was no longer evident and I thought tex worked again.

However now the issue has returned.
 
Last edited:
  • #301
Try using the developer tools in IE8 (hit F12) to run debugging on the script to see where the problem is cropping up.
 
  • #302
Well I tried that and pressed the debug button, and although I haven't a clue as to what I was doing or did -- it worked.

At the moment I can open and close IE8 and not see any errors and Tex works again.

It remains to be seen whether this fix is permanent on restart.

I would be interest in what 'debugging' achieves though.

Thanks a bunch Vela.
 
  • #303
The suggestion wasn't meant to fix the problem but to see where and why the problem came up, so the problem probably just went away on its own for you.
 
  • #304
I am aware that the reason it now works is more likely to be some positive change made at the PF source end and that my random pressing buttons was just a coincidence.

Particularly as the fix has survived several reboots.

So thank you whoever finally got it right, I asssume someone is monitoring this thread for feedback.

There have obviously been lots of changes tried out over the last few days. PF speed and response has been highly variable.

It all seems tickety boo now.
 
  • #305
I can't remember if it was already reported or not. There are difference between engines. In some old threads LaTeX is now not displayed correctly:

https://www.physicsforums.com/showthread.php?t=124602

I haven't checked yet why, and I will probably take care about this particular thread, but it is likely that similar problems are present in different threads.

Edit: new engine doesn't like unmatching pairs of \left[ & \right] - if there are both, they are rendered correctly, but just \right] triggers an error.
 
Last edited:
  • #306
In that thread, one of the expressions that doesn't render is:

H_{2}SO_{4}_{(aq)} \rightarrow 2H^{+}_{(aq)} + SO_{4}^{2-}_{(aq)}

I tried to run it through Latex on my computer, and it threw up an error about double subscripts.
 
  • #307
Good point. I don't know LaTeX well enough, but I guess k_i_j is ambiguous, should it be [itex]k_{ij}[/itex] or [itex]k_{i_j}[/itex]?

I haven't checked everything, just skimmed, could be there are more errors.
 
  • #308
Borek said:
Good point. I don't know LaTeX well enough, but I guess k_i_j is ambiguous, should it be [itex]k_{ij}[/itex] or [itex]k_{i_j}[/itex]?

I haven't checked everything, just skimmed, could be there are more errors.

There's a third choice: [itex]{k_i}_j[/itex] which I suspect was intended. :wink:
 
  • #309
No matter what was intended, it was wrong, as (aq) should be not a subscript, that's a common mistake. If memory serves me well [itex]H_2SO_{4}(aq)[/itex] is the correct notation (although I am not sure at the moment whether it should or shouldn't be italicized).
 
  • #310
Borek said:
No matter what was intended, it was wrong, as (aq) should be not a subscript, that's a common mistake. If memory serves me well [itex]H_2SO_{4}(aq)[/itex] is the correct notation (although I am not sure at the moment whether it should or shouldn't be italicized).

Hmm, from wikipedia (as far as that is reliable): "An aqueous solution is a solution in which the solvent is water. It is usually shown in chemical equations by appending aq as a subscript to the relevant formula."

Since it is an attribute to the chemical compound, it seems logical to me that it would be a subscript.

Where is the "common mistake"?
 
  • #311
Wikipedia is wrong and repeats a common mistake that state of aggregation should be written as a subscript. It shouldn't be. There is only one decisive source of information here, http://www.iupac.org/reports/provisional/abstract05/GreenBook051206_prs.pdf , General Chemistry section, Other symbols and conventions in chemistry (2.10.1), (vi) States of aggregation.

Note: could be there is already a newer version of Green Book, I just copied/pasted what I posted several years ago at CF.
 
Last edited by a moderator:
  • #312
Borek said:
Wikipedia is wrong and repeats a common mistake that state of aggregation should be written as a subscript. It shouldn't be. There is only one decisive source of information here, http://www.iupac.org/reports/provisional/abstract05/GreenBook051206_prs.pdf , General Chemistry section, Other symbols and conventions in chemistry (2.10.1), (vi) States of aggregation.

Note: could be there is already a newer version of Green Book, I just copied/pasted what I posted several years ago at CF.

All right. I accept that! :smile:

Btw, wikipedia now says: "An aqueous solution is a solution in which the solvent is water. It is usually shown in chemical equations by appending aq to the relevant formula." :wink:

(Next time wikipedia will be right!)
 
Last edited by a moderator:
  • #313
I like Serena said:
Btw, wikipedia now says: "An aqueous solution is a solution in which the solvent is water. It is usually shown in chemical equations by appending aq to the relevant formula." :wink:

(Next time wikipedia will be right!)

PF members in action. Outstanding. :cool:
 
  • #314
The PF Library is still using the old LaTeX processor. Could that be updated to MathJax?
 
  • #315
Redbelly98 said:
The PF Library is still using the old LaTeX processor. Could that be updated to MathJax?

ah yes thanks for reminding me
 

Similar threads

Replies
3
Views
4K
Replies
15
Views
25K
Replies
4
Views
3K
Replies
8
Views
2K
Replies
3
Views
935
Replies
4
Views
4K
Replies
3
Views
2K
Replies
3
Views
13K
Back
Top