I can no longer render LaTeX

  • Thread starter Thread starter renormalize
  • Start date Start date
  • Tags Tags
    Latex
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
74 replies · 13K views
Messages
1,329
Reaction score
1,555
I just tried to post a message with LaTex using Windows Chrome but it fails to render using the Preview button, even after refreshing the page several times. I've logged out of my account and deleted all saved cookies associated with PF but still no luck. I've never before encountered problems posting LaTeX until this week. Any suggestions?
 
Physics news on Phys.org
A new result: I looked at my unposted message and the LaTeX code has been converted to an ASCII version:
−∇⋅[ρ∇ψ(r,θ)]=(sxx−syy)ΔTsin⁡2θlog⁡(ro/ri)r2[H(θ)−H(θ−π/2)]+syyΔTlog⁡(ro/ri)r2δ(θ−π/2)−sxxΔTlog⁡(ro/ri)r2δ(θ)
But now I'm unable to recover the raw code, nor can I properly render it!
 
renormalize said:
A new result: I looked at my unposted message and the LaTeX code has been converted to an ASCII version:
−∇⋅[ρ∇ψ(r,θ)]=(sxx−syy)ΔTsin⁡2θlog⁡(ro/ri)r2[H(θ)−H(θ−π/2)]+syyΔTlog⁡(ro/ri)r2δ(θ−π/2)−sxxΔTlog⁡(ro/ri)r2δ(θ)
But now I'm unable to recover the raw code, nor can I properly render it!
Once it is ASCII there is no way to recover it. I had a couple of attempts.
 
fresh_42 said:
Once it is ASCII there is no way to recover it. I had a couple of attempts.
Undo (if you're using the rich text editor or a laptop or something where ctrl-z will work) used to work to recover your original LaTeX when this bug was around before. Probably not once you've left the page, though.
 
Ibix said:
Undo (if you're using the rich text editor or a laptop or something where ctrl-z will work) used to work to recover your original LaTeX when this bug was around before. Probably not once you've left the page, though.
Yes. The "refresh" command is the critical point. This is therefore problematic since it has to be used if the "preview" option doesn't render LaTeX.
 
renormalize said:
I just tried to post a message with LaTex using Windows Chrome but it fails to render using the Preview button, even after refreshing the page several times. I've logged out of my account and deleted all saved cookies associated with PF but still no luck. I've never before encountered problems posting LaTeX until this week. Any suggestions?
I still have this problem. No "preview", "refresh", backward nor forward helps. If I submit the reply and refresh, I can see the LaTeX, but then I send some premature notifications to some innocent honest members. If I go back to editing, LaTeX disappears again.
 
mjc123 said:
The "Insert Symbol" button seems to have disappeared from the ribbon at the top of the box.
See:
 
JimWhoKnew said:
I still have this problem. No "preview", "refresh", backward nor forward helps. If I submit the reply and refresh, I can see the LaTeX, but then I send some premature notifications to some innocent honest members. If I go back to editing, LaTeX disappears again.
I installed FireFox 113.0.2 in hope to overcome the rendering issue. Now it is even worse. Preview mode only works on rare occasions, and when it does, exiting preview mode ruins all LaTeX.
 
JimWhoKnew said:
I installed FireFox 113.0.2 in hope to overcome the rendering issue. Now it is even worse. Preview mode only works on rare occasions, and when it does, exiting preview mode ruins all LaTeX.
Still working on a fix. Hoping for next week.
 
Reply
  • Like
Likes   Reactions: JimWhoKnew
Greg Bernhardt said:
Still working on a fix. Hoping for next week.
Thanks for everything. Much appreciated :bow:
 
Reply
  • Like
Likes   Reactions: Greg Bernhardt
I ran into this problem recently and found this thread. I was going to say that next week was last week, but I guess one could argue that it's never next week. Hoping for a fix soon!
 
Reply
  • Agree
Likes   Reactions: Greg Bernhardt
tex and itex bbcode brackets now work in preview but the short hand ## and $$ currently do not. I'll continue to work to get those working. Progress is being made.
 
Reply
  • Like
Likes   Reactions: renormalize, fresh_42 and Ibix
Greg Bernhardt said:
tex and itex bbcode brackets now work in preview but the short hand ## and $$ currently do not. I'll continue to work to get those working. Progress is being made.
Not sure if this is related, but the editor box is extremely laggy for me since this announcement. I'm frequently typing two words ahead of the text in the box. It might just be my phone being rubbish, but thought I'd comment in case others are experiencing this.

Firefox 139.0.4 on Android.
 
Greg Bernhardt said:
tex and itex bbcode brackets now work in preview but the short hand ## and $$ currently do not. I'll continue to work to get those working. Progress is being made.
It does not really work. The code

Just multiply the sums:
Code:
[tex]
\left( \sum_{n=1}^\infty a_n \right) \cdot \left( \sum_{m=1}^\infty b_m \right)= \sum_{k=2}^\infty \sum_{n+m=k}a_nb_m= \sum_{n=1}^\infty \sum_{m=1}^\infty a_nb_m
[/tex]
by the distributive law. The real question is why you can swap the infinite summation with the integral.

led to

1750801603561.webp


My current workaround is "post"+"refresh"+"edit" (repeat as long as necessary). I added a comment "Do not answer. This post is still under construction." at the beginning of longer posts and delete this line when I'm done.
 
Last edited:
Reply
  • Like
Likes   Reactions: JimWhoKnew and PeroK
Greg Bernhardt said:
yeah it's rendering the returns. keep the tag on the same line as the start of the latex
The color trick to prevent code from rendering also isn't working anymore. It seems to strip the color tags.

It looks as if this whole thing is really complicated to fix. Just a question: MSE uses a MathJax version that renders LaTeX one-to-one, why can't we do the same?
 
Greg Bernhardt said:
What is MSE?
https://math.stackexchange.com/
Greg Bernhardt said:
What is one-to-one?
You can type LaTeX code in their MathJax version, and it renders as a LaTeX editor would, including dollar instead of double sharp and double dollar as usual. The preview is below the edit window, and it updates immediately. I don't like the forum for several reasons, but their editor is nice.
Greg Bernhardt said:
The problem is the Xenforo 2.3 editor.

I also know a forum that uses Xenforo with an even worse editor.
 
Hmm, something seems extra-broken today; testing:

-----------------------------------------------------
Example of in-line LaTeX: ##v(t) = L \frac{di(t)}{dt}##

Example of stand-alone LaTeX:
$$v(t) = L \frac{di(t)}{dt}$$
-----------------------------------------------------

using [ itex ] and [ tex ]:
-----------------------------------------------------
Example of in-line LaTeX: [itex]v(t) = L \frac{di(t)}{dt}[/itex]

Example of stand-alone LaTeX:
[tex]v(t) = L \frac{di(t)}{dt}[/tex]
-----------------------------------------------------
 
I lost my favorite

Code:
\begin{align*}
\ldots & \ldots \\
\end{align*}
environment. The ampersand doesn't work in the preview; plus, it requires extra math tags, which it does not in the final version.

My best workaround is still:

a) Line 1: Do not answer, this post is still under construction.
b) do while necessary: type, post, refresh, edit
c) delete Line 1

I think that the code changes created more trouble than they solved. The preview function should simply be equal to the post+refresh function, just without actually posting.
 
Reply
  • Like
Likes   Reactions: JimWhoKnew