[tex-k] epstopdf: win32 directory renamed to windows in TL2023

Matthijs Velsink M.Velsink at arcnl.nl
Tue Mar 28 12:50:36 CEST 2023


Hi,

In --restricted mode on Windows, epstopdf uses kpsewhich to validate filenames. However, its path is hardcoded as (line 504)

$kpsewhich = "$mydirname/../../../bin/win32/$kpsewhich";

"win32" was renamed to "windows" in TL2023, so this command always fails, making --restricted unusable.

I have temporarily fixed it by making a "win32" folder again and pasting kpsewhich.exe into it.

Perhaps a fix would be to check for the TL version, or to check if either a "win32" or "windows" folder exists in "bin"?

Best,
Matthijs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-k/attachments/20230328/f6fe4ff0/attachment.html>


More information about the tex-k mailing list.