From: Otared Kavian <otared@gmail.com>
To: Adam Reviczky <reviczky@gmail.com>,
mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: How can I use ConTeXt from TeXLive2020 ?
Date: Tue, 11 Aug 2020 16:57:34 +0200 [thread overview]
Message-ID: <3FD5958C-CF56-4F58-855C-C86D9C16DADD@gmail.com> (raw)
In-Reply-To: <CABaoHuseyOm++oDmxjmJteZHXjA+JnV8+yEwb1rnzZWEC=c09w@mail.gmail.com>
Hi Adam,
Thanks for your attention to my problem.
> On 11 Aug 2020, at 03:44, Adam Reviczky <reviczky@gmail.com> wrote:
>
> Hi Otared,
>
> Not sure this will help at all, but I've seen similar errors when "texmfcnf.lua" wasn't found (alongside texmf.cnf).
>
> Although I am not using TeXLive2020, I have the following entries for texmfcnf:
> -rw-r--r-- 1 root root 8272 Aug 9 13:19 /usr/share/texlive/texmf-dist/web2c/texmfcnf.lua
> -rw-r--r-- 1 root root 38841 Aug 9 13:19 /usr/share/texlive/texmf-dist/web2c/texmf.cnf
I don't have these files at this place, but in
/opt/local/etc/texmf/
I do have
/opt/local/etc/texmf/texmf.cnf
/opt/local/etc/texmf/texmfcnf.lua
the first one being created automatically when I tried to do mtxrun --generate after installing TeXLive2020. Ir says its content should not be modified directly and that its content is based on of the file
/opt/local/etc/texmf/texmf.cnf.d
The content of the above directory dates from 2019, and maybe that is why my logfile reports things being done with TeXLive2019.
The content of the file
/opt/local/etc/texmf/texmfcnf.lua
is written by Hans in date = "2012-05-24" time = "12-12-12".
Replacing /opt/local/etc/texmf/texmf.cnf with some other texmf.cnf does not help, since it is overwritten when one does
mtxrun --generate
So the problem remains… Maybe I have to contact people who prepare MacTeX2020 and ask for help with them.
Thank you agin for your time and advices.
Best regards: Otared
>
> and the symlinks to it from:
> lrwxrwxrwx 1 root root 43 Aug 11 02:05 /usr/share/texmf/web2c/texmfcnf.lua -> ../../texlive/texmf-dist/web2c/texmfcnf.lua
> lrwxrwxrwx 1 root root 40 Aug 11 02:21 /usr/share/texmf/web2c/texmf.cnf -> ../../texlive/texmf-dist/web2c/texmf.cnf
>
> Now, if I remove the symlink (/usr/share/texmf/web2c/texmfcnf.lua) I get the same error as you:
> mtxrun | unknown script 'context.lua' or 'mtx-context.lua'
> (With the symlink everything is fine of course.)
>
> https://github.com/TeX-Live/texlive-source/blob/b5db9f9833e389f96a329553b9d6ac7037872b2d/texk/kpathsea/texmf.cnf
> % First writable tree here is used by Lua(La)TeX for the font cache.
> % LuaLaTeX uses the value here, while ConTeXt uses the same variable but
> % from texmfcnf.lua; therefore the two values should be kept in sync.
> % (As should everything else in texmf.cnf <-> texmfcnf.lua.)
>
> I see from your output that context did find the texmfcnf.lua:
> resolvers | resolving | found regular configuration file '/opt/local/etc/texmf/texmfcnf.lua'
>
> So maybe it is something completely different, but it does look like it's something around those configs...
>
> Have a look and if not, then sorry for the noise.
>
> Regards,
> Adam
>
>
> On Mon, Aug 10, 2020 at 11:04 PM Otared Kavian <otared@gmail.com> wrote:
> Hi Axel,
>
> > On 10 Aug 2020, at 16:11, Axel Kielhorn <tex@axelkielhorn.de> wrote:
> > […]
> > Well, one more suggestion:
> > Use TeX Live Manager to update TeX-Live.
> > I didn’t see any comments about context not working, but maybe the update fixes something.
> > (You can filter for context related packages.)
> >
> > There has been one update to „context“ in June 2020.
>
> I did update TeXLive with TeX Live Manager. But still I cannot run ConTeXt from TeXLive2020 (neither from TeXShop nor from Terminal).
>
> > […]
> > And another one:
> > Please look into the home directory for a local .texlive2020 folder.
> > There shouldn’t be any and it shouldn’t contain anything context related.
>
> I checked for the existence of directories of the type .texlive2020: there is no such directory in my home directory.
> There were three leftover directories .texlive2008, .texlive2010 and .texlive2019, which I removed.
> Doing
> mtxrun --generate
> creates a .texlive2019 directory which contains some other folders which are
> texmf-var/luatex-cache/context/88aacfe88c3cbee9a12d5f4bec4da90b/trees/
> and in the latter folder there are 10 files with suffixes .lua and .luc.
> Again
> context test.tex
> results in
> mtxrun | unknown script 'context.lua' or 'mtx-context.lua'
>
> So the problem remains…
>
> Best regards: Otared
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
%% This file should not be edited directly!
%%
%% It was automatically generated by /opt/local/libexec/texlive-update-cnf
%% from the contents of /opt/local/etc/texmf/texmf.cnf.d
%% on Sat Jun 13 10:08:36 CEST 2020.
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2020-08-11 14:57 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
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 [this message]
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=3FD5958C-CF56-4F58-855C-C86D9C16DADD@gmail.com \
--to=otared@gmail.com \
--cc=ntg-context@ntg.nl \
--cc=reviczky@gmail.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).