Problems with large LaTeX posts and Preview

  • Context: Bug 
  • Thread starter Thread starter PeroK
  • Start date Start date
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
14 replies · 835 views
Messages
29,808
Reaction score
21,630
kuruman said:
Is stuff missing from this post or is it my browser?
The Latex disappears. It comes and it goes. The software on this site has been problematic for years!

[Mentor Note: side discussion about LaTeX issue split off from original thread]
 
Last edited by a moderator:
Physics news on Phys.org
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}$$
 
PeroK said:
It works for a bit, but once there is a significant amount, it gives up. The preview stops working.
To clarify, you are saying that once of a latex threshold, preview stops working and it removes the code or? Do you get any errors? Anything in the browser console?
 
Claude appears to understand the problem. The key is this happening on posts with lots of equations and going back and forth with preview, edit. There is a lot of render thrash happening and the browser ejects. Working on a fix. Hope we don't run into a regression.
 
Greg Bernhardt said:
To clarify, you are saying that once of a latex threshold, preview stops working and it removes the code or? Do you get any errors? Anything in the browser console?
No error. Simply the text with all the Latex missing. Missing from the preview and also when I post.
 
Greg Bernhardt said:
Claude appears to understand the problem. The key is this happening on posts with lots of equations and going back and forth with preview, edit. There is a lot of render thrash happening and the browser ejects. Working on a fix. Hope we don't run into a regression.
That's what it seems like. I don't have an offline Latex editor. Is that what other people have? I've always relied on the site.
 
PeroK said:
I might just give up. It's hopeless. Waste of time.
Been there myself. If it helps any, I learned by experience, after losing my hard work several times, to copy and paste posts with many complex equations in a backup text file as I go along. I assemble the backup in small sections each of which I review and edit separately as if they were replies themselves. There is no need for an offline editor if you do it online in segments. When I am satisfied everything, I paste the assembled text file all at once in the thread.
 
Reply
  • Like
Likes   Reactions: PeroK
kuruman said:
Been there myself. If it helps any, I learned by experience, after losing my hard work several times, to copy and paste posts with many complex equations in a backup text file as I go along. I assemble the backup in small sections each of which I review and edit separately as if they were replies themselves. There is no need for an offline editor if you do it online in segments. When I am satisfied everything, I paste the assembled text file all at once in the thread.
Yes, I didn't lose anything, except the time messing around.
 
Regardless of the formatting failure, the Fibonacci sequence has an explicit formula known as Binet's formula, which contains sqrt(5). Pretty neat how square roots can appear out of nowhere. Also, it looks like the LATEX works. I can see @PeroK 's LATEX just right.
 
Reply
  • Like
Likes   Reactions: PeroK
PeroK said:
That's what it seems like. I don't have an offline Latex editor. Is that what other people have? I've always relied on the site.
If you have trouble using the Preview feature to check your LaTeX, you can use a website such as https://mathb.in/ or https://latexeditor.lagrida.com/ to preview your LaTeX before you post it.
 
Reply
  • Informative
Likes   Reactions: PeroK