* not working "mtxrun --scripts cache --erase"
@ 2022-04-06 15:11 Pablo Rodriguez via ntg-context
2022-04-07 19:31 ` Pablo Rodriguez via ntg-context
2022-06-26 22:38 ` Max Chernoff via ntg-context
0 siblings, 2 replies; 5+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2022-04-06 15:11 UTC (permalink / raw)
To: Hans Hagen via ntg-context; +Cc: Pablo Rodriguez
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: not working "mtxrun --scripts cache --erase"
2022-04-06 15:11 not working "mtxrun --scripts cache --erase" Pablo Rodriguez via ntg-context
@ 2022-04-07 19:31 ` Pablo Rodriguez via ntg-context
2022-06-26 22:38 ` Max Chernoff via ntg-context
1 sibling, 0 replies; 5+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2022-04-07 19:31 UTC (permalink / raw)
To: Pablo Rodriguez via ntg-context; +Cc: Pablo Rodriguez
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: not working "mtxrun --scripts cache --erase"
2022-04-06 15:11 not working "mtxrun --scripts cache --erase" Pablo Rodriguez via ntg-context
2022-04-07 19:31 ` Pablo Rodriguez via ntg-context
@ 2022-06-26 22:38 ` Max Chernoff via ntg-context
2022-06-27 9:35 ` Hans Hagen via ntg-context
1 sibling, 1 reply; 5+ messages in thread
From: Max Chernoff via ntg-context @ 2022-06-26 22:38 UTC (permalink / raw)
To: ntg-context; +Cc: Max Chernoff, oinos
> 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: not working "mtxrun --scripts cache --erase"
2022-06-26 22:38 ` Max Chernoff via ntg-context
@ 2022-06-27 9:35 ` Hans Hagen via ntg-context
2022-06-27 15:02 ` Pablo Rodriguez via ntg-context
0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen via ntg-context @ 2022-06-27 9:35 UTC (permalink / raw)
To: Max Chernoff via ntg-context; +Cc: Hans Hagen
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: not working "mtxrun --scripts cache --erase"
2022-06-27 9:35 ` Hans Hagen via ntg-context
@ 2022-06-27 15:02 ` Pablo Rodriguez via ntg-context
0 siblings, 0 replies; 5+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2022-06-27 15:02 UTC (permalink / raw)
To: Hans Hagen via ntg-context; +Cc: Pablo Rodriguez
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-06-27 15:02 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-06 15:11 not working "mtxrun --scripts cache --erase" Pablo Rodriguez via ntg-context
2022-04-07 19:31 ` Pablo Rodriguez via ntg-context
2022-06-26 22:38 ` Max Chernoff via ntg-context
2022-06-27 9:35 ` Hans Hagen via ntg-context
2022-06-27 15:02 ` Pablo Rodriguez via ntg-context
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).