[tex-live] behaviour of kpsewhich on case-insensitive mac system

jfbu jfbu at free.fr
Mon Sep 18 20:39:14 CEST 2017


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?

Because as it stands portability of TeX documents
is diminished.

Best

Jean-François


More information about the tex-live mailing list