Re: Installing TeXlive 2021 scheme-minimal: I can't find file `dehypht-x-2021-02-26.tex'

Philipp Tempel latex at philipptempel.me
Fri Jul 2 16:03:18 CEST 2021


Hi,

I didn't know kpse treats double slashes differently than unix shells do. iirc, unix shells don't care if there is more than one consecutive slash, they are disregarded.

Read a bit about kpathsea, never needed it before, and found out that indeed "two or more consecutive slashes in a path element following a directory d [are] replaced by all subdirectories of d".
Good to know.

But confusing nonetheless, as I didn't know about this "feature" ;) of kpathsea and so it startled me.

Maybe your suggestion of sanitizing the input beforehand is a good choice--assuming that the double slashes actually the root cause of my problem.

Have a nice weekend,

Philipp

E: latex at philipptempel.me


On Fri, Jul 2, 2021, at 12:47 PM, Norbert Preining wrote:
> Hi Philipp,
> 
> > On that note though, what now really confuses me: how can a double slash in `TEXMFSYSCONFIG and TEXMFSYSVAR cause this behavior? Particularly cause an error that emerges only when installing the three smallest schemes (infraonly, minimal, basic) but with scheme-small and higher there is no more issues?`
> 
> double slashes have a special meaning in kpse, that they search
> recursively all directories below the given one.
> 
> That has been like this since the dawn of humans ;-)
> 
> Still, there are a few things I am contemplating:
> - first I need to check why the double slash disturbed the whole system
> - second, I think it would be nice if we automatically clean input
>   like this and remove double slashes, nobody in their right mind will
>   want that, and if, they should fix it afterwards.
> 
> @Karl, what do you think?
> 
> On Fri, 02 Jul 2021, Mojca Miklavec wrote:
> > I tend to believe that double slashes have some special meaning to
> > kpathsea, but I don't know (and didn't bother investigating) the
> > details.
> 
> Mojca ... is this you ... I can't believe? :-DDD
> 
> Best
> 
> Norbert
> 
> --
> PREINING Norbert                              https://www.preining.info
> Fujitsu Research  +  IFMGA Guide  +  TU Wien  +  TeX Live  + Debian Dev
> GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-live/attachments/20210702/b4272520/attachment.html>


More information about the tex-live mailing list.