ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henri Menke <henrimenke@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: Third party modules in LMTX
Date: Fri, 14 Feb 2020 20:48:44 +1300	[thread overview]
Message-ID: <8d894841-aa2a-7ac7-a7af-144e72f2075a@gmail.com> (raw)
In-Reply-To: <20200213201019.5321@Huxley>

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
___________________________________________________________________________________

  reply	other threads:[~2020-02-14  7:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-12  4:10 jdh
2020-02-14  7:48 ` Henri Menke [this message]
2020-03-09 15:28   ` Jorge Manuel
2020-03-09 16:24     ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8d894841-aa2a-7ac7-a7af-144e72f2075a@gmail.com \
    --to=henrimenke@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).