On Wed, Aug 13, 2003, Michael Logies wrote:

> Win XP Prof, Miketex 2.3, Lyx-Qt 1.3.2.
> 
> when I export my *.lyx as *.tex and import it again, it cannot be openend:
> 
> Cannot convert file
> Error while executing
> reLyx -f "foo.tex"
> 

First, check the reLyx.bat file that Ruurd provides, in the lyx/bin directory.
I had to change it to make sure the paths are correct.  It should look
something like this:

@echo off
rem Wrapper script for Win32
rem written by Ruurd Reitsma
set PERLLIB=c:\lyx-1.3.2\lib
c:\lyx-1.3.2\bin\perl.exe c:\lyx-1.3.2\bin\reLyX %1 %2 %3

(change the "c:\lyx-1.3.2" to the correct location on your computer).


I also found it necessary to make the same sorts of changes to the file
lyx/share/lyx/lyx2lyx/lyx2lyx.bat, which (for me) now looks like:

@echo off
rem Wrapper script for Win32
rem written by Ruurd Reitsma
rem c:\lyx-1.3.2\bin\sh.exe --login %0
c:\lyx-1.3.2\bin\python %0 %1 %2


I don't actually know enough windows batch programming to understand the
original versions -- presumably they must work for most people, and there
is something funny/missing on my machine.  But the changes listed above
solved the problem for me, so I hope they will help others.

..dave case

p.s. thanks again to Ruurd Reitsma for putting this package together!

Reply via email to