On Mon, 25 Jan 1999, Ralf Plaenkers wrote:

> Jean-Marc wrote:
> 
> > Until then, you can get it from 
>http://www-rocq.inria.fr/~lasgoutt/lyx/bibviewlyx.patch.gz
> >
> > If Bernhard can do a bit of packaging (explanations...) around it, we could put it 
>on the ftp site.
> >
> > JMarc
> >
> 
> Thanks, I got it and it compiled nicely.
> It doesn't work, though.
> I set up the LyX server (pre6) as explained in a previous mail
> and pushed the lyx-cite-insert button of bibview
> and ....... nothing happened!
> The lyx server runs fine and bibview finds its pipe,
> otherwise it would yell "Can't open pipe, ..."

I have tried to use bibview with these patch and everything works very well.
I used the lyx 1.0.0pre2 and bibview 2.2 with the patch both running on an
dec-alpha machine with digital unix 4.0.

Maybe I have to add some notes. Bibview assumes that the pipe of the
lyx-server is located in your HOME-Directory, set by the enviroment-variable
HOME. Furthermore the pipe must be called .lyxpipe in your lyxrc file.
The problem which may arise is, that if you have a line like this

  \serverpipe ".lyxpipe"

in your lyxrc file, lyx established the pipe in the directory from which you
have called lyx. Then bibview won't find the pipe (because it looks for it
in the HOME-directory) and no communication can be established. Solution:
 a) specify your full home-path in the \serverpipe
 b) change the lines of the bibview-code (file ctl_card.c)
    from: strcpy(pfad,getenv("HOME"));
          strcat(pfad,"/.lyxpipe.in");
    to  : strcpy(pfad,".lyxpipe.in");
    but then you have to run bibview from the same path as you started
    lyx.

hope this help

  Bernhard

--------------------------------------------
Bernhard Kohn
Max-Planck-Institut fuer Stroemungsforschung
Bunsenstr. 10
37073 Goettingen

Tel.: 0551-5176-578 Buero I
               -574 Buero II
               -709 Labor

Fax:  0551-5176-607 
               -704 

email: [EMAIL PROTECTED]
--------------------------------------------

-- 
                +++ the lyx project user mailing list +++
                To unsubscribe from this list send mail to 
                         [EMAIL PROTECTED]
                    with the **Subject** unsubscribe.

Reply via email to