On 25 Jun 2020, at 17:54, Jan-Erik Hägglöf
wrote: It is difficult to see the differences in this case, but I supply both logfiles
The two PATHs are not the same, so it is possible that one of the two uses a different mtxrun, context and/or luatex that is elsewhere in the PATH: test-by-shell-context.log:ENV > PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/janneman/context-osx-64/bin:/Users/janneman/context-osx-64/tex/texmf-osx-64/bin:/Users/janneman/scripts test-inside-with-mtxrun.log:ENV > PATH=/Users/janneman/context-osx-64/tex/texmf-osx-64/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/janneman/context-osx-64/bin:/Users/janneman/context-osx-64/tex/texmf-osx-64/bin:/Users/janneman/scripts but other than that, nothing stands out to me in that log. An interesting experiment would be to run the macvim-generated commandline (for the file with the error) in Terminal, and then that same commandline but with the PATH set as in macvim.
Now I also upgraded lmtx to latest version.
But still having problems? Best wishes, Taco