[NTG-context] not working "mtxrun --scripts cache --erase"

Pablo Rodriguez oinos at gmx.es
Mon Jun 27 17:02:51 CEST 2022


On 6/27/22 11:35, Hans Hagen via ntg-context wrote:
> On 6/27/2022 12:38 AM, Max Chernoff via ntg-context wrote:
>>> I’m afraid that I have just found out that "mtxrun --scripts cache
>>> --erase" doesn’t delete a single file from the cache.
>> [...]
>> If I change line 81 of
>>
>>      texmf-context/scripts/context/lua/mtx-cache.lua
>> [...]
>> to
>>                  if find(filename,"luametatex%-cache") then
>> the problem appears to be fixed.
> maybe can you test with
>
>   LUATEXENGINE .. "%-cache"

Hi Max and Hans,

both approaches work.

Many thanks for your help,

Pablo


More information about the ntg-context mailing list