ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Axel Kielhorn <tex@axelkielhorn.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: How can I use ConTeXt from TeXLive2020 ?
Date: Mon, 10 Aug 2020 12:39:44 +0200	[thread overview]
Message-ID: <695A33CB-FA71-4403-BCA3-C863A7216F4A@axelkielhorn.de> (raw)
In-Reply-To: <425044A8-4C7B-45D2-9BC6-955FD6B63EAD@gmail.com>



> Am 10.08.2020 um 12:03 schrieb Otared Kavian <otared@gmail.com>:
> 
> Hi all,
> 
> I suggested to a friend, who is using plain TeX and LaTeX, to switch to ConTeXt, and since he is using TeXShop on MacOSX with a version of TeXLive2020 (named MacTeX2020), I thought he would just typeset a simple test document with the option « ConTeXt (LuaTeX) » from the menu in TeXShop, where it does appear.
> 
> Unfortunately when doing this all he gets in the log file is:
> 
> /sw/bin/init.csh: No such file or directory.
> mtxrun          | unknown script 'context.lua' or 'mtx-context.lua'
> 
> and I could not help him make the format (I do not have access to his machine, and I was trying to explain what to do on the phone).

The TeXshop engine file says:

# Before using this engine, you must run the following command once in Terminal: luatools --generate

I probably did this when I installed TeXLive.

But I’m a little irritated by /sw/bin/.
Is this a real MacTeX installation and not something like homebrew?

Let’s start with the simple things:

What is the result of:
which context

it should be:
/Library/TeX/texbin/context

If that doesn’t work try:

which pdflatex

The result is probably not

/Library/TeX/texbin/pdflatex

but should give some indication where to look.

There may be an old installation of MacTeX without Context somewhere in the path.

If this is an old TeXShop installation, the Context engine may need an update because it points to the old PATH.
Simply copy the engine from ~/Library/TeXShop/Engines/inactive/ConTeXt to ~/Library/TeXShop/Engines

Hope this helps
Axel


___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2020-08-10 10:39 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-10 10:03 Otared Kavian
2020-08-10 10:37 ` Taco Hoekwater
2020-08-10 10:39 ` Axel Kielhorn [this message]
2020-08-10 12:59   ` Otared Kavian
2020-08-10 13:07     ` Taco Hoekwater
2020-08-10 13:20     ` Hans Hagen
2020-08-10 14:08       ` Otared Kavian
2020-08-10 14:15       ` Axel Kielhorn
2020-08-10 14:11     ` Axel Kielhorn
2020-08-10 22:02       ` Otared Kavian
     [not found]         ` <CABaoHuseyOm++oDmxjmJteZHXjA+JnV8+yEwb1rnzZWEC=c09w@mail.gmail.com>
2020-08-11 14:57           ` Otared Kavian
2020-08-11 15:25             ` Hans Hagen
2020-08-11 20:38               ` Otared Kavian
2020-08-12  6:26             ` Axel Kielhorn
2020-08-13  9:04               ` Otared Kavian
2020-08-13 10:42                 ` Axel Kielhorn
2020-08-13 14:57                 ` Mojca Miklavec
2020-08-14  7:43                   ` Otared Kavian
2020-08-14  9:42                     ` Mojca Miklavec

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=695A33CB-FA71-4403-BCA3-C863A7216F4A@axelkielhorn.de \
    --to=tex@axelkielhorn.de \
    --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).