Post editor double-pastes LaTeX

  • Context: LaTeX 
  • Thread starter Thread starter PeterDonis
  • 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
4 replies · 1K views
Messages
50,361
Reaction score
26,407
This is not a major gripe, but when quotes are automatically pasted into the post editor, anything that was LaTeX in the post being quoted gets pasted twice, once as either an image or roughly equivalent special characters, and once as the LaTeX source from the original post. Is there a way to eliminate the image/special characters and just have the LaTeX source pasted? It's annoying to have to go through and delete the other stuff every time.
 
Physics news on Phys.org
This just happens if you quote it by marking the text I think. Using "reply" or "+Quote" should not have this issue.
Getting the LaTeX source code with marking the text would be perfect.

Edit: Here are some parts to test:
##a^2+b^2=5##
Regular text again.
[tex]\LaTeX[/tex]
More regular text.
 
Last edited:
I mean those buttons at the lower right side of each post. I just saw the text-mark-things have the same labels but work differently. With them, I get the exact source code of the quoted post (minus quotes in it).
mfb said:
Edit: Here are some parts to test:

##a^2+b^2=5##

[tex]\LaTeX[/tex]
 
mfb said:
I mean those buttons at the lower right side of each post.

Yes, but then I have to cut and paste the entire post to take out the parts I don't want to quote, and to separate the quotes into multiple blocks if I'm responding to different statements. That's more of a pain than just deleting the extra copy of the LaTeX stuff.