* Will TexLive replace its own ConTeXt Mark IV with ConTeXt LMTX?
* context lmtx binary installer archive is not versioned. I can't use unversioned archives in OS packages.
* Is it actually possible to present a separate override file for contextcnf.lua? If not, I would need to patch contextcnf.lua, or contextcnf.lua should support both portable installation and OS-level installation.
* Can you make it easier to make an OS package for ConTeXt LMTX by releasing versioned (source) archives, including BUILD/INSTALL instructions in the versioned archives, and so on? I wish I could just extract a versioned binary archive into certain locations or use GNU autotools or use meson build system which is far better than GNU autotools.
While portable installations can be great for testing bleeding edge features and keeping up with latest development, most of the time, I prefer OS package releases.
------- Original Message -------
On Tuesday, August 16th, 2022 at 4:02 PM, Hans Hagen via ntg-context
On 8/16/2022 1:43 PM, amano.kenji via ntg-context wrote:
Even if I put the installation in an archive and make a linux package that installs the archive, I still have to modify contextcnf.lua which isn't intended to handle differing system-wide installation paths of various POSIX-like operating systems.
And, I don't really know
* what the variables in contextcnf.lua mean and do. * whether there is a way to override certain variables in contextcnf.lua with another file. A separate override file is going to make it easy for linux distributions to override certain variables in contextcnf.lua.
mtxrun --generate
reports all kind of locations where configurations files are looked for
one can also set environment variables and see what is used
mtxrun --variables mtxrun --expansions
so there are plenty ways to configure and you can run
mtxrun --configurations
which on my machine gives
system | resolved | file : c:/data/develop/tex-context/tex/texmf-local/web2c/texmfcnf.lua system | resolved | file : c:/data/develop/tex-context/tex/texmf/web2c/texmfcnf.lua
indicating that i use an additional configuration file
there are some boundary conditions:
- we use mtxrun as runner and that one used luatex as lua engine - this means that mtxrun[.lua] has to be in the same path as the binary
in lmtx we even go a bit further:
- in lmtx there is mtxrun.lua - as well as context.lua - there are 'mtxrun' and 'context' binaries that are either copies or symlinks to luametatex in the same path - this is the same on unix and windows
in lmtx luametatex is also used as runner for mkiv when installed
on unix i normally just install the minimal tree and then either add the bin path to the path or just run mtxrun fully qualified (actually always for the whole system under /data/context)
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 / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________