kpsewhich + script in Mac

Adam R. Maxwell amaxwell at mac.com
Wed Nov 27 17:24:11 CET 2019


> On Nov 27, 2019, at 06:25 , Paulo Roberto Massa Cereda <cereda.paulo at gmail.com> wrote:
> 
> 
> I am a bit puzzled on why kpsewhich is not found. I understand this is a path issue situation, but my Mac knowledge is almost non-existent. I thought TeX paths were globally visible...

Maybe I can help, as a cranky old Mac developer. GUI applications
launched on the Mac do not inherit environment variables from shell
config files. As a consequence, Mac applications that use TeX need the
full path to a binary (such as pdflatex), or need some way for users to
specify where the TeX install is located so you can add it to the PATH.

You can have a user test this by launching your application from
Terminal (e.g., /Applications/MyProgram.app/Contents/MacOS/MyProgram),
where it *will* inherit the PATH and other variables set in the shell.
If that fixes the problem, you should have a good idea how to proceed.

-- adam





More information about the tex-live mailing list