From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/113779 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Aditya Mahajan via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: Archlinux: updated BPKGBUILD for luametatex Date: Wed, 15 Dec 2021 15:32:16 -0500 (EST) Message-ID: References: <16feaecb-dba0-bf3c-099d-83c34c982050@xs4all.nl> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="-830189494-1423193687-1639600336=:2624339" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9064"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Alpine 2.22 (LNX 394 2020-01-19) Cc: Aditya Mahajan To: =?ISO-8859-15?Q?Michal_Vlas=E1k_via_ntg-context?= Original-X-From: ntg-context-bounces@ntg.nl Wed Dec 15 21:33:51 2021 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 1mxayE-000298-Vm for gctc-ntg-context-518@m.gmane-mx.org; Wed, 15 Dec 2021 21:33:51 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E481628471F; Wed, 15 Dec 2021 21:33: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 hilH7XB_IYdA; Wed, 15 Dec 2021 21:33:27 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 636BF28471A; Wed, 15 Dec 2021 21:33:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 08A3C28471A for ; Wed, 15 Dec 2021 21:33: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 TrOsWDW6--bn for ; Wed, 15 Dec 2021 21:33:25 +0100 (CET) Received-SPF: Softfail (mailfrom) identity=mailfrom; client-ip=132.206.73.2; helo=orford.cim.mcgill.ca; envelope-from=adityam@umich.edu; receiver= Original-Received: from orford.cim.mcgill.ca (orford.cim.mcgill.ca [132.206.73.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id D3B5C284716 for ; Wed, 15 Dec 2021 21:33:24 +0100 (CET) Original-Received: from reinforce.cim.mcgill.ca (reinforce.cim.mcgill.ca [132.206.74.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: adityam) by orford.cim.mcgill.ca (Postfix) with ESMTPSA id 3A0BC9BC61 for ; Wed, 15 Dec 2021 15:33:25 -0500 (EST) In-Reply-To: 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:113779 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---830189494-1423193687-1639600336=:2624339 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE On Wed, 15 Dec 2021, Michal Vlas=C3=A1k via ntg-context wrote: > On Wed Dec 15, 2021 at 7:28 PM CET, Hans Hagen via ntg-context wrote: > > On 12/15/2021 6:22 PM, Aditya Mahajan via ntg-context wrote: > > > Hi all, > > >=20 > > > I am changing the way modules are installed in the ArchLinux aur pack= age for luametatex. > > >=20 > > > https://aur.archlinux.org/packages/luametatex/ > > >=20 > > > Earlier, I was just sym-linking to the modules installed by context-m= inimals-git package (which I also maintain). However, some packages there w= ere out of date (in particular pgf/tikz). The new PKGBUILD installs the mod= ules directly from CTAN. > > >=20 > > > The following modules are installed by default: > > > filter, vim, visualcounter, pgf, pgfplots, circtuitikz > > >=20 > > > You can install other modules by adding them in the PKGBUILD. > > >=20 > > > I am not sure if anyone else actually uses this PKGBUILD to maintain = an up-to-date installation of LMTX. If someone does use it, and wishes to a= dd more modules to the default list, I'll be happy to do that. > > Just curious ... we have this > > > > >mtxrun --script ctan --packages --pattern=3Dtikz > > > > which just gives info (at the time i made that the ctan api was bugged > > as it mixed up xml and json keys, but i'm not sure if that was fixed of > > became bug=3Dfeature for practical reasons) > > > > i never came to a 'download option' because it was ot clear where to > > download from .. are there zips? >=20 > Not sure if it's for every package, but should be just >=20 > "http://mirrors.ctan.org/" .. data.ctan.path .. ".zip" >=20 > in scripts.ctan.details. This corresponds the "Download" link on the CTAN page of each package, but = unfortunately, is not always in TDS format. For example, for pgf (which is = locate at /graphics/pgf/base), we have https://mirrors.ctan.org/graphics/pgf/base.zip which lists all tex related files in base/tex sub-directory. The CTAN page = (https://www.ctan.org/pkg/pgf) also has a field "TDS Archive", which lists: http://mirrors.ctan.org/install/graphics/pgf/base/pgf.tds.zip which is TDS compliant. The same is the case for circuitikz and pgfplots. S= o, it safer to use=20 "http://mirrors.ctan.org/" .. data.ctan.path .. "/" .. pkg_name .. "tds= =2Ezip" But, for context packages, CTAN does nto have the tds zips (I guess because= the default zip is already TDS compliant). For example: https://www.ctan.org/pkg/context-filter has the "download" link at the bottom but not the "TDS Archive" link. In the end, since I am only installing 4-5 packages, it is simpler to input= the URLs but hand rather than write code to automate the logic.=20 Aditya ---830189494-1423193687-1639600336=:2624339 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== ---830189494-1423193687-1639600336=:2624339--