From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/106480 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Jorge Manuel Newsgroups: gmane.comp.tex.context Subject: Re: Third party modules in LMTX Date: Mon, 9 Mar 2020 15:28:19 +0000 Message-ID: References: <20200213201019.5321@Huxley> <8d894841-aa2a-7ac7-a7af-144e72f2075a@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Content-Type: multipart/mixed; boundary="===============4023766033012820769==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="55204"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 09 16:29:07 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jBKL4-000EEf-Ph for gctc-ntg-context-518@m.gmane-mx.org; Mon, 09 Mar 2020 16:29:06 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D04BD182768; Mon, 9 Mar 2020 16:28:28 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YnIGcuH1WeoV; Mon, 9 Mar 2020 16:28:26 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B3E0B18276B; Mon, 9 Mar 2020 16:28:26 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1525C182767 for ; Mon, 9 Mar 2020 16:28:26 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1HlgyniT4kwl for ; Mon, 9 Mar 2020 16:28:25 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.128.45; helo=mail-wm1-f45.google.com; envelope-from=desdechaves@gmail.com; receiver= Original-Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 1FF1D181D6A for ; Mon, 9 Mar 2020 16:28:25 +0100 (CET) Original-Received: by mail-wm1-f45.google.com with SMTP id a132so10418088wme.1 for ; Mon, 09 Mar 2020 08:28:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=vK7ru5kdXnjdlIic2XXa3KpD3Y2awjBnehX1Sf0rZ3M=; b=VI+pzu8N62GcQIyWsBy7AKkyEXiPxDzfQ8NvqJneKNVTtz1bOiYChuf1QgSiLcRs1o pr46fBPgEtUICetTs7Wl0HtwkIfDhkgtXOcQlBu4EqfkBzk8YTN1AA71d8jyAjOU4b4H dBnkzFD6goPmPexwASD6pGw6GRF80BHDfcIXShRLfaDSyv2U0jpPknJIeEFjdAU8tJad AKqIkpuJryuWqo1WKIk8xa3JIImvq0nPk29NTPxf5xx/cbEduS38wT1xc/TnFNKQos+4 1WThfn8wzjmlD0LkE3U0hbUP3WV1P2yPYe2kk0HShwghPf5r78/JJUx/bwhgScNfuLom vhyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=vK7ru5kdXnjdlIic2XXa3KpD3Y2awjBnehX1Sf0rZ3M=; b=CLtdf2ygqZsvtG+R802zoTCtJb3W8aUJcnIZQrz8HmnXU2Rh7HC8DTPxDLMA5fgD4y ppUBDSNBQq86lHg7f+P/bS+dBh79jZfraSCoEDhXai63v7NlXslInuDdXyFAI47CJeAp CiZ4P4H1qfgdiHkzYTiS3QqzOyvFt7M1ZCYomE4VSlKzSL167W7J0TXfMLXlwceCShNS CjlopfKA/eZ2aNmz0LmPziL9mlHW+rcBSNwnwc95kc6yHo1DFvOowGvJvq2Q33gZr4xR QJWJ3I9CXTP2Cv1u6SPxOf7zR4Hoe6tNrOA9K1rQrQCsETOF44HKyiF+jTn+p/0buCmU ooEQ== X-Gm-Message-State: ANhLgQ0POZu4Aw+Z+IFtwQWKKStG1WmF3kh91dSV4aceIgjk+RDu4FF+ p366oxh5n5AL9P7On/fkOIo/0LzORz0= X-Google-Smtp-Source: ADFU+vvBvPSsImCJh1lWBEIbdkabRZHJseUnYsAyj1Wl3b6BjPJwZJOgcQltW+MdeicqfW3UlS4XYw== X-Received: by 2002:a05:600c:2188:: with SMTP id e8mr21063865wme.83.1583767703421; Mon, 09 Mar 2020 08:28:23 -0700 (PDT) Original-Received: from [192.168.2.103] (a89-154-120-8.cpe.netcabo.pt. [89.154.120.8]) by smtp.gmail.com with ESMTPSA id a1sm2150872wro.72.2020.03.09.08.28.22 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Mar 2020 08:28:22 -0700 (PDT) In-Reply-To: <8d894841-aa2a-7ac7-a7af-144e72f2075a@gmail.com> X-Mailer: Apple Mail (2.3608.60.0.2.5) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:106480 Archived-At: --===============4023766033012820769== Content-Type: multipart/alternative; boundary="Apple-Mail=_ED3BDCB7-3B4B-4995-B962-326E24C87708" --Apple-Mail=_ED3BDCB7-3B4B-4995-B962-326E24C87708 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Attention:=20 I tried to install TiKZ module in my macOS Catalina with this shell = script and several folders in my system are deleted. =20 My Context Folder is located at /Applications folder.=20 Is there a safe way to install modules for LMTX. Thanks. > On 14 Feb 2020, at 07:48, Henri Menke wrote: >=20 > On 2/12/20 5:10 PM, jdh wrote: >>=20 >>=20 >> I would like to use Wolfgang's t-letter module, but need some help. >>=20 >> I found the following instructions: >>=20 >> "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 >>=20 >> first-setup.sh --modules=3D"t-letter" >>=20 >>=20 >> BUT, the LMTX standalone does not have any "first-setup.sh" shell = script. >>=20 >> Is there another way to install the "t-letter" module for use with = LMTX? >>=20 >=20 > #!/bin/sh >=20 > # Install or update texmf-modules > # Requires: awk, rsync >=20 > # 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 >=20 > # Make the texmf-modules directory, just in case > TEXMFMODULES=3D"$(mtxrun --resolve-path "\$TEXMFMODULES")" > mkdir -p "${TEXMFMODULES}/" >=20 > # Sync with the Garden > GARDENRSYNC=3D"contextgarden.net = ::minimals/current/modules" > for module in $(rsync "${GARDENRSYNC}/*" | awk '{print $NF}'); do > echo "Syncing ${module}" > rsync -rpztlv --delete "${GARDENRSYNC}/${module}/" = "${TEXMFMODULES}/" > done >=20 >> Any help is appreciated. >>=20 >> Thanks >> Darel >> = __________________________________________________________________________= _________ >> If your question is of interest to others as well, please add an = entry to the Wiki! >>=20 >> 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 >> = __________________________________________________________________________= _________ >>=20 > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > 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 > = __________________________________________________________________________= _________ --Apple-Mail=_ED3BDCB7-3B4B-4995-B962-326E24C87708 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

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=3D"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=3D"$(mtxrun --resolve-path = "\$TEXMFMODULES")"
mkdir -p "${TEXMFMODULES}/"

# Sync with the Garden
GARDENRSYNC=3D"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
_______________________________________________________________= ____________________

= --Apple-Mail=_ED3BDCB7-3B4B-4995-B962-326E24C87708-- --===============4023766033012820769== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============4023766033012820769==--