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:patch-4

- ["code 128"] = 20, ["isbn"] = 69, ["han xin code"] = 116,
+ ["code 128"] = 20, ["isbnx"] = 69, ["han xin code"] = 116,

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

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

zint-test.tex
---
\usemodule[zint]
\starttext
\barcode[alternative=isbnx, text=9783865419026, width=4cm]
\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’t. 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’t 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 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
___________________________________________________________________________________