From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/115125 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Aditya Mahajan via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: Setting up zint on a mac with macOS Montery Version 12.3.1 Date: Mon, 30 May 2022 21:51:27 -0400 (EDT) Message-ID: References: <35dfcbda-f5aa-1eeb-f8af-8f6ddba2b3dd@gmail.com> <096E2950-39C5-419D-96BC-245B9350EE71@scorecrow.com> <475d96e6-0905-7d2d-a51d-84b06d340de9@gmail.com> <26994114-7E84-4809-986C-70429F4C1A7A@scorecrow.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-1278308219-1653961888=:163464" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24985"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Alpine 2.23 (LNX 453 2020-06-18) Cc: Aditya Mahajan To: =?ISO-8859-15?Q?Michal_Vlas=E1k_via_ntg-context?= Original-X-From: ntg-context-bounces@ntg.nl Tue May 31 03:52:25 2022 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 1nvr3Y-0006Co-CX for gctc-ntg-context-518@m.gmane-mx.org; Tue, 31 May 2022 03:52:24 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id EA58E28A0D3; Tue, 31 May 2022 03:51:38 +0200 (CEST) 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 fJsav6_BsYga; Tue, 31 May 2022 03:51:37 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1DC1F28A184; Tue, 31 May 2022 03:51:37 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2E2D128A179 for ; Tue, 31 May 2022 03:51:36 +0200 (CEST) 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 I5mD93KOvj5R for ; Tue, 31 May 2022 03:51:33 +0200 (CEST) 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 (smtp.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 A256328A0D3 for ; Tue, 31 May 2022 03:51:31 +0200 (CEST) Original-Received: from adi-thinkpad (135-23-198-80.cpe.pppoe.ca [135.23.198.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 ABA87F4513 for ; Mon, 30 May 2022 21:51:28 -0400 (EDT) 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:115125 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. --8323329-1278308219-1653961888=:163464 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE On Tue, 31 May 2022, Michal Vlas=C3=A1k via ntg-context wrote: > On Mon May 30, 2022 at 8:19 PM CEST, Jan-Erik H=C3=A4ggl=C3=B6f via ntg-c= ontext wrote: > > With latest LMTX installed on my Monterey intel MacBook Air and Zint ve= rsion 2.11 > > > > optional > using library '/Users/janneman/CTX/tex/texmf-osx-64/b= in/lib/luametatex/zint/libzint.so' > > zint > something went wrong: invalid result vector > > zint > something went wrong: invalid result vector > > zint > something went wrong: invalid result vector > > =E2=80=A6 >=20 > Luametatex is still built against zint 2.10, which is on the binary > level incompatible with 2.11, so you should try 2.10 in the meantime. >=20 > Ultimately there are three possibilities for the long run: >=20 > 1) Everyone sticks with 2.10 (which may be problematic since binaries > for this "old" version may gradually cease to be available). >=20 > 2) Hans updates luametatex to zint 2.11, which would mean that a lot of > people would need to update their zint installations now (and possibly > in the future for every update). This is what was done last time with > the update to 2.10. >=20 > 3) luametatex gains compatibility with 2.10 *and* 2.11. >=20 > Not sure what is the best way to proceed, since 3) is the messiest > implementation wise, but nicest for the users. Another option is to call the binary via the filter module. Here is an exam= ple which uses the `barcode` binary. It should be easy to adapt this to cal= l `zint`. https://github.com/adityam/filter/blob/dev/tests/13-filtersetup.tex The filter module caches the result, so the overhead of calling a binary in= stead of a library will be negligible.=20 Aditya --8323329-1278308219-1653961888=:163464 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== --8323329-1278308219-1653961888=:163464--