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

Matthijs Velsink M.Velsink at arcnl.nl
Tue Mar 28 14:57:48 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

(P.S.: I tried sending this before, but I was not subscribed yet, and I believe that did not work?)



More information about the tex-k mailing list.