Stephen Harris <[EMAIL PROTECTED]> writes:

[...]
> SH: So it seems to be working. The good news is that lyx-x11 works
> pretty well. It displays Tex Information whereas lyx-winbin does not.

This is quite strange, as both share the same user and system dir.
I think that this can happen only if you use tetex with lyx-x11 and
miktex with lyx-win. In this case you will see the TeX Information only
with the first one of the two you used for generating it. Try renaming
~/.lyx as ~/.lyx.save and then launch lyx-win asking for TeX Information.
I suspect that now you will see the TeX Information with lyx-win but not
with lyx-x11.

[...]
> lyx-x11 also uses xpdf and xdvi(k) Ok. A Postscript file seems to be
> made and the correct output quickly flashes on the screen but then
> quits with the error message: winMultiWindowXMsgProcErrorHandler -
> ERROR: BadWindow <invalid Window parameter>
> I can use Windows ghostview, however.

Uhm... this seems to be a X protocol error. May be this URL is useful:
http://www.rahul.net/kenton/perrors.html

[...]
> I can't use any Cygwin helper apps with lyx-winbin. They fail
> with a 'can't open display' whether I have started Xwin or not.
> I don't know if one of those batfiles written as a script would help.

This is because you have not set the DISPLAY variable. If you launch
lyx-winbin through its wrapper (lyx-win) everything should work if you
have Xwin running (lyx-win will not launch it, only lyx-x11 does)
because in this case /etc/lyxprofile gets read and there DISPLAY is set.
Try "setenv DISPLAY :0" if you use tcsh, or "export DISPLAY=':0'" if you
use bash, before launching lyx-winbin from the command line. You can
insert those setting in your $HOME/.tcshrc and $HOME/.bashrc,
respectively, such that you don't have to type them all the time.

> Nor does lyx-1.3.7_win32_setup_v2 (which Chuck is using)
> work with any Cygwin apps, with or without batfiles, with or
> without startx for Cygwin. It works with Windows apps, as
> expected, but what is the use of using Cygwin for LyX then?
> I have them installed in C:\lyxcyg\bin

It works for me with lyx-1.3.7_win32_setup_v2. You should rather put them
in ~\LyX\bin or have C:\lyxcyg\bin as the first component of PATH prefix.

-- 
Enrico



Reply via email to