On Sun, Jul 04, 2021 at 05:15:43PM +0200, _johnny7_...@web.de wrote:
> Hello,
> 
> is there a way to paste text (from a source such as LibreOffice) into
> LyX and keeping the words in italics emphasized?
> If not, could such an option be implemented?

Hi _johnny7,

In theory this should be possible. When copying, LibreOffice writer appears to 
save two MIME types, plain text (which does not preserve the italics), and HTML 
(which should). LyX can import HTML, so in theory you might be able to go to 
Edit > Paste Special > Paste from HTML. However, I just tested this and it 
didn't work for me. And unfortunately I don't have time to look into why it 
didn't work, but I still write this email just in case anyone else wants to dig 
:)

Note that "Paste from HTML" does not show up in the menu in some cases. In my 
opinion this should be greyed out instead of invisible.

It might work more smoothly if you are willing to export to a .html file and 
then import that from LyX. That's not as convenient as using your system 
clipboard, but it might work better.

Scott

Attachment: signature.asc
Description: PGP signature

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to