On Mon, Apr 10, 2000 at 05:28:05AM +0300, Staffan Ringbom wrote:
> 
> Have enyoed the use of pybliographer and lyx-1.1.2.
> Insertion of referenxes are real fun! It goes directly and I have to
> admit that this feature give me some kicks!
> However, in the lyx-1.1.5cvs (from Sylvan's site) this feature is diluted.
> I can insert a references from pybliographer, but i get a "lyx insert citation
> pop-up menu"
> Ofcourse  I can insert the reference from the pop-uped lyx menu.

This is a bug in the lyxserver.
The following patch fixes it.
Index: src/lyxserver.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyxserver.C,v
retrieving revision 1.14
diff -u -p -r1.14 lyxserver.C
--- src/lyxserver.C     2000/03/28 02:18:53     1.14
+++ src/lyxserver.C     2000/04/09 12:54:53
@@ -527,7 +527,7 @@ void LyXServer::callback(LyXServer * ser
                        string rval, buf;
                    
                        if (action>= 0) {
-                               rval = serv->func->Dispatch(cmd);
+                               rval = serv->func->Dispatch(action, arg.c_str());
                        } else {
                                rval = "Unknown command";
                        }

Reply via email to