Paste text with italics

Scott Kostyshak skostysh at
Sun Jul 4 15:51:11 UTC 2021

On Sun, Jul 04, 2021 at 05:15:43PM +0200, _johnny7_ger at 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <>

More information about the lyx-users mailing list