From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/114523 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 18:11:48 +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="===============5279078517238318759==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22009"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Adam Reviczky To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 16 19:12:40 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 1nUY8W-0005W8-IF for gctc-ntg-context-518@m.gmane-mx.org; Wed, 16 Mar 2022 19:12:40 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9579F2A32CC; Wed, 16 Mar 2022 19:12:06 +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 IQQnnovkJvIY; Wed, 16 Mar 2022 19:12:04 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4500E2A32CD; Wed, 16 Mar 2022 19:12:04 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 274EE2A32CD for ; Wed, 16 Mar 2022 19:12:02 +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 T04H3dMb-mU9 for ; Wed, 16 Mar 2022 19:12:00 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.218.41; helo=mail-ej1-f41.google.com; envelope-from=reviczky@gmail.com; receiver= Original-Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) (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 CA41E2A32CC for ; Wed, 16 Mar 2022 19:12:00 +0100 (CET) Original-Received: by mail-ej1-f41.google.com with SMTP id bg10so5930238ejb.4 for ; Wed, 16 Mar 2022 11:12:00 -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=Og/KgQF8zqdo0lcePc2/gbMok2tVfFAwhSAHlCmidq8=; b=JPn+UpVBZusGGnaCzU4Vnubg/JnkDuQzBrS4gI5kPq6h8sWzGewcm48UU2QV62O7W+ icTLs+W9ahQgG6O8y4AzztIX3FC9x5/JOELhBEtUKRb5v3YZFs1az+FLlry71j5s6jVa erFsfMCgkc0GhvD3XMUZMV+0EQvdPDN79kNkwjluzqr3OCM7NpgjMN2i/QgFFGcB5M+6 1o2o5JVqke1h70R1JxdzSUqbP3/nQq9GjY1vV6ExMlwSr5QpRjCDnBig7juoig+WdH58 trtU5mYmdKjjPiFX5J46oGrgrlyDk9IXE1iAkv39TnFOGk+zC8aGfRzuEfzkk/QyqO3D KgNg== 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=Og/KgQF8zqdo0lcePc2/gbMok2tVfFAwhSAHlCmidq8=; b=hPYUcTkEM3AqhTX6ziNLkru/gsorl2UlLf4M2GplJzayjTQ8UF7p8a8oAR9bfEUorm kqpfOsyh6AeGRHHdCPYTden5tGZgC4QCTojCs3pW88mSTrzJtG7wR4YUQWj4E35fFPo+ XvGLUuN5Gf+fHlfykIOwXpS85vAtjlBnEDn9UtzImKAflazfOpi1b7Gaxj0hcCWQELDI y9eZbc+c4OdeYasSXohSpim+U9zg+eujHzL653UhQOpEVOD2p+5obqvWPDaDhvmMoeQW PPJsd9WSyP7aTMfowM3Ovxl8oELg03544KJQ+qjjlW5AuaMd9SIS3skAT956gYvfGkmG 4WaQ== X-Gm-Message-State: AOAM531ThJClGMNfrrz8oUCMARdT1MVSAMIa0zEvrX8oJtdDh4crztkL q9RLD5UQ3ktRXJYawPEAbT+mo3zu9lf3sabbwWBuepijs1IiAg== X-Google-Smtp-Source: ABdhPJyDJxvn/5zq1vvmG+OePzl7+urWh3rxVmgBvZ5FIeDJO2B4Ja6sKpRJfwXVOJuXjA68hPhb0w7tEaO5ZcJGvYg= X-Received: by 2002:a17:906:7952:b0:6da:94c9:cccb with SMTP id l18-20020a170906795200b006da94c9cccbmr971247ejo.469.1647454319939; Wed, 16 Mar 2022 11:11:59 -0700 (PDT) In-Reply-To: <8a009480-b4e2-2e26-32d8-f5a8d4a868fe@xs4all.nl> 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:114523 Archived-At: --===============5279078517238318759== Content-Type: multipart/alternative; boundary="00000000000086142305da59d9bd" --00000000000086142305da59d9bd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Pablo, If you use an older version of zint, maybe "isbn" instead of "isbnx" would work. I have used both isbnx and qrcode successfully with zint 2.10 on linux. \usemodule[zint] \starttext \barcode[alternative=3Disbn,text=3D9783865419026,width=3D4cm] %\barcode[alternative=3Disbnx,text=3D9783865419026,width=3D4cm] \stoptext Adam On Wed, Mar 16, 2022 at 5:07 PM Hans Hagen via ntg-context < ntg-context@ntg.nl> wrote: > On 3/16/2022 5:37 PM, Pablo Rodriguez via ntg-context wrote: > > Dear list, > > > > using latest LMTX and following the steps from > > https://wiki.contextgarden.net/Barcodes#Zint_module, I=E2=80=99m afraid= I don=E2=80=99t > > get any barcode either in Linux or Windows. > > > > Minimal sample: > > > > \starttext > > \usemodule[zint] > > \barcode[alternative=3Disbnx, text=3D9783865419026, width=3D4cm] > > \stoptext > > > > Error message is rather weird on Linux: > > > > optional > using library '/home/ousia/context/tex/texmf-linux= - > > 64/bin/lib/luametatex/zint/libzint.so' > > zint > unknown barcode alternative 'isbnx' > > zint > > > zint > valid barcode alternatives: > > zint > > > [...] > > zint > isbn > > zint > isbnx > > [...] > > > > It seems that a valid barcode alternative ends up being unknown to the > > library. > > > > What am I missing here? > > > > Many thanks for your help, > Are you sure that you have the latest zint? (from sourceforge) > > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > ----------------------------------------------------------------- > > _________________________________________________________________________= __________ > 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 > > _________________________________________________________________________= __________ > --00000000000086142305da59d9bd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Pablo,

If you use an olde= r version of zint, maybe "isbn" instead of "isbnx" woul= d work.

I have used both isbnx and qrcode successf= ully with zint 2.10 on linux.

\usemodule[zint]
\starttext
\barcode[alternative=3Disbn,text=3D9783865419026,width=3D4cm]=
%\barcode[alternative=3Disbnx,text=3D9783865419026,width=3D4cm]
=C2=A0\s= toptext

Adam

On Wed, Mar 16, 2022 at 5:07= PM Hans Hagen via ntg-context <nt= g-context@ntg.nl> wrote:
On 3/16/2022 5:37 PM, Pablo Rodriguez via ntg-context wrote= :
> Dear list,
>
> using latest LMTX and following the steps from
> https://wiki.contextgarden.net/Barcodes#Zint= _module, I=E2=80=99m afraid I don=E2=80=99t
> get any barcode either in Linux or Windows.
>
> Minimal sample:
>
>=C2=A0 =C2=A0 \starttext
>=C2=A0 =C2=A0 \usemodule[zint]
>=C2=A0 =C2=A0 \barcode[alternative=3Disbnx, text=3D9783865419026, width= =3D4cm]
>=C2=A0 =C2=A0 \stoptext
>
> Error message is rather weird on Linux:
>
>=C2=A0 =C2=A0 optional=C2=A0 =C2=A0 =C2=A0 =C2=A0 > using library &#= 39;/home/ousia/context/tex/texmf-linux-
>=C2=A0 =C2=A0 =C2=A0 64/bin/lib/luametatex/zint/libzint.so'
>=C2=A0 =C2=A0 zint=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > unknow= n barcode alternative 'isbnx'
>=C2=A0 =C2=A0 zint=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 >
>=C2=A0 =C2=A0 zint=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > valid = barcode alternatives:
>=C2=A0 =C2=A0 zint=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 >
>=C2=A0 =C2=A0 [...]
>=C2=A0 =C2=A0 zint=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 >=C2=A0 = =C2=A0isbn
>=C2=A0 =C2=A0 zint=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 >=C2=A0 = =C2=A0isbnx
>=C2=A0 =C2=A0 [...]
>
> It seems that a valid barcode alternative ends up being unknown to the=
> library.
>
> What am I missing here?
>
> Many thanks for your help,
Are you sure that you have the latest zint? (from sourceforge)


-----------------------------------------------------------------
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0Hans Hagen | PRAGMA ADE
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Ridderstraat 27 | 80= 61 GH Hasselt | The Netherlands
=C2=A0 =C2=A0 =C2=A0 =C2=A0 tel: 038 477 53 69 | www.pragma-ade.nl | www.= pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________= ________
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
___________________________________________________________________________= ________
--00000000000086142305da59d9bd-- --===============5279078517238318759== 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== --===============5279078517238318759==--