> You mentioned earlier that you couldn't run LyX from the console? I 
> wonder why not. Here Start->Run "command", followed by
>     <path to lyx>/lyx -dbg graphics,file > lyx.log
> works perfectly.

What I meant to say is that I can't get debug output displayed to the
console, or anywhere else for that matter. I usually start LyX from a
cmd.exe console. Your command specification doesn't work for me at all,
not that it particularly matters, except that I was hoping perhaps this
was a secret way to get debug output to a log file. I'm curious why you
run "command" rather than "cmd." Are you running on a Win9x box? I'm
running XP. BTW, see
http://www.hyperorg.com/blogger/mtarchive/001935.html for comments on
the difference between command.exe and cmd.exe, if you're interested.

All his as a prelude to stating I've never been able to run "lyx" from
the command line; only "lyx.exe". I finally looked into this and see
that get_binary_path() in package.C doesn't handle the case where
argv[0] provides the executable name minus the .exe extension. Note that
when you run from the Start->Run dialog, Windows apparently appends the
".exe" string if the user has neglected it. Not so, of course, from the
command line. This should probably be addressed since it's not uncommon
to launch from cmd windows without specifying the executable extension
(whether it be .exe, .bat, or .cmd).

Thanks
Rob

Reply via email to