Apologies. I realised late last night that I had forgotten to update the paths zint in my shell and after doing that this morning all now works. Apologies again. Thanks for the help. Keith On 20/08/2023 22:05, Bruce Horrocks wrote:
On 20 Aug 2023, at 17:28, Keith McKay
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 ___________________________________________________________________________________