Tex images should be regenerated directly

  • Thread starter Thread starter TriKri
  • Start date Start date
AI Thread Summary
Tex images in the forum do not update automatically when changes are made to the LaTeX code, which hinders the ability to preview modifications effectively. Users have found that refreshing the browser is necessary to see the updated images, indicating a potential issue with how browsers cache images with the same name. This problem also affects previously posted messages, where edits to LaTeX may not display correctly until the page is refreshed. Suggestions include renaming the generated images to force a refresh, although it is unclear if this solution has been attempted. Overall, the inability to see real-time updates for LaTeX code is seen as a significant inconvenience.
TriKri
Messages
72
Reaction score
0
I'm trying to write Tex code in this forum, but it's really annoying since the image generated won't be updated when I change the tex code and press "preview post". I think this is a necessity for it to work properly; if a change is made to the latex code you have to be able to see what it looks like and if something with the new code is wrong.

By the way, my web browser is FF 3.6.13, I don't know if that has anything to do with it. I've noticed that if I reload the page by pressing the refresh button (or by going back and the forward again in the browsing history) I will get the new image that is generated for the code.
 
Last edited:
Physics news on Phys.org
TriKri said:
I'm trying to write Tex code in this forum, but it's really annoying since the image generated won't be updated when I change the tex code and press "preview post". I think this is a necessity for it to work properly; if a change is made to the latex code you have to be able to see what it looks like and if something with the new code is wrong.

We've just gotten used to clicking the Refresh button in our browsers whenever we change Latex code. Yes it is annoying, but for some reason, this is a difficult thing to fix.
 
Yes, when I noticed that clicking refresh would bring up the new image it was quite okay. Isn't the problem that the web browser thinks that the image still looks the same since it has the same name, and therefore doesn't reload it? In that case I think the problem would be solved by giving the regenerated image another name, but maybe this has already been tried out?
 
I've just discovered a new aspect to this bug which I don't remember anyone mentioning before. As well as affecting previews, it seems it can sometimes affect posted messages too -- if you go back to re-edit a message you have already posted, and change the LaTeX, after posting you may find the old equation being displayed until you refresh the page (even if you previously refreshed the preview page to get the correct equation).
 
I want to thank those members who interacted with me a couple of years ago in two Optics Forum threads. They were @Drakkith, @hutchphd, @Gleb1964, and @KAHR-Alpha. I had something I wanted the scientific community to know and slipped a new idea in against the rules. Thank you also to @berkeman for suggesting paths to meet with academia. Anyway, I finally got a paper on the same matter as discussed in those forum threads, the fat lens model, got it peer-reviewed, and IJRAP...
About 20 years ago, in my mid-30s (and with a BA in economics and a master's in business), I started taking night classes in physics hoping to eventually earn the science degree I'd always wanted but never pursued. I found physics forums and used it to ask questions I was unable to get answered from my textbooks or class lectures. Unfortunately, work and life got in the way and I never got further the freshman courses. Well, here it is 20 years later. I'm in my mid-50s now, and in a...

Similar threads

Replies
8
Views
5K
Replies
4
Views
5K
Replies
3
Views
2K
Replies
5
Views
7K
Replies
10
Views
2K
Replies
3
Views
3K
Back
Top