[NTG-context] Set luatex cache directory path

Aditya Mahajan adityam at umich.edu
Tue Apr 6 21:24:32 CEST 2021


On Tue, 6 Apr 2021, Thangalin wrote:

> Thanks Aditya.
> 
> What do you think of changing the default luatex-cache directory to the
> system's temporary directory? Consider:
> 
>    - The $HOME directory is sacrosanct (4784 people agree:
>    https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1575053)
>    - The temp directory is cleared on Linux (Unix?) system reboots; purged
>    during regular Windows upkeep
>    - The temp directory is writable by default
>    - Changing the location requires calling an additional program, which
>    isn't obvious (principle of least astonishment)

Use:

mtxrun --autogenerate --script mtx-context ...

Aditya


More information about the ntg-context mailing list