Paul wrote:
.....
Indeed, that's the problem.  Since Vivek uses startlyx.bat, the path of
least resistance may be as follows:

1.  Start LyX the usual way (with startlyx.bat), which also starts the X
server.

2.  Stop LyX using the File | Exit menu option, but *leave the X server
running*.

3.  Open a shell (bash) window and enter the commands from the web page.
Note:  On my installation, at least, the startlyx batch file opens an
xterm window, but the paths seem to be screwed up -- it can't find LyX.
Being too lazy to fix that, I just killed it, opened a bash window (by
running cygwin.bat), and did everything there.  In order to make that
work, there are a couple of extra steps.  Either immediately before or
immediately after entering the FILE= line (but definitely before calling
lyx), you have to enter the following two lines:

DISPLAY=127.0.0.1:0
export DISPLAY

Then proceed as in the web page.

4.  I believe there is a missing closing quote on the web page, in the
last command (which I presume belongs after $FILE and before >).

FWIW, I tried the commands on the web page (substituting my login name
for "jean").  LyX started ok, but the file never loaded.  On Claus
Hentschel's web page, I'm pretty sure he notes that commands requiring
pipes don't work on the Windows port.  (Pipes on Windows are an
adventure.) (Like everything else on Windows.)  After shutting down LyX,
the X server and the bash shell, I looked in ~/.lyx.  The lyxpipe.in file
was there, and it contained the file-open command but not the hello
command (which I assume means that lyx had picked that command up from
the pipe).

_____
Dear Paul
we are nearly there but not quite.

I did as above and see a new file created: c:\cygwin\home\Default User\.lyx\lyxpipe.in

On pushing a selected reference from JBibtexManager it enters a line in the lyxpipe.in document but nothing appears in the lyx window to suggest the reference has been added.

On trying to push another reference I see the previously entered line in lyxpipe.in replaced by a new line corresponding to the new reference I tried to push but nothing in the lyx file.

I am close to making it work but not quite; what do we need to do let lyx see and take the input from the lyxpipe.in file?

it also pushes the "hello" word to lyxpipe.in but not into the lyx file I have opened.

regards
vivek




Reply via email to