Hi Adam, Thanks for your attention to my problem.
On 11 Aug 2020, at 03:44, Adam Reviczky
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/b5db9f9833e389f96a329553b9d6... % 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
wrote: Hi Axel, On 10 Aug 2020, at 16:11, Axel Kielhorn
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.