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

2022-06-27 Thread Pablo Rodriguez via ntg-context
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
___
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
___


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

2022-06-27 Thread Hans Hagen via ntg-context

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.



Could anyone confirm the issue?


I can confirm that the same thing happens here.

If I change line 81 of

     texmf-context/scripts/context/lua/mtx-cache.lua

from

     if find(filename,"luatex%-cache") then

to

     if find(filename,"luametatex%-cache") then

the problem appears to be fixed.

maybe can you test with

 LUATEXENGINE .. "%-cache"

no time now myself

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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
___


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

2022-06-26 Thread Max Chernoff via ntg-context

I’m afraid that I have just found out that "mtxrun --scripts cache
--erase" doesn’t delete a single file from the cache.



Could anyone confirm the issue?


I can confirm that the same thing happens here.

If I change line 81 of

texmf-context/scripts/context/lua/mtx-cache.lua

from

if find(filename,"luatex%-cache") then

to

if find(filename,"luametatex%-cache") then

the problem appears to be fixed.

-- Max
___
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
___


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

2022-04-07 Thread Pablo Rodriguez via ntg-context
On 4/6/22 17:11, Pablo Rodriguez via ntg-context wrote:
> Dear list,
>
> I’m afraid that I have just found out that "mtxrun --scripts cache
> --erase" doesn’t delete a single file from the cache.
> [...]
> I’m using current latest (2022.04.01 09:37) on Linux 64bit.

I have confirmed that the same latest doesn’t delete file from the cache
on Windows 64bit.

I would be surprised to be the only one to experience this issue.

Many thanks for your help,

Pablo
___
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
___


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

2022-04-06 Thread Pablo Rodriguez via ntg-context
Dear list,

I’m afraid that I have just found out that "mtxrun --scripts cache
--erase" doesn’t delete a single file from the cache.

Here is the output I get:


  $ mtxrun --scripts cache --erase

  mtx-cache   | writable path: /context/tex/texmf-cache/
luametatex-cache/context/5fe67e0bf

  mtx-cache   |

  mtx-cache   | fmt:1

  mtx-cache   | log:1

  mtx-cache   | lua:7

  mtx-cache   | lud:7

  mtx-cache   | lui:1

  mtx-cache   | luv:1

  mtx-cache   | tma:   42

  mtx-cache   | tmd:   42

  mtx-cache   |

  mtx-cache   | total  :  102

  mtx-cache   |

  mtx-cache   | writable path: /context/tex/texmf-cache/
luametatex-cache/context/5fe67e0bf

  mtx-cache   |

  mtx-cache   | fmt:0 gone,0 kept

  mtx-cache   | log:0 gone,0 kept

  mtx-cache   | lua:0 gone,0 kept

  mtx-cache   | lud:0 gone,0 kept

  mtx-cache   | lui:0 gone,0 kept

  mtx-cache   | luv:0 gone,0 kept

  mtx-cache   | tma:0 gone,0 kept

  mtx-cache   | tmd:0 gone,0 kept

  mtx-cache   |


Could anyone confirm the issue?

I’m using current latest (2022.04.01 09:37) on Linux 64bit.

Many thanks for your help,

Pablo
___
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
___