From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NO_RECEIVED,NO_RELAYS,T_SCC_BODY_TEXT_LINE, URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/118031 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Arch linux package for context lmtx Date: Thu, 6 Jul 2023 03:35:51 +0200 (CEST) Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25427"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Archived-At: Original-X-From: ntg-context-bounces+gctc-ntg-context-518=m.gmane-mx.org@ntg.nl Thu Jul 06 03:39:31 2023 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from cgl.ntg.nl ([5.39.185.202]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qHDxz-0006SL-NF for gctc-ntg-context-518@m.gmane-mx.org; Thu, 06 Jul 2023 03:39:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 7A22648267D for ; Thu, 6 Jul 2023 03:36:27 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Original-Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hv6--qJTY97d for ; Thu, 6 Jul 2023 03:36:27 +0200 (CEST) Original-Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 66568482436 for ; Thu, 6 Jul 2023 03:36:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 228A2482371 for ; Thu, 6 Jul 2023 03:35:56 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Original-Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DJ4lBTPVX40b for ; Thu, 6 Jul 2023 03:35:56 +0200 (CEST) Original-Received: from orford.cim.mcgill.ca (smtp.cim.mcgill.ca [132.206.73.2]) (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) by cgl.ntg.nl (Postfix) with ESMTPS id E6724482370 for ; Thu, 6 Jul 2023 03:35:55 +0200 (CEST) Original-Received: from adi-carbonpad (lfbn-idf1-1-1165-187.w90-79.abo.wanadoo.fr [90.79.109.187]) (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 53EBB100031 for ; Wed, 5 Jul 2023 21:35:53 -0400 (EDT) Message-ID-Hash: ZSDWHZQPSLTHDSRIVEHLWQL7WG6FGE2R X-Message-ID-Hash: ZSDWHZQPSLTHDSRIVEHLWQL7WG6FGE2R X-MailFrom: adityam@umich.edu X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: mailing list for ConTeXt users List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Xref: news.gmane.io gmane.comp.tex.context:118031 Archived-At: Hi, I maintained a AUR (Arch User Repository) package for context lmtx which was called luametatex. Arch recently introduced an official extra package for luametatex (the binary) called ... well ... luametatex, which means that my package has a name conflict with the official package and hence was deleted. Arch also now provides an official texlive-context package for context. I assume that it syncs with texlive. At present, texlive-context includes ConTeXt 2023.03.10. So, I think that the AUR package is still useful. It is essentially just a wrapper around the official install scripts and provides the latest release of context lmtx (and user modules). So, I am renaming my old `luametatex` package and am re-releasing it as `context-lmtx-bin`. To use it: git clone https://aur.archlinux.org/context-lmtx-bin.git cd context-lmtx-bin makepkg sudo pacman -U context-lmtx-bin-.pkg.tar.zst This will install context lmtx in /opt/context-lmtx. This is in parallel with any system installed context. I also keep the old .tar.zst files around. That makes it easy to revert back to a previous version in case there is something that doesn't work as expected in the latest release. Note that by default the following third user modules are installed: 'filter' 'visualcounter' 'vim' 'tikz' 'typescripts' This is obviously a biased list corresponding to what packages I use. To install other packages, simply open the PKGBUILD file and change the _module variable defined as: _modules=('filter' 'visualcounter' 'vim' 'tikz' 'typescripts') You can change it to _modules=('--all') to install all modules. When using the package for the first time, run source /opt/context-lmtx/setuptex mtxrun --generate For any future runs, simply use source /opt/context-lmtx/setuptex once in your shell. This adds /opt/context-lmtx/texmf-linux-{32,64}/bin to the PATH variable, so the binaries provided by context-lmtx are found before the system binaries. The setuptex file provides a `resettex` function which removes the above path from the PATH variable. The setuptex file also sets a variable CONTEXDIST to 'lmtx'. This can be used to set the value of PS1 variable (or similar) of your shell prompt to add a visual reminder of which context installation you are using. Let me know if there are any issues with this install. Aditya ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________