Stephen Harris wrote:
SH: I didn't understand the syntax of that tex2lyx.cmd file, so I rewrote it so that I could understand it and put in a few more LyX references in XP's Path.

@echo off
    set LYX_DIR_=c:\lyx\resources\lyx
c:\lyx\lyx\bin\tex2lyx.exe -f -sysdir C:\lyx\resources\lyx %1 > temp.lyx

C:\Python24\python c:\lyx\lyx\resources\lyx\lyx2lyx\lyx2lyx --to 221 --output %2 temp.lyx del temp.lyx

SH: You may think this is ugly coding but it tex2lyx now works automatically!

Why not get in touch with Nicolás <beconico AT gmail.com> and come up with a "best of breed" .cmd file that you can upload to the wiki?

Angus

Reply via email to