LyXCopy and Paste not working properly

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
omegaSQU4RED
Posts: 2
Joined: Thu Apr 05, 2012 4:54 pm

Copy and Paste not working properly

Post by omegaSQU4RED »

I've got an annoying problem with LyX 2.0.3 at the moment, where all of a sudden I am unable to copy and paste things exactly how they look in the document (i.e. I used to be able to copy formulae and headings and paste them with the original layout and formatting preserved). However, when I do it now, all I get is plain text (with some LaTeX code for formulae) without any formatting whatsoever. This is particularly annoying because I use LyX to type up my lecture notes, and it's hindering revision!

It happened when I tried copying a large section of a document and I received multiple identical warnings along the lines of "copying in default format" (I can't remember exactly what was in the error message) but there seems to be no option to rectify this. I've tried reconfiguring and reinstalling LyX but this doesn't seem to have worked.

Could someone give me a hand? I would greatly appreciate it! :D

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
RubenPV
Posts: 1
Joined: Mon Jun 04, 2012 6:17 pm

Re: Copy and Paste pasting maths and links as plain text

Post by RubenPV »

I have the same problem and I am afraid I do not have a satisfactory solution. Some users in other forums claim that their problem was solved by simply restarting LyX. This does not happen in my case. I have found one (inefficient)solution. Use copy, paste, then use undo and then go to the menu edit, choose paste recent and ... surprise, it copies OK. Really annoying, I hope that someone can provide a satisfactory answer soon.
omegaSQU4RED
Posts: 2
Joined: Thu Apr 05, 2012 4:54 pm

Copy and Paste not working properly

Post by omegaSQU4RED »

I've found a solution to this! Just go into Tools > Preferences > Shortcuts. Look for the command selection-paste. Remove the command from paste and just allocate Ctrl + V to the former command. It works now! :D
Last edited by cgnieder on Mon Apr 29, 2013 6:21 pm, edited 1 time in total.
simake
Posts: 1
Joined: Mon Apr 29, 2013 6:02 pm

Re: Copy and Paste not working properly

Post by simake »

Thank you. The last suggestion worked for me, too. It was very annoying otherwise.

Could you explain the rationale behind it?

Thanks
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Copy and Paste not working properly

Post by scottkosty »

simake wrote:Thank you. The last suggestion worked for me, too. It was very annoying otherwise.

Could you explain the rationale behind it?

Thanks
simake, I think this might be fixed on the latest version. Are you using LyX 2.0.5?

Scott
Post Reply