Thanks, Paul,

Here is the error message I got in the debugging window when openning work1.lyx file:

Buffer::Buffer()
Assigning to buffer 0
Running 'C:/applications/lyx/share/lyx/lyx2lyx/lyx2lyx -t221 "C:/temp/work1.lyx"'


On the Lyx GUI, it said:
ERROR!
An error occured while running the conversion script.

Is that a bug ? BTW, work1.lyx is a good lyx file, in the sense that it is converted from a good lyx file on Unix (converted to DOS just by changing the end-of-line character).

Frank

From: "Paul A. Rubin" <[EMAIL PROTECTED]>
To: Frank Chu <[EMAIL PROTECTED]>
Subject: Re: A Question on Win32 Lyx
Date: Tue, 21 Oct 2003 16:04:44 -0400

[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

_________________________________________________________________
Surf and talk on the phone at the same time with broadband Internet access. Get high-speed for as low as $29.95/month (depending on the local service providers in your area). https://broadband.msn.com




Reply via email to