ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan Braslau via ntg-context <ntg-context@ntg.nl>
To: ntg-context <ntg-context@ntg.nl>
Cc: Alan Braslau <alan.braslau@icloud.com>
Subject: Re: /usr/bin/env texlua no such file or directory; ~/context/tex is not a valid TEXROOT path; no file plain.tex
Date: Mon, 10 Apr 2023 22:01:55 -0600	[thread overview]
Message-ID: <20230410220155.364c55ed@boo.my.domain> (raw)
In-Reply-To: <s1sp4o58-o927-872p-n469-254qr089n22q@hzvpu.rqh>

On Mon, 10 Apr 2023 20:51:58 -0400 (EDT)
Aditya Mahajan via ntg-context <ntg-context@ntg.nl> wrote:

> Did you source the `setuptex` script, which sets the correct path.

My PATH is set to
PATH=./context/tex/texmf-freebsd-amd64/bin:/home/MyAccount/context/tex/texmf-freebsd-amd64/bin:...

If my current working directory ("./") is a project that contains its
very own subdirectory ./context/, then this is used to typeset the
project. If not, it falls back on my own general standalone
$HOME/context/, and if that does not exist, then it falls back on, say,
a systemwide TeXlive installation.

This is all that is needed to have many versions coexist.

Alan

P.S. It can be a good practice to keep a ConTeXt standalone version
associated with each project, which can be "frozen" with the project,
assuring that the sources can always be typeset in the future "as is".

P.P.S. This per-project ./context/ subdirectory can include multiple
tex/texmf-system-architecture subdirectories and the project shared
between different machines, all in happy coexistence. (Hans told me a
while ago that they all use unique luametatex caches.)
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

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


  parent reply	other threads:[~2023-04-11  4:01 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-10 23:58 Carlos via ntg-context
2023-04-11  0:51 ` Aditya Mahajan via ntg-context
2023-04-11  1:47   ` Carlos via ntg-context
2023-04-11  2:36   ` Carlos via ntg-context
2023-04-11  3:54   ` Carlos via ntg-context
2023-04-11  4:01   ` Alan Braslau via ntg-context [this message]
2023-04-11  9:11     ` Carlos via ntg-context
2023-04-11  9:23       ` Hans Hagen via ntg-context
2023-04-11 10:00         ` Carlos via ntg-context
2023-04-11 10:20           ` Hans Hagen via ntg-context
2023-04-11 12:59             ` Carlos via ntg-context
2023-04-11 13:13             ` Carlos via ntg-context
2023-04-11 15:57               ` Hans Hagen via ntg-context
2023-04-12  2:32                 ` Carlos via ntg-context
2023-04-11  5:01 ` Max Chernoff via ntg-context
2023-04-11  7:26 ` Hans Hagen via ntg-context

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=20230410220155.364c55ed@boo.my.domain \
    --to=ntg-context@ntg.nl \
    --cc=alan.braslau@icloud.com \
    /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).