ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: Hans Hagen <j.hagen@xs4all.nl>,
	mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: How can I use ConTeXt from TeXLive2020 ?
Date: Mon, 10 Aug 2020 16:08:51 +0200	[thread overview]
Message-ID: <039D7A9E-D9D1-48F4-9883-ED24F6F39F57@gmail.com> (raw)
In-Reply-To: <64ae644e-f577-7db6-b71b-8eda865f332f@xs4all.nl>

Hi Hans and Taco,

Thanks for the help!
Doing 
	context --make
results in
	mtxrun | unknown script 'context.lua' or 'mtx-context.lua'

Doing 
	mtxrun --generate
results in the lines (and much more):

resolvers       | resolving | variable 'SELFAUTOLOC' set to '/opt/local/libexec/texlive/binaries'
resolvers       | resolving | variable 'SELFAUTODIR' set to '/opt/local/libexec/texlive'
resolvers       | resolving | variable 'SELFAUTOPARENT' set to '/opt/local/libexec'
resolvers       | resolving | variable 'TEXMFCNF' set to ''
resolvers       | resolving | variable 'TEXMF' set to ''
resolvers       | resolving | variable 'TEXOS' set to 'texlive'
resolvers       | resolving |
resolvers       | resolving | using configuration specification 'home:texmf/web2c;/opt/local/etc/texmf'
resolvers       | resolving |
resolvers       | resolving | looking for regular 'texmfcnf.lua' on given path '/Users/kavian/texmf/web2c' from specification 'home:texmf/web2c'
resolvers       | resolving | looking for regular 'texmfcnf.lua' on weird path '/opt/local/etc/texmf' from specification '/opt/local/etc/texmf'
resolvers       | resolving | found regular configuration file '/opt/local/etc/texmf/texmfcnf.lua'

The directory
	/opt/local/libexec/texlive/binaries
exists and contains  (among other things) « context » which is a symlink to 
	/opt/local/share/texmf-texlive/scripts/context/stubs/unix/context
which does not exist…

Best regards: Otared

> On 10 Aug 2020, at 15:20, Hans Hagen <j.hagen@xs4all.nl> wrote:
> 
> On 8/10/2020 2:59 PM, Otared Kavian wrote:
>> Hi Alex,
>> Thank you and Taco for helping.
>> In order to help solve the problem of running ConTeXt from MacTeX, I installed MacTeX2020 (which is the same as TeXLive2020). Now if in a Terminal window I do
>> 	which context
>> the answer is:
>> 	/Library/TeX/texbin/context
>> And the answer to
>> 	which pdflatex
>> is
>> 	/Library/TeX/texbin/pdflatex
>> Also the answer to:
>> 	which luatools
>> is
>> 	/Library/TeX/texbin/luatools
>> So the binaries are in /Library/TeX/texbin, which is in fact an alias for
>> 	/usr/local/texlive/2020/bin/x86_64-darwin
>> Now, as you and the « ConTeXt (LuaTeX) » engin suggest, if I do
>> 	luatools --generate
>> then the answer is:
>> 	mtxrun | unknown script 'base.lua' or 'mtx-base.lua'
>> It is possible that the version of mtxrun or luatools scripts in TeXLive are not working.
>> I don't remember what I did with TeXLive2019 to fix the issue, but my concern is that if including ConTeXt in TeXLive is intended for people to use it, then it SHOULD run without such tweakings which, even for someone who is a regular user of ConTeXt, are not easy to find.
>> The solution consisting of installing a standalone tree of ConTeXt, is not a real solution because many people do not know how to do it and, even if they could, then what would be the point of doing so much work for people who include a ConTeXt tree in TeXLive?
>> Anyway, I apologize for my acrimonius remarks, and I thank you again for your help.
> The luatools script was there to offer some kpse like functionality but it has been obsolete for ages (the generate was in mtx-base at that time). Just use
> 
>  mtxrun --generate
> 
> or
> 
>  context --make
> 
> which does a generate anyway (normally)
> 
> Hans
> 
> -----------------------------------------------------------------
>                                          Hans Hagen | PRAGMA ADE
>              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -----------------------------------------------------------------

___________________________________________________________________________________
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-08-10 14:08 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
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 [this message]
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=039D7A9E-D9D1-48F4-9883-ED24F6F39F57@gmail.com \
    --to=otared@gmail.com \
    --cc=j.hagen@xs4all.nl \
    --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).