Thank you, Taco

Your suggestion resolved the issue for me.

Regards

Marcus Vinicius

On Mon, Oct 4, 2021 at 10:50 AM Taco Hoekwater via ntg-context <ntg-context@ntg.nl> wrote:
Hi,

Here is what I assume has happened:

Hans gave LMTX its own "luametatex-cache” directory (around August 20). Previously, the cache for LMTX still used files under luatex-cache, just like MKIV. But since that change, the “context -—generate” call no longer updates files in luatex-cache, only in luametatex-cache.


That is not a big problem unless something happens to clear any existing cache in that folder (like a re-install from scratch, say).

Normally, one runs “context —-generate” to fix the cache and “context —-luatex” to run luatex Combined, that would be
  “context —-generate —-luatex”.
But the problem is that luatex cannot find “mtx-context.lua” exactly because of the missing cache that we are actually trying to create with that command line. Missing “mtx-context.lua” is usually fixed by running the more basic “mtxrun —generate”.

However, “mtxrun -—generate”  does not currently support a "-—luatex” argument, so the only way I know of right now to get the luatex-cache restored|updated is to run the command below.

(Incidentally, this sort of issue is why the core command is not “context -—generate” but “mtxrun -—generate”. It is unfortunate that that does not help in this case).

Best wishes,
Taco

> On 4 Oct 2021, at 15:33, Taco Hoekwater via ntg-context <ntg-context@ntg.nl> wrote:
>
> We are busy with this off-list.
>
> If it is urgent:
>
> luatex --luaonly ~/lmtx/tex/texmf-osx-64/bin/mtxrun.lua --generate
>
> fixed it for me (you’ll need to adjust the path, of course)
>
> Best wishes,
> Taco
>
>> On 4 Oct 2021, at 15:28, Marcus Vinicius Mesquita via ntg-context <ntg-context@ntg.nl> wrote:
>>
>> Same problem here, on a linux64, context current version: 2021.09.26 17:00
>>
>> Greetings
>>
>> Marcus Vinicius
>>
>> On Mon, Oct 4, 2021 at 8:55 AM Henning Hraban Ramm via ntg-context <ntg-context@ntg.nl> wrote:
>>
>>> Am 04.10.2021 um 13:06 schrieb Hans Hagen <j.hagen@xs4all.nl>:
>>>
>>> On 10/4/2021 12:39 PM, Henning Hraban Ramm via ntg-context wrote:
>>>> Hi,
>>>> since a while, I can’t run MkIV any more, even after several runs of install.sh (and mtxrun --generate, of course).


Taco Hoekwater              E: taco@bittext.nl
genderfluid (all pronouns)



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


--
Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o corpo nem seus membros, por ser descanso da alma, primavera do coração, distração do aflito, entretenimento do solitário, e viático do viajante.

Kunnâsh al-Hâ'ik (Cancioneiro de al-Hâ'ik)