----- Original Message -----
From: "Charles Schulz" <[EMAIL PROTECTED]>
To: "Stephen Harris" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Sunday, March 12, 2006 10:03 PM
Subject: Re: No VIEW->DVI in LyX Win32
Stephen,
Haven't used ghostcript from within LyX, so this might be another thing
that is broken.
Ya, I had the missing layout problem also. Was able to fix that, I think
that updating the path environment variable and rerunning ./configure was
what fixed that.
SH: Under File formats->DVI->Viewer->Yap
You want xdvi to be there. If I have a problem I use
the absolute path. But I've seen it recommended to add
the helper app to Paths->Path prefix
You should have several entries generated there, mine reads
/usr/local/bin:/usr/bin:/usr/X11R6/bin:/c/Imagemagick/:/c/texmf/miktex/bin
:/c/reader7/Reader:/c/gs/gs8.51/bin/:/c/ghostgum/gsview (in one line)
Don't fully understand. In the "File formats" usder the DVI format, I
have a "Viewer" field, but I don't know what you mean by "Viewer->Yap".
Yap is a DVI viewer. I was showing my settings. I meant for you to
replace Yap with Xdvi, or if it was empty, to insert xdvi as your Viewer.
xdvi is a file in Cygwin and I suggested if there was a problem, to use
the full path to xdvi, something like
(cygdrive)/c/cygwin/location/of/file/xdvi
modify,apply,save. Sometimes you have to Reconfigure. Like Paul said.
Later:
Made some significant progress. Seemed to be principally using the
Edit->Reconfigure which I hadn't noticed before. Have the conversion menu
items now, some of which work.
What I learned:
1) I am running the Win32 version of LyX.
2) The paths in Edit->Preferences need to be in Windows format.
3) Not all of the Cygwin helpers launch correctly from WinLyX (yet). Will
experiment more on this.
Actually LyX is working much better now. I wasn't getting WYSIWYG, so had
to do the DVI - LaTeX - xdvi thing to see fomatted view. Also getting
TOC's now.
I was able to get PDF view working by hacking Adobe Reader in as one of
the viewers. xdvi doesn't launch correctly at this time, and trying to
launch gv causes an illegal instruction exception.
During the installation it asks for gswin32c, used for ghostscript,
and that file is contained in a Windows distro of ghostscript, but
I didn't find that file in the Cygwin installation. Adobe Reader is
a Windows program and normally works with WinLyX137v2.
Likewise Ghostscript8.51 and Ghostgum. The pdf viewer that
comes with Cygwin is xpdf.
I will try to put together a how-to when (if) I get this working.
Thanks for the help.
Chuck
You are welcome, good luck. You made more progress than I did.
I think my Cygwin installation may be corrupted by old installations
and my Latex seems not to be working outside of LyX.
Regards,
Stephen