Installing Modules with ConTeXt LMTX
I want to try the t-letter module. I have a fresh install of ConTeXt LMTX from today. The page https://wiki.contextgarden.net/Modules has sections "Installation by hand" and "ConTeXt standalone", but no section on ConTeXt LMTX. The section on ConTeXt standalone mentions a --modules switch to first-setup.sh in order to include modules. This cannot work with the install.sh from ConTeXt LMTX, as it does not pass any command line arguments to mtxrun. install.sh does have an empty by default variable LMTXEXTRAS at the top, which is passed as --extras="$LMTXEXTRA" to bin/mtx-install.lua near the bottom of the script. However, setting LMTXEXTRAS=t-letter seems to not work. Searching through the bin/mtx-install.lua for "modules" and "extras" reveals that most probably neither flag is handled at all. However, the helpinfo variable in bin/mtx-install.lua does mention the modules flag, but not the extras flag. Is there a way to install modules in ConTeXt LMTX not by hand?
On Mon, 01 Jun 2020 19:58:59 +0200
Sebastian Miele
I want to try the t-letter module. I have a fresh install of ConTeXt LMTX from today. The page https://wiki.contextgarden.net/Modules has sections "Installation by hand" and "ConTeXt standalone", but no section on ConTeXt LMTX.
The section on ConTeXt standalone mentions a --modules switch to first-setup.sh in order to include modules. This cannot work with the install.sh from ConTeXt LMTX, as it does not pass any command line arguments to mtxrun.
As far as I understand there is no built-in method. You have to install them manually. Relevant thread: https://mailman.ntg.nl/pipermail/ntg-context/2020/097022.html Marco
Marco Patzer
On Mon, 01 Jun 2020 19:58:59 +0200 Sebastian Miele
wrote: I want to try the t-letter module. I have a fresh install of ConTeXt LMTX from today. The page https://wiki.contextgarden.net/Modules has sections "Installation by hand" and "ConTeXt standalone", but no section on ConTeXt LMTX.
The section on ConTeXt standalone mentions a --modules switch to first-setup.sh in order to include modules. This cannot work with the install.sh from ConTeXt LMTX, as it does not pass any command line arguments to mtxrun.
As far as I understand there is no built-in method. You have to install them manually. Relevant thread:
https://mailman.ntg.nl/pipermail/ntg-context/2020/097022.html
Thank you. That pointed into the right direction. The thread contains a little script to get all modules (https://mailman.ntg.nl/pipermail/ntg-context/2020/097023.html). However, the script does not really work. (In every iteration of the loop of the script, the --delete to rsync deletes the files of the module from the previous iteration. Just omitting the --delete would not be correct, either.) Using the information from the script, I wrote, tested, and wikified something else (https://wiki.contextgarden.net/Modules#ConTeXt_LMTX).
participants (2)
-
Marco Patzer
-
Sebastian Miele