ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: name of cache used by mkiv and lmtx
Date: Sat, 6 Apr 2019 13:46:57 -0400 (EDT)	[thread overview]
Message-ID: <nycvar.YAK.7.76.44.1904061340440.16167@nqv-guvaxcnq> (raw)

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
___________________________________________________________________________________
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
___________________________________________________________________________________

             reply	other threads:[~2019-04-06 17:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-06 17:46 Aditya Mahajan [this message]
2019-04-06 18:20 ` Alan Braslau
2019-04-06 18:49   ` Aditya Mahajan
2019-04-07 13:06     ` Hans Hagen
2019-04-07 17:04       ` Aditya Mahajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=nycvar.YAK.7.76.44.1904061340440.16167@nqv-guvaxcnq \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).