On 4/2/22 09:40, Hans Hagen via ntg-context wrote:
[..] and how about
context --luatex --generate
Many thanks for your reply, Hans. I’m afraid it doesn’t work. It still generates data under $HOME/.texlive2021/, but it tries to read data (to generate the format file) from $HOME/backup-context/01062022_context/, which is a backup I have, instead of $HOME/context (which is the actual directory where ConTeXt is installed). Even with the HOME/backup-context/ directory hidden, I get the following error when Irun "context --luatex document" (after having run "context --luatex --generate"): system > lua > loading of file 'context/tex/texmf-context/tex/context/base/mkiv/luat-exe.lua' failed: cannot open context/tex/texmf-context/tex/context/base/mkiv/luat-exe.lua: No such file or directory resolvers > lua > loading file 'context/tex/texmf-context/tex/context/base/mkiv/luat-exe.lua' failed error loading file: luat-exe.lua (aborting)resolvers | formats | resolvers | formats | binary path : /usr/bin resolvers | formats | format path : /home/ousia/.texlive2021/texmf-var/luatex-cache/context/d10b607aa0e9d13dde6602f491b76cbc/formats/luatex resolvers | formats | luatex engine : luatex resolvers | formats | lua startup file : /home/ousia/context/tex/texmf-context/tex/context/base/mkiv/luat-cod.lua resolvers | formats | context file : /home/ousia/context/tex/texmf-context/tex/context/base/mkiv/cont-en.mkiv resolvers | formats | run time : 0.100 seconds resolvers | formats | return value : okay resolvers | formats | mtx-context | error, no format found with name: cont-en, aborting system | total runtime: 1.505 seconds Many thanks for your help, Pablo