From: Adam Reviczky via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
Hans Hagen <j.hagen@xs4all.nl>
Cc: Adam Reviczky <reviczky@gmail.com>, Pablo Rodriguez <oinos@gmx.es>
Subject: Re: zint module on LMTX
Date: Wed, 16 Mar 2022 23:04:04 +0000 [thread overview]
Message-ID: <CABaoHuu8JaH_pJRL43z9Ky9GcgudZW5xatyXzH3BqB-eO10Kwg@mail.gmail.com> (raw)
In-Reply-To: <b169ae55-3ed3-52fc-40ee-4c9cb49da41a@gmx.es>
[-- Attachment #1.1: Type: text/plain, Size: 2318 bytes --]
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 <j.hagen@xs4all.nl> can you update the libs-imp-zint.lmt
<https://github.com/contextgarden/context-mirror/compare/beta...reviczky:patch-4#diff-e9a8d1468821ebec460080cb3a74fedac5a4f5d9d8b4cd262531a65345145ebe>
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
>
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 5286 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2022-03-16 23:04 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-16 16:37 Pablo Rodriguez via ntg-context
2022-03-16 17:05 ` Hans Hagen via ntg-context
2022-03-16 18:11 ` Adam Reviczky via ntg-context
2022-03-16 21:32 ` Pablo Rodriguez via ntg-context
2022-03-16 23:04 ` Adam Reviczky via ntg-context [this message]
2022-03-17 15:26 ` Pablo Rodriguez via ntg-context
2022-03-25 10:43 ` Lutz Haseloff via ntg-context
2022-03-16 18:12 ` Pablo Rodriguez via ntg-context
[not found] <mailman.2658.1647466369.1172.ntg-context@ntg.nl>
2022-09-03 23:36 ` Ivan Pešić via ntg-context
2022-09-04 8:51 ` Hans Hagen via ntg-context
[not found] <mailman.272.1662280561.1198.ntg-context@ntg.nl>
2022-09-04 9:59 ` Ivan Pešić via ntg-context
2022-09-04 10:59 ` Michal Vlasák via ntg-context
2022-09-04 11:27 ` Hans Hagen via ntg-context
2022-09-04 11:43 ` Hans Hagen via ntg-context
2022-09-04 11:25 ` Hans Hagen via ntg-context
2022-09-04 12:23 ` Michal Vlasák via ntg-context
[not found] <mailman.0.1662285601.13547.ntg-context@ntg.nl>
2022-09-04 12:53 ` Ivan Pešić via ntg-context
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CABaoHuu8JaH_pJRL43z9Ky9GcgudZW5xatyXzH3BqB-eO10Kwg@mail.gmail.com \
--to=ntg-context@ntg.nl \
--cc=j.hagen@xs4all.nl \
--cc=oinos@gmx.es \
--cc=reviczky@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).