On Fri, Sep 18, 2020 at 01:48:16PM +0200, Felix Krause wrote:
In your case validformatpath is a subdirectory of $TMPDIR, under /var/folders/. However, if your Mac is anything like mine, /var is actually a symbolic link to /private/var, so that dir.current() reports a path starting with /private and the test fails.
Yes, this is the setup here as well.
That was rhetorical :-) /var and /tmp (as well as /etc) have been symbolic links for at least ten years, probably earlier.
You can work around that by setting TMPDIR to some other value, that doesn’t start with /var -- and not /tmp either because that’s also a symbolic link :-) It should work with a temporary directory in your home folder. Can you try that?
This works. Thanks a lot (also to everyone else involved)!
Glad to hear that, and you’re welcome, but this should also be fixed in ConTeXt -- Hans, can you do something about that? It should be enough to resolve symbolic links on either sides of the test dir.current() ~= validformatpath Best, Arthur