Stephen Harris <[EMAIL PROTECTED]> writes:
> 
> Never mind about the batfiles. I just saw what python.bat does
> and I'm sure the other batfiles do something useful also which
> I'll discover with some use. I have them in a good spot.

Let me briefly comment on why I needed them, one by one.

latex.bat: I needed this because /bin/latex was a symlink to /bin/pdftex
and a native LyX would not recognize it as a command. Note that the
problem with symlinks is rather subtle, because they would be recognized
as a command when you reconfigure LyX (as the reconfigure script is run
by sh.exe which is a cygwin app), but trying executing them through a
native app (LyX in this case) does not work, as they are not recognized.

pdflatex.bat: ditto

python.bat: ditto

xdvi.bat: I needed this because /bin/xdvi is a shell script and so it
is not an executable in the eyes of a native app. Also, xdvi needs X11
to run, so I had to set the DISPLAY variable.

Now, if you delete the symlinks and copy in their place the programs
the symlinks were pointing to, you don't need anymore the .bat files.

You still need the xdvi.bat because /bin/xdvi is a shell script.

> I have no more questions and I'm quite happy with Cygwin LyX140
> and the added versatility it offers, all due to your persistent efforts.
> 
> Thanks for all the advice and a great CygLyX installer and Howto, 

You're welcome.

-- 
Enrico




Reply via email to