On 09/10/2016 03:16 PM, David Rosenberg wrote:
With the newer versions of LyX (I'm in 2.2.1 now... I think before I
was using 2.1), I'm having trouble figuring out a clean way to
duplicate a frame. In the older versions, I would select everything
from Frame until the end of the frame separator, then copy and paste.
Now I can only select 'Frame' and the separator above it together, so
my technique doesn't work.
I'm wondering what the clean way to do this is in 2.2.1, and also if
how I could make a command-sequence to do this, so I can bind it to a
keystroke.
Thanks much!
David
I assume you want to copy the title as well as the contents of the
source frame. The following works for me:
1. Copy the frame from the title line to the end of its contents. (This
will not include any separators.)
2. Move the cursor to the point where you want to insert (this will be
inside the frame that will precede the new one) and start a new
frame. I use the cua binding and have "Ctrl+Alt+Return" bound to
this, but you can also use Edit > Start New Parent Environment
(Frame) or the key combo bound to that (Alt+P Shift+Return in my case).
3. The cursor will be inside the title inset of a new frame. Backspace
once to exit the inset, then paste the contents of the clipboard.
Paul