On 10/20/2021 4:21 PM, Henning Hraban Ramm via ntg-context wrote:
Am 20.10.2021 um 10:10 schrieb Hans Hagen
: On 10/19/2021 8:24 PM, Henning Hraban Ramm via ntg-context wrote:
Hi wizards, if I have files with the same name in several texmf trees (e.g. texmf-context, texmf-local, texmf-project, ~/texmf or TeX Live’s texmf-dist, texmf-var), which one will be used? I guess “local” trees or “local” directories take precedence over “distribution”, but which is “the localest” of ~/texmf/..., texmf-dist/.../local, texmf-local/... ?
context --generate
show all this
Where is the order defined? (Not in TDS.) mtxrun --show-variables
Oh, yes, of course. Thank you!
etc ... it's all TDS
I meant, the order of trees is not defined in the TDS proposal (http://tug.org/tds/tds.html).
it's kind of defined by texlive but there it changed over time, (main, dist, local, var, home etc and also unix distributers add / patch these variables; some definitions and order can be hard coded in the binary part that deals with kpse file lookup) anyway, in contest it hasn't changed much and we dont' use the kpse library in mkiv/lmtx so we're not affected by changes; you can of course add more of use a different order (in a local configuration file in e.g. texmf-local) (there are plenty of trackers for checking how files are looked up) 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 -----------------------------------------------------------------