Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Mon, 5 Jan 2004 17:59:23 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Sam Steingold cc: cygwin AT cygwin DOT com Subject: Re: UNC paths in TeX In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Jan already answered this question (and provided a pointer to the documentation), but for completeness' sake... On Mon, 5 Jan 2004, Sam Steingold wrote: > > * Igor Pechtchanski [2004-01-05 16:28:16 -0500]: > > > > On Mon, 5 Jan 2004, Sam Steingold wrote: > > > >> It appears that TeX does not support UNC paths while ls does. > > Which TeX? > > tetex-2.0.2-13. That's what I assumed. > >> This is strange (I expected that to be handled transparently by the dll) > > > > Some applications "optimize" two leading slashes into one slash. This > > happens before the Cygwin DLL has a chance to see the path. Issuing > > "mount '\\host\path' /host/path" before the first command below should > > verify whether this guess is correct. > > $ mount //host/path/path1/path2 /host/path/path1/path2 > mount: warning - /host/path/path1/path2 does not exist. > mount: defaulting to '--no-executable' flag for speed since native path > references a remote share. Use '-f' option to override. > mount: /host/path/path1/path2: Permission denied Hmm, strange. Can you create system mounts? If not, try "mount -u" instead. WFM. > >> $ TEXINPUTS=//host/path:.: pdflatex gdm.tex > >> .... > >> ! LaTeX Error: File `oubraces.sty' not found. > >> ... > >> $ TEXINPUTS=/cygdrive/x/path:.: pdflatex gdm.tex > >> fine > >> $ ls //host/path > >> total 4 > >> 4 oubraces.sty > >> $ > >> > >> is this a known bug? > > > > Look in the TeTeX sources (I assume you're running tetex). I suspect > > this may be a feature that'll need to be disabled in the Cygwin > > version of TeTeX. > > is it really a good idea to do on any platform? Sometimes it is... For example, if you're concatenating two variables with a '/' between them (e.g., $a/$b), and the first one ($a) is set to "/"... > >> can I hope for a fix? > > > > Perhaps Jan (the tetex maintainer) has enough familiarity with the > > code to be able to tell offhand how large of an effort this is. > > Jan, would you please look at this? > Thanks! I believe he did. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/