[posted and mailed] "Frank Chu" <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]:
> Hi, folks, > > When I tried to > import a Latex file, it flashed out a DOS prompt window and > immediately closed that window (it seems it said "Bad Filename or > command" or things like that). Looks like I missed some script that > it tried to call for converting latex file ? BTW, my lyx's bin > directory is on PATH. If this is still a problem, try the following. Open a DOS window in the LyX bin directory, and type lyx -dbg 5 at the command prompt. It should open the LyX GUI. Now try importing your LaTeX file and (without closing the LyX window) switch back to the DOS window and see what messages you got relating to the import operation. Hopefully, if a script blew up, you'll find out which one (and maybe something about why) there. BTW, I agree that the %~p0 in reLyx.bat looks a bit goofy by Windows standards, but it works on my (XP) system. -- Paul ************************************************************************* Paul A. Rubin Phone: (517) 432-3509 Department of Management Fax: (517) 432-1111 The Eli Broad Graduate School of Management E-mail: [EMAIL PROTECTED] Michigan State University http://www.msu.edu/~rubin/ East Lansing, MI 48824-1122 (USA) ************************************************************************* Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different. J. W. v. GOETHE