Attention: 

I tried to install TiKZ module in my macOS Catalina with this shell script and several folders in my system are deleted.  

My Context Folder is located at /Applications folder. 

Is there a safe way to install modules for LMTX.


Thanks.


On 14 Feb 2020, at 07:48, Henri Menke <henrimenke@gmail.com> wrote:

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

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