Hi Richard,
I know of the discussion---actually I raised that question recently. But
using a third helper utility to bridge Lyx and a bib management app is
one thing, having a quick way (what Tobias said "one-key-stroke") to
insert citations from clipboard is another.
I think "insert-citation-in-one-key-stroke" method would be a very
useful, general feature, no matter what OS you are in.
Thanks for providing the command buffer method. I tried it. It works
well. I am thinking if LyX could have a command
"citation-insert-from-clipboard", where you don't need to append
literally the citation key list, it also would be great.
Thanks,
James
Richard Heck wrote:
It would be possible for someone to write the necessary code to get
reference pushing to work under windows, and there are work-arounds that
have been discussed in the list---maybe it was the devel
list---recently. How hard the code would be isn't obvious to me, but I
don't use Windows and so obviously can't do it myself.
Richard
Yu, James wrote:
Hi Richard,
I had the exact same question as Tobias'.
In pure Windows environment (without cygwin), the communication
between the Java-based JabRef and Window-based LyX is not possible (or
not available yet). So, the immediate question is that: once in the
JabRef we select a set of citations and copy it to the system
clipboard, how do we quickly and agilely "insert" it to the LyX.
Originally, I thought there could be a simple text field in the
citation insertion dialog, something like "insert from clipboard",
which would take whatever string in the system clipboard and insert it
to the Lyx. I am wondering whether this approach was ever considered
by the LyX team.
Anyway, I am going to try out your method. Hope it serves the same
purpose nicely.
Thanks,
James
Richard Heck wrote:
Tobias Krause wrote:
usually when I insert a citation I already have the complete
BibTeX-Key in the clipboard - is there a faster way to insert the
citation than clicking Insert -> Citation,...?
Use the mini-buffer. The first time, you'll have to hit alt-x to focus
it, type "citation-insert " and then paste the key. But the next time,
you hit alt-x, up arrow (history), ctrl-shift-left-arrow (highlight the
key), and paste. Of course, if you use the mini-buffer for something
else, you may have to up-arrow a few more times. But it's faster than
what you're doing.
That said: If you've got the key in the clipboard...did you get it from
somewhere that could push it through the lyxpipe? Or are you, sadly, on
a system that doesn't do that?
Richard