I can no longer render LaTeX

  • Thread starter Thread starter renormalize
  • Start date Start date
  • Tags Tags
    Latex
Click For Summary
Users are experiencing issues with LaTeX rendering in posts, particularly after a recent software update. Attempts to refresh or use the preview function often result in LaTeX code being converted to an uneditable ASCII format, complicating recovery efforts. Workarounds include posting, refreshing, and editing, but these are seen as inadequate and frustrating. The editor's performance has also been noted as laggy, further hindering the user experience. Ongoing efforts are being made to resolve these issues, with hopes for improvements in future updates.
renormalize
Science Advisor
Gold Member
Messages
1,120
Reaction score
1,287
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
I can reproduce this in Android Firefox.

Occam's razor makes me suspect it's related to the software update yesterday, @Greg Bernhardt.
 
  • Like
Likes renormalize and Greg Bernhardt
Something changed with the editor. I'll look into it.
 
  • Like
Likes renormalize and Ibix
hmmm this is a tough one. I'm at a bit of a loss. Nothing I'm trying is close to working.
 
I observed that refreshing the page makes a difference. As long as I do not refresh or preview + refresh my code while editing, everything seems ok, but one refresh or preview + refresh, and it turns into a mess with several problems, up to not being able to add anything to it.
 
Test without refresh or preview: ##\begin{pmatrix}1&0\\0&1\end{pmatrix} ##
 
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.
 
  • #10
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.
 
  • #11
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.
 
  • #13
Making small progress. I can get the preview to render latex, but it also breaks regular post latex rendering globally :rolleyes:
 
  • Like
  • Sad
Likes PeroK, Ibix and JimWhoKnew
  • #14
The "Insert Symbol" button seems to have disappeared from the ribbon at the top of the box.
 
  • #15
mjc123 said:
The "Insert Symbol" button seems to have disappeared from the ribbon at the top of the box.
See:
 
  • #16
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.
 
  • #17
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.
 
  • #18
Greg Bernhardt said:
Still working on a fix. Hoping for next week.
Thanks for everything. Much appreciated :bow:
 
  • Like
Likes Greg Bernhardt
  • #19
Greg Bernhardt said:
Still working on a fix. Hoping for next week.
It shouldn't be broken in the first place.
 
  • Wow
Likes renormalize
  • #20
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!
 
  • Agree
Likes Greg Bernhardt
  • #21
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.
 
  • Like
Likes renormalize, fresh_42 and Ibix
  • #22
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.
Adapted. One of the great advantages of using AutoHotKey.
 
  • #23
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.
 
  • #24
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:
  • Like
Likes JimWhoKnew and PeroK
  • #25
fresh_42 said:
It does not really work.
yeah it's rendering the returns. keep the tag on the same line as the start of the latex
 
  • #26
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?
 
  • #28
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.
 
  • #29
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: v(t) = L \frac{di(t)}{dt}

Example of stand-alone LaTeX:
v(t) = L \frac{di(t)}{dt}
-----------------------------------------------------
 
  • #30
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.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
481
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 4 ·
Replies
4
Views
4K
Replies
15
Views
9K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 32 ·
2
Replies
32
Views
8K
  • · Replies 147 ·
5
Replies
147
Views
19K
  • · Replies 3 ·
Replies
3
Views
2K