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

Matthijs Velsink matthijsvelsink at gmail.com
Tue Mar 28 15:51:35 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 from Outlook, and I believe that failed?
Sorry for the spam otherwise...)


More information about the tex-k mailing list.