[tex-live] behaviour of kpsewhich on case-insensitive mac system
zdenek.wagner at gmail.com
Mon Sep 18 20:46:32 CEST 2017
2017-09-18 20:39 GMT+02:00 jfbu <jfbu at free.fr>:
> Le 18 sept. 2017 à 19:36, Philip Taylor <p.taylor at rhul.ac.uk> a écrit :
> > jfbu wrote:
> >> Hi,
> >> I have a question,
> >> $ kpsewhich example-image-A.pdf
> >> $ kpsewhich example-image-a.pdf
> >> /usr/local/texlive/2017/texmf-dist/tex/latex/mwe/example-image-a.pdf
> >> But I am on a case-insensitive file system:
> > Windows 7 Ultimate, 64-bit; TeX Live 2016 :
> > Microsoft Windows [Version 6.1.7601]
> > Copyright (c) 2009 Microsoft Corporation. All rights reserved.
> > C:\Users\Philip.Taylor>kpsewhich PLAIN.TEX
> > c:/TeX/Live/2016/texmf-dist/tex/plain/base/PLAIN.TEX
> > C:\Users\Philip.Taylor>kpsewhich PLAIN.TeX
> > c:/TeX/Live/2016/texmf-dist/tex/plain/base/PLAIN.TeX
> > C:\Users\Philip.Taylor>kpsewhich Plain.TeX
> > c:/TeX/Live/2016/texmf-dist/tex/plain/base/Plain.TeX
> > C:\Users\Philip.Taylor>kpsewhich plain.TeX
> > c:/TeX/Live/2016/texmf-dist/tex/plain/base/plain.TeX
> ah... I see, and I understand Enrico's comment
> > It often happens that people
> > on Windows use wrong casing and are puzzled because
> > the same document doesn’t compile on another (non Windows)
> > machine.
> but I conclude that kpsewhich on Windows has different
> policy than on Mac.
> Shouldn't the kpsewhich on Windows act like on Mac
> and then only kpsewhich plain.tex would return a find?
I no longer have OS/2 but kpsewhich on OS/2 is case sensitive although the
file system is case insensitive.
> Because as it stands portability of TeX documents
> is diminished.
Included images are the greatest problem. If I get a document created on
Windows, it rarely works on my Linux computer and I have to fix names in
\input and \includegraphics.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the tex-live