[NTG-context] name of cache used by mkiv and lmtx

Aditya Mahajan adityam at umich.edu
Sat Apr 6 19:46:57 CEST 2019


Hi,

I am currently using mkiv and lmtx in parallel and noticed that both use 
the same texmf-cache subdirectory. Running:

mtxrun --script cache --list

gives

mtx-cache       | writable path: 
/home/adityam/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mtx-cache       |
mtx-cache       | tma   :   59
mtx-cache       | tmc   :   59
mtx-cache       | rest  :   35
mtx-cache       | total :  153
mtx-cache       |

on both distributions. A consequence of this is that whenever I switch 
distributeions the font used in the document gets "compiled" and "dumped", 
i.e., I get messages:

system          > lua > compiling 
'/home/adityam/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otl/lmroman12-regular.tma' 
into 
'/home/adityam/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otl/lmroman12-regular.tmc'
system          > lua > dumping 
'/home/adityam/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otl/lmroman12-regular.tma' 
into 
'/home/adityam/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otl/lmroman12-regular.tmc' 
stripped
fonts           > otf loading > loading 
'/opt/context-minimals/texmf/fonts/opentype/public/lm/lmroman12-regular.otf', 
hash 'lmroman12-regular'

Is there a way to avoid that? I can, of course, set different values of 
TEXMFCACHE for both distributions, but does it make sense to to use a 
different hash (5fe67e...) for the two?

Thanks,
Aditya


More information about the ntg-context mailing list