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

George N. White III gnwiii at gmail.com
Mon Sep 18 18:52:40 CEST 2017


On 18 September 2017 at 13:18, jfbu <jfbu at free.fr> 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
>
>
It would save some guessing in such (not uncommon) searches if we could use:

kpsewhich --ignore-case 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:
>
> $ touch foo
>
> $ mv foo Foo
>
> $ rm foo
>
> $ ls Foo
> ls: Foo: No such file or directory
>
> I was wondering why an `\includegraphics{example-image-A}` failed
> (which I got from some post on tex.sx) and I surmise from the above
> that this has possibly to do with kpsewhich or at least with the way
> pdftex finds files.
>
> I guess the rationale is that if kpsewhich were to be
> case-insensitive on OSes with case insensitive file systems,
> TeX documents would more easily behave differently on different
> systems ?
>
> Best
>
> Jean-François
>
>
>


-- 
George N. White III <aa056 at chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-live/attachments/20170918/3666eadd/attachment.html>


More information about the tex-live mailing list