0xDEADBEEF said:
It happened to my first answer to "Electric and Magnetic fields" in the Electrical Engineering forum. When I enclosed the tex source in tex brackets.
OK... a link to your post is [post=2590429]msg #2[/post] of thread "Electric and Magnetic fields". The post currently does not have tex tags applied, and it is not edited, so I presume this means you saw the effect occur when you used the "preview" feature while posting.
The tex formula is \gamma^{-1}A_M, which is correct, so it is not a case of invalid input. It really is a bug in the handling of correct tex input. With tags, the formula appears as
\gamma^{-1}A_M
With the inline tags, the formula appears as \gamma^{-1}A_M
In both cases it appears correctly in preview for me, but I don't doubt that it failed for you. The phenomenon you describe is very similar to the errors I noted in blogs and PMs, to which I linked in my first reply. In this case, when I preview the images they have the following form:
https://www.physicsforums.com/latex_images/preview58041-0.png
https://www.physicsforums.com/latex_images/preview58041-1.png
I have no idea what those links with give at present. But obviously, the server does not want to save images indefinitely that have been used only in a preview.
The URL for the images in the file post will be different, and I would have to put them in with an edit. But you can look at the url for the images yourself. It may be an unusual case with some kind of conflict leading to a mix up of images with another post being written at the same time; I don't know. But there is a problem here. My advice is to go ahead and post with the tags, and see how it looks then. I think that the URLs for posts tend to be reliable. If there is still a problem, you can always edit the post.
Without seeing the code I can't say what the problem actually is. But generally speaking, to save space with image files from latex, a reliable method would be to provide a hash table matching tex code to image files, with a reference counter for garbage collection. This way common latex formulae would have only one image file, and preview could be handled consistently with images for posts. chroot may like to consider this, and if I can help, feel free to PM me.
Cheers -- sylas