From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/114527 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Adam Reviczky via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: zint module on LMTX Date: Wed, 16 Mar 2022 23:04:04 +0000 Message-ID: References: <8a009480-b4e2-2e26-32d8-f5a8d4a868fe@xs4all.nl> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5017593185665032943==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32540"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Adam Reviczky , Pablo Rodriguez To: mailing list for ConTeXt users , Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 17 00:05:03 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 1nUchS-00086x-W7 for gctc-ntg-context-518@m.gmane-mx.org; Thu, 17 Mar 2022 00:05:03 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9B9C62A32E5; Thu, 17 Mar 2022 00:04:21 +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 8vNQjMMZhMMG; Thu, 17 Mar 2022 00:04:20 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7C8DF2A32C1; Thu, 17 Mar 2022 00:04:20 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BC8EC2A32C1 for ; Thu, 17 Mar 2022 00:04:18 +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 fnX-FwLACPxv for ; Thu, 17 Mar 2022 00:04:17 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.218.45; helo=mail-ej1-f45.google.com; envelope-from=reviczky@gmail.com; receiver= Original-Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.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 0DB1B2A32BF for ; Thu, 17 Mar 2022 00:04:16 +0100 (CET) Original-Received: by mail-ej1-f45.google.com with SMTP id dr20so7046151ejc.6 for ; Wed, 16 Mar 2022 16:04:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NdcUrsjrSAlgUlblzy86SaodwR46FKBwpCp5tRPzwz0=; b=bWM1PQEhHGXQLU/pbkXGasVAoSN/zlEMA6Re28FDjNBVwxZrWMPlBQCc7K6wsL6scZ kJ2BCKxlIBaxWcQULM49JXVke5BFA3y/WknZxo56SM6fG9Og9158zhK3YpfzHiCaYRfj 5KvHcGC2mbrVYc+GEroRpmpDVrrcSD1fTt11ifHxgND8xdOk2dRshJIeYYiOa6uxgSJl ZXQXvHuj5iF2ZysIDu/Gi3uOTUsHU6FgYozmLEA0A4VEgfOvzF7XEgNlBGfsInh8ubdB kVJtaDyHut42ionh4h4WzukFQz27zZ785tzmDQPDwBKHkFqA7KvqgPpyEtqRpy6EHoqp 8UJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NdcUrsjrSAlgUlblzy86SaodwR46FKBwpCp5tRPzwz0=; b=KDWCmpIyLR3fT2ogsClajZ2niEtGe0Y04ANkGchEUU2D5mwzPZ8SCJ2HbeDvL7zU7Z AGnCpIlGEf+YLtFXaoPZ/VBxgX5R1UqRlKWH7zVlR9QOJoiMsTSvPR1H21r+kT31AXQh ar4e1MBSU0ER6K21YZPoqzyYyAsiR39YDTrUPcXA4n4xinWbyMt/2Sj7TNIP2taLpPW8 4dNvA7GxERgOhnTcxG5VtX8ePngYvUK3oR8vTaW81TSo9syvMHu6itmn5dxQdJDmHvMd 0HkRXplRe8ERAT9lpvW3/DghiknKC0j+d8gZdh8xJDyll0RweWzH7SIj+8ardMLjOl/7 jrLg== X-Gm-Message-State: AOAM5303P8W29VZajoQ44VUDirkfWVw18mJ11h1zKr8cZxFTGkrgMaXW zoN98MmBiCohova/aG85JF5Ua+Dln4kyzGREq7jySOTYzK+Zsg== X-Google-Smtp-Source: ABdhPJzh4vfpOWc7QuxhUOPbZVehqBmvKsen/iKdVELOhOw7xkJ8QXx9d67V7gv0LDC3KwZRj3Njjuc2tBKJlTAaEwk= X-Received: by 2002:a17:906:7952:b0:6da:94c9:cccb with SMTP id l18-20020a170906795200b006da94c9cccbmr1834879ejo.469.1647471856044; Wed, 16 Mar 2022 16:04:16 -0700 (PDT) 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:114527 Archived-At: --===============5017593185665032943== Content-Type: multipart/alternative; boundary="000000000000c1cfc005da5deec7" --000000000000c1cfc005da5deec7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Pablo, You are correct, the LuaMetaTeX file is still expecting the old "isbn" as the name, whereas the MKIV running zint directly requires the new one with "isbnx". Not sure with which zint version the "isbn" got changed to "isbnx". @Hans Hagen can you update the libs-imp-zint.lmt to have the same interface for MKIV and LMTX: https://github.com/contextgarden/context-mirror/compare/beta...reviczky:pat= ch-4 - ["code 128"] =3D 20, ["isbn"] =3D 69, ["han xin code"] =3D 116, + ["code 128"] =3D 20, ["isbnx"] =3D 69, ["han xin code"] =3D 116, - if lower(code) =3D=3D "isbn" then + if lower(code) =3D=3D "isbnx" then This way the sample works in the same way for both MKIV and LMTX: zint-test.tex --- \usemodule[zint] \starttext \barcode[alternative=3Disbnx, text=3D9783865419026, width=3D4cm] \stoptext --- context zint-test.tex context --luatex zint-test.tex Adam On Wed, Mar 16, 2022 at 9:39 PM Pablo Rodriguez via ntg-context < ntg-context@ntg.nl> wrote: > On 3/16/22 19:11, Adam Reviczky via ntg-context wrote: > > Hi Pablo, > > > > If you use an older version of zint, maybe "isbn" instead of "isbnx" > > would work. > > Hi Adam, > > I have just installed version 2.10. > > "isbn" works, but "isbnx" doesn=E2=80=99t. As already reported is an > unrecognized option that is also listed as available alternative (weird). > > > I have used both isbnx and qrcode successfully with zint 2.10 on linux. > > As said, for some strange reason, "isbnx" doesn=E2=80=99t work on my Linu= x machine. > > On Windows, I need to check the issue further. > > Many thanks for your help, > > Pablo > > _________________________________________________________________________= __________ > 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 > > _________________________________________________________________________= __________ > --000000000000c1cfc005da5deec7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Pablo,

You are correct, t= he LuaMetaTeX file is still expecting the old "isbn" as the name,= whereas the MKIV running zint directly requires the new one with "isb= nx".
Not sure with which zint version the "isbn&quo= t; got changed to "isbnx".

@Hans Hagen can you update the libs= -imp-zint.lmt to have the same interface for MKIV and LMTX:
<= br>

- ["cod= e 128"] =3D 20, ["isbn"] =3D 69, ["han xin co= de"] =3D 116,
+ ["code 128"] =3D 20, ["isbnx"] = =3D 69, ["han xin code"] =3D 116,

- if lower(code) =3D=3D "isbn" then
+ if lower(code) =3D=3D "isbnx" then

This way the sample works in the same way for both = MKIV and LMTX:

zint-test.tex
---
=
\usemodule[zint]
\starttext
\barcode[alternative=3Disbnx, = text=3D9783865419026, width=3D4cm]
\stoptext
---
=

context zint-test.tex
context --luatex zint-t= est.tex

Adam

On Wed, Mar 16, 2022 at = 9:39 PM Pablo Rodriguez via ntg-context <ntg-context@ntg.nl> wrote:
On 3/16/22 19:11, Adam Reviczky via ntg-context wr= ote:
> Hi Pablo,
>
> If you use an older version of zint, maybe "isbn" instead of= "isbnx"
> would work.

Hi Adam,

I have just installed version 2.10.

"isbn" works, but "isbnx" doesn=E2=80=99t. As already r= eported is an
unrecognized option that is also listed as available alternative (weird).
> I have used both isbnx and qrcode successfully with zint 2.10 on linux= .

As said, for some strange reason, "isbnx" doesn=E2=80=99t work on= my Linux machine.

On Windows, I need to check the issue further.

Many thanks for your help,

Pablo
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--000000000000c1cfc005da5deec7-- --===============5017593185665032943== 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== --===============5017593185665032943==--