Enrico Forestieri wrote:

> Angus Leeming <[EMAIL PROTECTED]> writes:
> 
>> 
>> Enrico Forestieri wrote:
>> > Hi all,
> 
> [snip]
> 
>> > The second problem is that, in cygwin, python.exe is a soft link to
>> > the real program python2.4.exe and thus it is not recognized as an
>> > executable.
>> 
>> So why would soft links exist? Or do they work from within a Cygwin
>> environment,but not within a Windows environment?
> 
> The Cygwin documentation says that "Cygwin uses a mechanism that creates
> symbolic links that are compatible with standard Microsoft .lnk files",
> but I would say "mostly" compatible. As an example, after
> 'ln -s test.tex zzz.tex' I can access the real file test.tex through the
> soft link zzz.tex in an explorer window, but from a command line miktex
> says that it cannot find zzz.tex. And now I have discovered that a soft
> link to an executable is not recognized by the Windows cmd.exe.

Maybe you'll find this info, that Lior Silberman sent to me privately,
interesting:

On Sun, 12 Jun 2005, Angus Leeming wrote:
> See this post
> http://article.gmane.org/gmane.editors.lyx.devel/45730
> for more cygwin experiences.


Thanks for the pointer, Angus.

However, I looked at this post, and it seems to be wrong to me.  On my 
test system, windows is quite happy executing the symbolic link 
"c:\cygwin\bin\python.exe".  The main problem is that since that is a 
cygwin program, it needs paths specified as /cygdrive/c/... rather than 
c:\... -- after I fixed that in the viewer definition it started running 
the clean_dvi.py script.  The next hitch is the dv2dt and dt2dvp 
programs aren't installed here -- so I gave up for now.  Instead I created 
a direct LaTeX->DVI conveter and I'll ignore the cleanup step for now.

-- 
Angus

Reply via email to