From: Bruce Horrocks <ntg@scorecrow.com>
To: ntg-context mailing list <ntg-context@ntg.nl>
Subject: [NTG-context] Re: zint 2.12.0 barcode generator
Date: Sun, 20 Aug 2023 22:05:02 +0100 [thread overview]
Message-ID: <548F508D-3AFA-4912-8900-0B9D5FCD0CAD@scorecrow.com> (raw)
In-Reply-To: <d86801d3-8a4b-655d-479f-c8e7011e4762@gmail.com>
On 20 Aug 2023, at 17:28, Keith McKay <mckaymeister@gmail.com> wrote:
>
> Hi all,
>
> I've updated the zint barcode generator on my mac mini to 2.12.0 and now no barcode is produced. I have this vague recollection that it is only the 2.10.0 version of zint which works in ConTeXt. If I am correct, is ConTeXt likely to be updated so that 2.12.0 works? I originally installed zint with Homebrew. There is a very complicated thread on stackoverflow on how to downgrade to previous versions of a formula in homebrew, but it is far too complicated for my wee brain.
zint 2.12.0 works for me on an x64 Mac mini using ConTeXt ver: 2023.08.10 02:59
Following the instructions here <https://wiki.contextgarden.net/Barcodes>
1) I had to create the path $TEXROOT/tex/texmf-osx-64/bin/lib/luametatex/zint
2) I symbolic linked directly to the homebrew created libzint library
$ cd $TEXROOT/tex/texmf-osx-64/bin/lib/luametatex/zint
$ ln -s /usr/local/Cellar/zint/2.12.0/lib/libzint.dylib libzint.so
3) Then
$ cd ~
$ mtxrun --generate
4) and the sample file
\usemodule[zint]
\starttext
\barcode[alternative=isbnx, text=9783865419026, width=4cm]
\stoptext
produced a barcode.
—
Bruce Horrocks
Hampshire, UK
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2023-08-20 21:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-20 16:28 [NTG-context] " Keith McKay
2023-08-20 17:38 ` [NTG-context] " Michal Vlasák
2023-08-20 17:44 ` Keith McKay
2023-08-20 21:05 ` Bruce Horrocks [this message]
2023-08-21 9:36 ` Keith McKay
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=548F508D-3AFA-4912-8900-0B9D5FCD0CAD@scorecrow.com \
--to=ntg@scorecrow.com \
--cc=ntg-context@ntg.nl \
/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).