[NTG-context] Third party modules in LMTX
Henri Menke
henrimenke at gmail.com
Fri Feb 14 08:48:44 CET 2020
On 2/12/20 5:10 PM, jdh wrote:
>
>
> I would like to use Wolfgang's t-letter module, but need some help.
>
> I found the following instructions:
>
> "The ConTeXt suite only comes with Taco's t-bib module. If you want to install a new module, say Wolfgang's t-letter module, you can use
>
> first-setup.sh --modules="t-letter"
>
>
> BUT, the LMTX standalone does not have any "first-setup.sh" shell script.
>
> Is there another way to install the "t-letter" module for use with LMTX?
>
#!/bin/sh
# Install or update texmf-modules
# Requires: awk, rsync
# Check whether LuaMetaTeX is available
if ! command -v luametatex > /dev/null; then
echo "luametatex is not in PATH, so there likely won't be the correct mtxrun"
echo "Aborting..."
exit 1
fi
# Make the texmf-modules directory, just in case
TEXMFMODULES="$(mtxrun --resolve-path "\$TEXMFMODULES")"
mkdir -p "${TEXMFMODULES}/"
# Sync with the Garden
GARDENRSYNC="contextgarden.net::minimals/current/modules"
for module in $(rsync "${GARDENRSYNC}/*" | awk '{print $NF}'); do
echo "Syncing ${module}"
rsync -rpztlv --delete "${GARDENRSYNC}/${module}/" "${TEXMFMODULES}/"
done
> Any help is appreciated.
>
> Thanks
> Darel
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context at 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
> ___________________________________________________________________________________
>
More information about the ntg-context
mailing list