> This is because the proper environment is not set. In order to launch
> LyX through the Windows GUI, you need a wrapper. Please compile the
> attached C source file, put the attached lyxprofile file in /etc and then
> create a shortcut to lyx-win.exe. When you launch LyX through this
> wrapper, everything should work Ok. You have to set the HOME environment
> variable in Windows (use the Windows style, it will be translated to
> posix style by the cygwin dll), but otherwise you should not do anything
> else. This is also how the cygwin package I provide works.

Thanks Enrico, it works very smoothly now.

> Well, I think it is already fully supported in trunk and partially
> supported in branch (where the SumatraPDF.sh script should be used).

I agree that SumatraPDF is supportable in trunk, but not in branch.
Case-insensitive filename comparison still appears broken in branch.

In the meantime, a workaround is still possible by editing the scripts
which invoke the LyX server.  I used the following sed command:
  file=`cygpath $1 | sed "s/tmpdir\.\(..\)/tmpdir\.\U\1/"`
But for some reason I was using the old lyxeditor.sh from:
  http://www.mail-archive.com/lyx-us...@lists.lyx.org/msg63984.html

>> Is there any hope of eventually seeing
>> reverse search in Win32?
>
> I think that it could be supported through the named pipe mechanism,
> but nobody until now has provided code for doing that.

Ah, so there is hope!  Too bad I'm (supposed to be) writing my thesis
now.  Thanks again for all your help!

-Ben

Reply via email to