ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Arthur Reutenauer <arthur.reutenauer@normalesup.org>
To: Mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Error setting up ConTeXt in MacTeX 2020
Date: Fri, 18 Sep 2020 14:49:35 +0200	[thread overview]
Message-ID: <20200918124934.s7vxte5xkjf4xwcb@phare.normalesup.org> (raw)
In-Reply-To: <C4B68239-AC84-49D5-9795-F1D0DF89FA14@flyx.org>

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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2020-09-18 12:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-18  7:41 Felix Krause
2020-09-18  9:20 ` Otared Kavian
2020-09-18  9:35   ` Felix Krause
2020-09-18  9:43     ` Thomas A. Schmitz
2020-09-18 10:00       ` Felix Krause
2020-09-18 10:36         ` Thomas A. Schmitz
2020-09-18 11:40           ` Felix Krause
2020-09-18  9:45 ` Henning Hraban Ramm
2020-09-18 10:02   ` Felix Krause
2020-09-18 10:50 ` Arthur Rosendahl
2020-09-18 11:48   ` Felix Krause
2020-09-18 12:49     ` Arthur Reutenauer [this message]
2020-09-18 18:28       ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200918124934.s7vxte5xkjf4xwcb@phare.normalesup.org \
    --to=arthur.reutenauer@normalesup.org \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).