Tim Michelsen wrote:
Hello,
I discovered that copying insets with normal procedures either through the Edit menu or keyboard shortcuts (CTRL+C -> CTRL+V) doesn't work on my installation (details see below).

Steps to repoduce:
1) Insert any ERT inset
2) insert a Lyx note
3) select the ERT inset
4) copy the selected inset like mentioned above
5) try to paste the inset in the note => this fails for me. I can only copy/paste insets in the old unix style: selecte with right mouse button and paste insets with the middle mouse button.

Is this intended by the developers?
Do others who work on Ubuntu have the same problem?
Is this a bug?
Shall I file a report?
Is it a bug of the Ubuntu package or Lyx?

I think copying&pasting insets should works in the same way as copying normal text in Lyx.

This all works for me using 1.5.5svn on Fedora 8 under KDE. But there are some known (and, I think, not very well understood) problems with cut-n-paste under X, so you may be seeing one of those. If you have another window manager than whatever you're using, you might try it under that just to see what happens. And you might try grabbing current svn and compiling that. It's generally pretty simple to do, once you have the devel packages you need installed. You'll need subversion, the autotools stuff and, of course, the gcc compiler, as well as qt4-devel, or whatever it's called under Ubuntu. Then just do this:
   mkdir /home/you/lyx-devel/
svn co svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X/ /home/you/lyx-devel/
   cd /home/you/lyx-devel/
   ./autogen.sh
./configure --disable-debug --disable-stdlib-debug --enable-static --disable-pch #or whatever you want
   make
   sudo make install
where this last will install to /usr/local/. (Presumably Ubuntu has the main LyX package under /usr/.) Then just /usr/local/bin/lyx and off you go.

Richard

Reply via email to