----- Original Message ----- From: "Enrico Forestieri" <[EMAIL PROTECTED]>
To: <lyx-users@lists.lyx.org>
Sent: Saturday, February 25, 2006 9:46 AM
Subject: Re: LyX on Cygwin


Enrico Forestieri <[EMAIL PROTECTED]> writes:

On Sat, 25 Feb 2006 04:07:54 -0800, Stephen Harris wrote:
>
>> On Fri, 24 Feb 2006 14:13:04 -0800, Stephen Harris wrote:
>>
>>> The Tex Information produces a
>>> window but it contains no information.
>>
>> Yes, I also see this, but then this also happens with 1.3.7.
>>
>
> The good new is that I found the apparent problem. I had tetex-base
> installed for Cygwin. I uninstalled and Reconfigured and I got all
> my Viewers displayed. Also Tex Information is populated.

I am quite suprprised that it doesn't seem to work with the cygwin tetex.
I also have MikTeX so I didn't noticed it. However, in Tools->preferences
you will find an extra tab Outputs->Paths which is not present in a
non-cygwin build. Try unchecking "Use Cygwin-style paths" and see what
happens. I think that LyX is doing strange things as checking it seems
to produce non-cygwin-style paths while unchecking it, the paths seem to
be in cygwin-style. The logic seems to be reversed and it is really
confusing.

I tried installing the tetex-base, tetex-bin, and tetex-extra cygwin
packages, reconfigured LyX and everything seems to work as usual.
I did not even had to touch the "Use Cygwin-style paths" check button.

I tested almost everything, so I would say that it works for me.

--
Enrico


Yes I see lots of my stuff. When I use File->Open it still
displays the path in terms of /cygdrive/c/ which makes me nervous.

EF: That's strange, indeed. I get "/cygdrive/c" converted to "/c" when I
type it in the text input area in File->Open. Try the following command
and see what output it gives:

 cygpath 'C:\somepath'

Does it says "/cygdrive/c/somepath" or "/c/somepath"?
------------------------------------------------------------------------

[EMAIL PROTECTED] /c
$ cygpath c:\xemtex
c:xemtex

[EMAIL PROTECTED] /c
$ cygpath c:\xemtex\XemacsBak
c:xemtexXemacsBak

No slashes, no delimiter.

--------------------------------------------------

I am unable to convert sample.lyx into DVI or dvipdfm which
I can do in 137 but not in LyX140_pre3 compiled with Mingw.

I can do both with both a mingw and cygwin build, so it must be
something with your configuration.

I did see why Georg thought this was a .bb error, but I copied
the *.bb to the /c/cygwin/tmp directory after renaming the original
.bb files to the ones Cygwin was complaining about not finding.
That doesn't work. So this seems to be a LyX140 problem.

SH: The file is sample.tex found in C:\texmf\doc\dvipdfm (imported
to LyX) Maybe it is this particular file (not in general) but I can view
the graphics within LyX and convert to DVI with NativeWinLyX137
but not LyX140_3 or _5

These are the error messages produced by the attempted DVI conversion:
LaTeX Error: File '0_cygdrive_c_texmf_doc_dvipdfm_mwicks.bb" not found
LaTeX Error: File '1_cygdrive_c_texmf_doc_dvipdfm_transistor" not found

I reported this on bugzilla as bug 2299.
http://bugzilla.lyx.org/show_bug.cgi?id=2299 Georg Baum wrote #7:

"I can reproduce the problem with your file (after getting
the images from the dvipdfm distribution), and I also know
the cause: dvipdfm needs .bb files for all graphics. LyX
simply does not know that and does not copy these files to
the temporary directory where latex and dvipdfm are run.

This means that LyX 1.4 is currently not able to produce
pdf via dvipdfm if the file contains graphics. LyX 1.3.x
should have the same problem if you are using a temporary
directory. I'll try to fix this for 1.4.1 (or maybe 1.4.1
if it turns out to be unexpectedly difficult)." end of quote

------------------------------------------------------------------------

I unchecked 'use Cygwin paths' and couldn't tell any difference
in regard to converting to DVI (or checked for that matter).

I have /c/texmf/miktex/bin in Path prefix as instructed, maybe
you don't? I also put /c/ImageMagick in Path prefix because I
think the Cygwin ImageMagick might interfere similar to texmf,
and because it is consistent.

There seem to be two differences, maybe due to configuration?
Maybe you could test sample.tex imported to LyX sample.lyx?
C:\texmf\doc\dvipdfm\sample.tex
See if dvipdfm and DVI still work for you or if it is the file itself.

The other difference is that I have a populated TeX Information
and I can send you a screenshot of it present in CygLyxWin140_5.
I'm wondering if there are differences due to TeTeX vs. Miktex?

OTOH, if you are tired of this issue, the build is fine, thanks to you.
I've tried to consolidate our recent posts into this one.

Regards,
Stephen






Reply via email to