----- Original Message ----- From: "Enrico Forestieri" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <lyx-users@lists.lyx.org>
Sent: Friday, February 24, 2006 6:29 AM
Subject: Re: LyX on Cygwin


On Fri, 24 Feb 2006 03:55:43 -0800, Stephen Harris wrote:

Yes, it was fairly easy with your hint. I put the epstopdf and
convert scripts in their own directoy at the beginning of PATH.
Shouldn't I do something else to connect them to epstopdf.exe
in Miktex\texmf and C:\ImageMagick\convert.exe ? I don't
have Tetex installed and I think not Cygwin's ImageMagick.
It seems too easy!

You should do nothing apart assuring that they are in the system PATH
which you can set through the "Advanced" tab in "Control Panel->System"
or use path_prefix (see below).


SH: I put C:\cygwin\bin in the PATH

Thar she blows! I had to copy lyx(-qt).exe to c:\cygwin\bin
because it complained about missing cywin1.dll and cygz.dll

No, don't do that. Simply add C:\cygwin\bin to the PATH as explained above. You could set path_prefix as in the native version through LyX preferences.
The path_prefix should be written in posix (cygwin) syntax and I suggest
that you put as the first elements the following ones:

/usr/local/bin:/usr/bin:/usr/X11R6/bin

and then fill in whatever you like using ':' as a separator.
In this way you can put the epstopdf and convert scripts in /usr/local/bin
which is searched first.

Once you filled in path_prefix in LyX as I suggested above, I think that
you could also remove C:\cygwin\bin from the system PATH, but I have not
checked it (Hmm... may be it doesn't work...)

--
Enrico


The View function doesn't work. It complains about missing
TeX class "article" when I first load the .lyx document and
C:\texmf~ is in my PATH. The Tex Information produces a
window but it contains no information.

I used mount -f C: /c  (not mount -f C: /cygdrive/c ?) as advised.

Path prefix had no entries which I thought was a bit strange.
I've tried both of these in Path prefix
C:/reader7/Reader/acrord32
/c/reader7/Reader/acrord32

I've tried both of these absolute paths in File formats Viewer
C:/reader7/Reader/acrord32
/c/reader7/Reader/acrord32
originally it just said Viewer pdflatex, acrord32, but didn't work.

The Working directory automatically generated by LyX is
C:/Cygwin/.xemacs

The tmp directory generated by LyX is C:/Cygwin/tmp

I also tried putting C:/texmf/miktex/bin in Path prefix
and also the path to article.cls which is in ~/.../base
separated from each other with a :  also :C:/reader7/etc

I'm not sure what is broken because of being a Pre version.
For instance Import Latex is missing, it just has text imports.
The spellchecker starts checking the second misspelled word.

Anyway your instructions are proven to work. A new user
can search the archives and find clarifications in this thread.
I've remembered to modify, apply, save, and Reconfigure.

My favorite test file, sample.lyx, does convert eps and jpeg,
Stephen





Reply via email to