[tex-k] epstopdf not usable in Git Bash for Windows

Siep Kroonenberg siepo at bitmuis.nl
Sat Mar 30 21:25:05 CET 2024


On Thu, Mar 28, 2024 at 07:20:01PM -0600, Karl Berry wrote:
> Hi Yukai,
> 
>     It seems the cause is, in Git Bash the path separator in PATH is unix-like
>     colon (:), not win-like semicolon (;), 
> 
> If you, or someone there, can create a patch to fix this (without
> breaking Windows or Cygwin), I'm happy to apply it. I have no knowledge
> of Git Bash and don't know how to distinguish it from other Windows
> cases.
> 
>     https://github.com/teatimeguest/setup-texlive-action/issues/292
> 
> I couldn't quite tell, but reading that bug, it seemed there might be a
> second issue, namely the hardwiring of the Windows paths to the TeX Live
> locations of kpsewhich and (tl)gs for restricted epstopdf.
> 
> I guess it would be fine to check first for kpsewhich and gs on PATH on
> Windows too, and only fall back to the hardwired locations if not
> available, since they are found along PATH under Unix, even for
> repstopdf. But again, I need to ask you to make a patch for that, if
> it's necessary. --best, karl.

I did a quick test installing Git on windows and attempting a
conversion with epstopdf on Git Bash, and it just worked.

But the Git installer asked an awful lot of questions, one about
path conversion. I did not take note of all my answers, but you
might want to look into that.

-- 
Siep Kroonenberg


More information about the tex-k mailing list.