[Tex/LaTex] Are there any (La)TeX editors that accept pasting rich text

copy/pasteeditors

If I copy text to the clipboard from a PDF file, web page, email, or Word document and then paste it to Word or Thunderbird, it is recognized as rich text and converted to Word's or Thunderbird's native format. Does anyone know of a LaTeX GUI (editor) that can do the same?

For example, if I copy "Do this now!!!" from this webpage and paste it into my favorite LaTeX editor, it should become Do \emph{this} \textbf{now!!!}. But all the LaTeX editors I've ever tried will handle pastes as plain text.

Addendum: There's nothing technically difficult about accepting some rich text features from pastes. Applications put objects on the clipboard in multiple formats, and the receiving application can choose a format it can handle. Any editor could request HTML and map all sorts of structured mark-up to LaTeX, from bold or centering to hyperlinks, to section headings and table structure, etc. Is there really no LaTeX editor that goes to the trouble?

Best Answer

LaTeX is build upon ASCII. What you are asking is a feature of the WYSIWYG world converted into the ASCII world.

But the ASCII world decided for another approach: There are converters from WYSIWYG to LaTeX. One mighty software is LibreOffice and its addon "writer2latex". You can throw RTF, *.doc or whatever into the writer and export it as LaTeX. If Libreoffice is not capable enough, because the RTF-file uses features not supported by the writer, then you are in trouble. But for italics and the like, this is the easiest way.


Edit 1.

OP comments (see below):

Keks, I am asking for nothing of the sort. I am asking for a standard feature of the GUI world that is sadly missing from LaTeX GUIs. I don't want bold text to look bold in my editor-- but it should become \textbf{text}.

I understand that. But what you ask for is exactly that kind of background changes people very often hate. They copy text from somewhere and don't want the software to imitate sense by providing whatever layout feature. They just want the text. And if they need more, they go for the converter.

One of the best feature of editors is not to behave like Word!

Related Question