From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/114718 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jeong Dal via ntg-context Newsgroups: gmane.comp.tex.context Subject: $\sin \theta$ behave differently in metafun Date: Sat, 16 Apr 2022 08:04:32 +0900 Message-ID: <2C643FDC-8DF3-4956-A10F-AF44ACD1B6FE@me.com> References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: multipart/mixed; boundary="===============2509292614634358202==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35552"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Jeong Dal To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 16 01:14:54 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 1nfV9S-00091M-GH for gctc-ntg-context-518@m.gmane-mx.org; Sat, 16 Apr 2022 01:14:54 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 181AF289B2A; Sat, 16 Apr 2022 01:14:20 +0200 (CEST) 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 DoXGEjOcQlwh; Sat, 16 Apr 2022 01:14:17 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5359B289C45; Sat, 16 Apr 2022 01:14:17 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 16174289C58 for ; Sat, 16 Apr 2022 01:14:15 +0200 (CEST) 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 bii5svvbkeLL for ; Sat, 16 Apr 2022 01:14:13 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=17.58.6.46; helo=pv50p00im-zteg10021301.me.com; envelope-from=haksan@me.com; receiver= X-Greylist: delayed 572 seconds by postgrey-1.36 at zapf.ntg.nl; Sat, 16 Apr 2022 01:14:13 CEST Original-Received: from pv50p00im-zteg10021301.me.com (pv50p00im-zteg10021301.me.com [17.58.6.46]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 7BAE4289B2A for ; Sat, 16 Apr 2022 01:14:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1650063876; bh=HdpJJXrxUD5qYUPm5KvRTDGCz7OBSGizsqzioDYH6bM=; h=From:Content-Type:Mime-Version:Subject:Date:To:Message-Id; b=Y89ndgk7MGHFjPty66Yv8B9DF8wVggLex+4JGHspVIHSa276H27XjLPliZZ/FPiHa o7Z03wIFZhN/ViyGN7KzM6KNv0Gr1kQzamy3H9RnL6lmLNrVsV+d35CUEhUFev7ZHa BB3PBx3RWj2rzjqdgJJ0utEJbyayKV0SkajFs7QpAfem8E/rcQFd4xY7QV/s7orR0Y t02++3dgqXqVRSXopjtnoXAyrE0evX6ttcqDMQa27+lyfvwGGpqMnXEwaDpisOqeUU BemuJib0+xgoMVdKbl3WsCuTmzbLc9jpe8OUBzIqbOvFT+mXgKSxxZ4nYUI1+18DvQ 2WC6gz/QxRz8A== Original-Received: from smtpclient.apple (pv50p00im-dlb-asmtp-mailmevip.me.com [17.56.9.10]) by pv50p00im-zteg10021301.me.com (Postfix) with ESMTPSA id 222F9500169 for ; Fri, 15 Apr 2022 23:04:34 +0000 (UTC) In-Reply-To: X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.486, 18.0.858 definitions=2022-04-15_06:2022-04-15, 2022-04-15 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2009150000 definitions=main-2204150130 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:114718 Archived-At: --===============2509292614634358202== Content-Type: multipart/alternative; boundary="Apple-Mail=_A4269D08-85AA-4710-B5DE-C5EA6938C3AF" --Apple-Mail=_A4269D08-85AA-4710-B5DE-C5EA6938C3AF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Dear all, I use $\sin \theta$ and $\cos \theta$ behave differently in text and in = metafun. It works well sometime before but it doesn=E2=80=99t in metafun now. What is wrong in my example? Thank you for reading. Best regards, Dalyoung Here is a MWE. \startbuffer[pointCircle] numeric u; u:=3D1cm; pair A,B,C; draw fullcircle scaled 4u; A :=3D dir(25)*2u;=20 label.top(textext("$P=3D(\cos\theta, \sin\theta)$"), A); B :=3D dir(-25)*2u; label.bot(textext("$Q=3D(\cos(-\theta), \sin(-\theta))$"), B); C :=3D (xpart A, 0); label.lrt(textext("$A$"), C); label(textext("$O$"), origin); \stopbuffer \starttext I'd like use $\sin$ and $\cos$ in the metafun. But it shows strange text = instead of $\sin$ and $\cos$.=20 \processMPbuffer[pointCircle] \stoptext > 2022. 4. 13. =EC=98=A4=EC=A0=84 11:09, ntg-context-request@ntg.nl = =EC=9E=91=EC=84=B1: >=20 > Send ntg-context mailing list submissions to > ntg-context@ntg.nl >=20 > To subscribe or unsubscribe via the World Wide Web, visit > https://mailman.ntg.nl/mailman/listinfo/ntg-context > or, via email, send a message with subject or body 'help' to > ntg-context-request@ntg.nl >=20 > You can reach the person managing the list at > ntg-context-owner@ntg.nl >=20 > When replying, please edit your Subject line so it is more specific > than "Re: Contents of ntg-context digest..." >=20 >=20 > Today's Topics: >=20 > 1. Re: Setting up zint on a mac with macOS Montery Version > 12.3.1 (Keith McKay) > 2. Re: fatal error in LMTX (Bruce Horrocks) > 3. Re: Setting up zint on a mac with macOS Montery Version > 12.3.1 (Bruce Horrocks) > 4. Re: Proper formatting of itemized bullets in ConTeXt (=C5=9Br=C4=AB= r=C4=81ma) > 5. Re: Proper formatting of itemized bullets in ConTeXt (=C5=9Br=C4=AB= r=C4=81ma) >=20 >=20 > ---------------------------------------------------------------------- >=20 > Message: 1 > Date: Tue, 12 Apr 2022 21:04:50 +0100 > From: Keith McKay > To: Bruce Horrocks , mailing list for ConTeXt users > , monty.luis@gmail.com > Subject: Re: [NTG-context] Setting up zint on a mac with macOS Montery > Version 12.3.1 > Message-ID: <475d96e6-0905-7d2d-a51d-84b06d340de9@gmail.com> > Content-Type: text/plain; charset=3D"utf-8"; Format=3D"flowed" >=20 > Hi All >=20 > I created the symbolic link as suggested by Bruce and Luis and still = got the error message >=20 > optional > unable to locate library 'libzint' >=20 > in my text editor. I use TeXworks. However, I thought I would try = running from the Terminal app and it worked. It found libzint and output = the pdf with both barcodes and the qrcode. I have no idea why it works = in the Terminal and not TexWorks, I'm guessing I have a path issue which = I need to investigate. >=20 > Notes > 1) My machine is a mac-mini-M1 with macos Monterey and I'm running the = latest ConTeXt version > 2) Bruce noted that my Homebrew was installed in a non-standard = location so I checked on the Hombrew website and it is installed in = opt/homebrew for Apple Silicon i.e the M1 chip. Maybe Bruce's homebrew = was installed on an earlier version. >=20 > Thanks to Luis and Bruce for their suggestions. > Best Wishes > Keith McKay >=20 > On 10/04/2022 22:26, Bruce Horrocks wrote: >> Hi Keith, >>=20 >>> On 10 Apr 2022, at 14:49, Keith McKay via = ntg-context wrote: >>>=20 >>> Hi All >>>=20 >>> I have been struggling today trying to setup and use the Barcode = module zint in ConTeXt and failed. I have followed the instructions on = the wiki (https://wiki.contextgarden.net/Barcodes ) but with some = changes as follows. Which maybe why I failed. >>>=20 >>> 1) I downloaded Zint using Homebrew since I'm using macOS, and = installed it according to the instructions. >>>=20 >>>=20 >>> 2) Since I'm using LMTX I looked for the file libzint.dylib and = found it in /opt/homebrew/Cellar/zint/2.10.0/lib . This is different = from the path given on the wiki. The directory contained three files, = two of which were aliases, libzint.2.10.dylib and libzint.dylib, and an = exe file libzint.2.10.0.0.dylib >> You have Hombrew installed in a non-standard location. Mine is in = /usr/local/Cellar with the executables linked into /usr/local/bin. >>=20 >> But, assuming other Homebrew commands work when run from Terminal = then you might still be okay. >>=20 >>> 3) I created the path = $TEXROOT/tex/texmf-osx-64/bin/lib/luametatex/zint and copied = libzint.2.10.0.0.dylib into but replaced dylib with 'so' as suggested on = the wiki instructions. So I basically added lib/luametatex/zint to = texmf-osx-64/bin . >> "Yes" to creating the path but "no" to copying. Create a symbolic = link instead. >>=20 >> So, in Terminal: >>=20 >> $ cd $TEXROOT/tex/texmf-osx-64/bin/lib/luametatex/zint >>=20 >> # In my case I used the following: >> $ ln -s /usr/local/Cellar/zint/2.10.0/lib/libzint.dylib libzint.so >>=20 >> # For you with Homebrew in a different location, try: >> $ ln -s /opt/homebrew/Cellar/zint/2.10.0/lib/libzint.dylib = libzint.so >>=20 >> Then steps 4 and 5 as below. I ran the MWE below: the ISBN worked, = the ISBNX didn't, the QR code did. This is on Monterey. >>=20 >>> 4) I ran mtxrun --generate to update the database. >>>=20 >>> 5) I ran the MWE below but no barcode appeared. The console output = shows: >>>=20 >>>=20 >>> modules > using user prefixed file 'libs-imp-zint' >>> modules > 'zint' is loaded >>>=20 >>> however further down the output it gives: >>>=20 >>>=20 >>> optional > unable to locate library 'libzint' >>>=20 >>> I have tried renaming libzint2.10.0.0.so to libzint.so, but still no = barcode. Is their something I am missing? Tips or hints appreciated. >>> Best Wishes >>> Keith McKay >>>=20 >>> %%%%%%%%%%%%%% MWE %%%%%%%% >>> \usemodule[zint] >>> \starttext >>> \barcode[alternative=3Disbn,text=3D9783865419026,width=3D4cm] >>> \barcode[alternative=3Disbnx, text=3D9783865419026, width=3D4cm] >>> \barcode[alternative=3Dqrcode, = text=3D{https://wiki.contextgarden.net}, width=3D3cm] >>> \stoptext >> =E2=80=94 >> Bruce Horrocks >> Hampshire, UK >>=20 > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: = >=20 > ------------------------------ >=20 > Message: 2 > Date: Tue, 12 Apr 2022 23:27:43 +0100 > From: Bruce Horrocks > To: mailing list for ConTeXt users > Cc: Pablo Rodriguez > Subject: Re: [NTG-context] fatal error in LMTX > Message-ID: <5414357E-8929-4A9A-A9FA-F85EF21043E8@scorecrow.com> > Content-Type: text/plain; charset=3Dutf-8 >=20 >=20 >=20 >> On 12 Apr 2022, at 18:14, Pablo Rodriguez via ntg-context = wrote: >>=20 >> I wonder whether it would be possible that ConTeXt or LuaMeTaTeX = could >> be more verbose about an opened environment that isn=E2=80=99t = closed. >=20 >=20 > $ mtxrun --script check filename.tex >=20 > is something I learned from this list. >=20 > =E2=80=94 > Bruce Horrocks > Hampshire, UK >=20 >=20 >=20 > ------------------------------ >=20 > Message: 3 > Date: Tue, 12 Apr 2022 23:47:11 +0100 > From: Bruce Horrocks > To: Keith McKay > Cc: mailing list for ConTeXt users , > monty.luis@gmail.com > Subject: Re: [NTG-context] Setting up zint on a mac with macOS Montery > Version 12.3.1 > Message-ID: <26994114-7E84-4809-986C-70429F4C1A7A@scorecrow.com> > Content-Type: text/plain; charset=3Dutf-8 >=20 >=20 >=20 >> On 12 Apr 2022, at 21:04, Keith McKay wrote: >>=20 >> Hi All >> I created the symbolic link as suggested by Bruce and Luis and still = got the error message=20 >>=20 >> optional > unable to locate library 'libzint' >>=20 >> in my text editor. I use TeXworks. However, I thought I would try = running from the Terminal app and it worked. It found libzint and output = the pdf with both barcodes and the qrcode. I have no idea why it works = in the Terminal and not TexWorks, I'm guessing I have a path issue which = I need to investigate. >=20 > Could be a path issue - or some other environment variable. This link = should help you decide what needs to go where: > = >=20 >> Notes >> 1) My machine is a mac-mini-M1 with macos Monterey and I'm running = the latest ConTeXt version >> 2) Bruce noted that my Homebrew was installed in a non-standard = location so I checked on the Hombrew website and it is installed in = opt/homebrew for Apple Silicon i.e the M1 chip. Maybe Bruce's homebrew = was installed on an earlier version. >=20 > Ah, I'm on an Intel Mac which still uses the old approach. Apologies = for the red herring. >=20 >> Thanks to Luis and Bruce for their suggestions. >> Best Wishes >> Keith McKay >=20 > =E2=80=94 > Bruce Horrocks > Hampshire, UK >=20 >=20 >=20 > ------------------------------ >=20 > Message: 4 > Date: Wed, 13 Apr 2022 07:37:58 +0530 > From: =C5=9Br=C4=ABr=C4=81ma > To: mailing list for ConTeXt users , A A > > Subject: Re: [NTG-context] Proper formatting of itemized bullets in > ConTeXt > Message-ID: <11959935.O9o76ZdvQC@sreeramtplt> > Content-Type: text/plain; charset=3D"UTF-8" >=20 > On 4/12/22 1:57 PM A A via ntg-context wrote: >> Is there a straightforward way of setting up the itemize command such = that >> every first letter is capitalized, regardless of whether I do so in = the >> source file? >>=20 >> Also, is there a way to insert a comma at the end of each item except = for >> the last, and then a full stop at the end of the last item like = follows? >>=20 >> - First item, >> - Second item, >> - Third item, >> - Last item. >=20 > I revisited this today after the (frankly) subpar solution I presented = yesterday. With the below example, we=20 > =E2=80=A2 neither lose the nice features of \setupitemgroup=20 > =E2=80=A2 nor do we need grouping of the items.=20 > The only 'price to pay' is to use \citem (comma item) and \pitem = (period item) as required.=20 >=20 > %% start example > \def\citem{\item\AfterPar{\hspace[-normal],}\GetPar} > \def\pitem{\item\AfterPar{\hspace[-normal].}\GetPar} >=20 > \defineitemgroup > [pitemize] > [command=3D\Word,numberconversion=3Dwords] >=20 > \starttext > \startpitemize[n] > \citem first item > \citem second item > \citem third item > \pitem fourth item > \stoppitemize > \stoptext > %% stop example >=20 > Best, > Sreeram >=20 >=20 >=20 >=20 > ------------------------------ >=20 > Message: 5 > Date: Wed, 13 Apr 2022 07:39:06 +0530 > From: =C5=9Br=C4=ABr=C4=81ma > To: mailing list for ConTeXt users , A A > > Subject: Re: [NTG-context] Proper formatting of itemized bullets in > ConTeXt > Message-ID: <5813959.lOV4Wx5bFT@sreeramtplt> > Content-Type: text/plain; charset=3D"UTF-8" >=20 > On 4/13/22 7:37 AM =C5=9Br=C4=ABr=C4=81ma wrote: >> I revisited this today after the (frankly) subpar solution I = presented yesterday. With the below example, we=20 >> =E2=80=A2 neither lose the nice features of \setupitemgroup=20 >> =E2=80=A2 nor do we need grouping of the items.=20 >> The only 'price to pay' is to use \citem (comma item) and \pitem = (period item) as required.=20 >=20 > cleaned up the example =E2=80=93=20 >=20 > %% start example > \def\citem{\item\AfterPar{\hspace[-normal],}\GetPar} > \def\pitem{\item\AfterPar{\hspace[-normal].}\GetPar} >=20 > \defineitemgroup > [pitemize] > [command=3D\Word] >=20 > \starttext > \startpitemize[n] > \citem first item > \citem second item > \citem third item > \pitem fourth item > \stoppitemize > \stoptext > %% stop example >=20 >=20 > Sreeram >=20 >=20 >=20 >=20 > ------------------------------ >=20 > Subject: Digest Footer >=20 > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > maillist : ntg-context@ntg.nl / = http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > = __________________________________________________________________________= _________ >=20 >=20 > ------------------------------ >=20 > End of ntg-context Digest, Vol 214, Issue 19 > ******************************************** --Apple-Mail=_A4269D08-85AA-4710-B5DE-C5EA6938C3AF Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Dear = all,

I use $\sin = \theta$ and $\cos \theta$ behave differently in text and in = metafun.
It works well sometime before but it = doesn=E2=80=99t  in metafun now.
What is wrong = in my example?

Thank you for reading.
Best = regards,

Dalyoung

Here is a MWE.

\startbuffer[pointCircle]
numeric u; u:=3D1cm;
pair A,B,C;
draw fullcircle scaled = 4u;
A :=3D dir(25)*2u;
label.top(textext("$P=3D(\cos\theta, \sin\theta)$"), = A);
B :=3D = dir(-25)*2u;
label.bot(textext("$Q=3D(\cos(-\theta), \sin(-\theta))$"), = B);
C :=3D = (xpart A, 0); label.lrt(textext("$A$"), = C);
label(textext("$O$"), = origin);
\stopbuffer
\starttext
I'd like = use $\sin$ and $\cos$ = in the metafun. But it shows strange text instead of $\sin$ = and $\cos$.

\processMPbuffer[pointCircle]

\stoptext


2022. 4. 13. =EC=98=A4=EC=A0=84 11:09, ntg-context-request@ntg.nl =EC=9E=91=EC=84=B1:

Send = ntg-context mailing list submissions to
ntg-context@ntg.nl

To subscribe or unsubscribe via the World Wide = Web, visit
= https://mailman.ntg.nl/mailman/listinfo/ntg-context
or, via email, send a message with subject or body 'help' = to
= ntg-context-request@ntg.nl

You= can reach the person managing the list at
= ntg-context-owner@ntg.nl

When = replying, please edit your Subject line so it is more specific
than "Re: Contents of ntg-context digest..."


Today's Topics:

=   1. Re: Setting up zint on a mac with macOS Montery = Version
     12.3.1 (Keith = McKay)
  2. Re: fatal error in LMTX (Bruce = Horrocks)
  3. Re: Setting up zint on a mac = with macOS Montery Version
=      12.3.1 (Bruce Horrocks)
=   4. Re: Proper formatting of itemized bullets in ConTeXt = (=C5=9Br=C4=ABr=C4=81ma)
  5. Re: Proper = formatting of itemized bullets in ConTeXt (=C5=9Br=C4=ABr=C4=81ma)


---------------------------------------------------------------= -------

Message: 1
Date: Tue, = 12 Apr 2022 21:04:50 +0100
From: Keith McKay = <mckaymeister@gmail.com>
To: Bruce Horrocks = <ntg@scorecrow.com>, mailing list for ConTeXt users
= <ntg-context@ntg.nl>, monty.luis@gmail.com
Subject: Re: [NTG-context] Setting up zint on a mac with = macOS Montery
Version 12.3.1
Message-ID: = <475d96e6-0905-7d2d-a51d-84b06d340de9@gmail.com>
Content-Type: text/plain; charset=3D"utf-8"; = Format=3D"flowed"

Hi All

I created the symbolic link as suggested by Bruce and Luis = and still got the error message

optional =        > unable to locate library = 'libzint'

in my text editor. I use = TeXworks. However, I thought I would try running from the Terminal app = and it worked. It found libzint and output the pdf with both barcodes = and the qrcode. I have no idea why it works in the Terminal and not = TexWorks, I'm guessing I have a path issue which I need to = investigate.

Notes
1) My = machine is a mac-mini-M1 with macos Monterey and I'm running the latest = ConTeXt version
2) Bruce noted that my Homebrew was = installed in a non-standard location so I checked on the Hombrew website = and it is installed in opt/homebrew for Apple Silicon i.e the M1 chip. = Maybe Bruce's homebrew was installed on an earlier version.

Thanks to Luis and Bruce for their = suggestions.
Best Wishes
Keith McKay

On 10/04/2022 22:26, Bruce Horrocks wrote:
Hi Keith,

On 10 Apr = 2022, at 14:49, Keith McKay via ntg-context<ntg-context@ntg.nl> =  wrote:

Hi All

I have been struggling today trying to setup and use the = Barcode module zint in ConTeXt and failed. I have followed the = instructions on the wiki (https://wiki.contextgarden.net/Barcodes =  ) but with some changes as follows. Which maybe why I failed.

1) I downloaded Zint using Homebrew since I'm = using macOS, and installed it according to the instructions.


2) Since I'm using LMTX I = looked for the file libzint.dylib and found it in = /opt/homebrew/Cellar/zint/2.10.0/lib . This is different from the path = given on the wiki. The directory contained three files, two of which = were aliases,  libzint.2.10.dylib and libzint.dylib, and an exe = file libzint.2.10.0.0.dylib
You have Hombrew = installed in a non-standard location. Mine is in /usr/local/Cellar with = the executables linked into /usr/local/bin.

But, assuming other Homebrew commands work when run from = Terminal then you might still be okay.

3) I created the path = $TEXROOT/tex/texmf-osx-64/bin/lib/luametatex/zint and copied = libzint.2.10.0.0.dylib into but replaced dylib with 'so' as suggested on = the wiki instructions. So I basically added  lib/luametatex/zint to = texmf-osx-64/bin .
"Yes" to creating the path = but "no" to copying. Create a symbolic link instead.

So, in Terminal:

  $ = cd $TEXROOT/tex/texmf-osx-64/bin/lib/luametatex/zint

  # In my case I used the following:
=   $ ln -s /usr/local/Cellar/zint/2.10.0/lib/libzint.dylib = libzint.so

  # For you with = Homebrew in a different location, try:
  $ ln = -s /opt/homebrew/Cellar/zint/2.10.0/lib/libzint.dylib libzint.so

Then steps 4 and 5 as below. I ran the MWE = below: the ISBN worked, the ISBNX didn't, the QR code did. This is on = Monterey.

4) I ran mtxrun --generate to update the database.

5) I ran the MWE below but no barcode = appeared. The console output shows:


modules         > = using user prefixed file 'libs-imp-zint'
modules =         > 'zint' is loaded

 however further down the output it = gives:


optional =        > unable to locate library = 'libzint'

I have tried renaming = libzint2.10.0.0.so to libzint.so, but still no barcode. Is their = something I am missing? Tips or hints appreciated.
Best = Wishes
Keith McKay

%%%%%%%%%%%%%% MWE %%%%%%%%
\usemodule[zint]
\starttext
\barcode[alternative=3Disbn,text=3D9783865419026,width=3D4cm]\barcode[alternative=3Disbnx, text=3D9783865419026, = width=3D4cm]
\barcode[alternative=3Dqrcode, = text=3D{https://wiki.contextgarden.net}, width=3D3cm]
\stoptext
=E2=80=94
Bruce Horrocks
Hampshire, UK

-------------- next part --------------
An HTML attachment was scrubbed...
URL: = <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20220412/a5b05= 969/attachment-0001.htm>

------------------------------

Message: 2
Date: Tue, 12 Apr 2022 23:27:43 = +0100
From: Bruce Horrocks <ntg@scorecrow.com>
To: mailing list for ConTeXt users = <ntg-context@ntg.nl>
Cc: Pablo Rodriguez = <oinos@gmx.es>
Subject: Re: [NTG-context] fatal = error in LMTX
Message-ID: = <5414357E-8929-4A9A-A9FA-F85EF21043E8@scorecrow.com>
Content-Type: text/plain; charset=3Dutf-8



On 12 Apr 2022, at 18:14, Pablo Rodriguez via ntg-context = <ntg-context@ntg.nl> wrote:

I wonder = whether it would be possible that ConTeXt or LuaMeTaTeX could
be more verbose about an opened environment that isn=E2=80=99t = closed.


$ = mtxrun --script check  filename.tex

is = something I learned from this list.

=E2=80=94=
Bruce Horrocks
Hampshire, UK



------------------------------

Message: 3
Date: Tue, 12 Apr 2022 23:47:11 = +0100
From: Bruce Horrocks <ntg@scorecrow.com>
To: Keith McKay <mckaymeister@gmail.com>
Cc: mailing list for ConTeXt users = <ntg-context@ntg.nl>,
monty.luis@gmail.com
Subject: Re: [NTG-context] Setting up zint on a mac with = macOS Montery
Version 12.3.1
Message-ID: = <26994114-7E84-4809-986C-70429F4C1A7A@scorecrow.com>
Content-Type: text/plain; charset=3Dutf-8



On 12 Apr 2022, at 21:04, Keith McKay = <mckaymeister@gmail.com> wrote:

Hi = All
I created the symbolic link as suggested by Bruce and = Luis and still got the error message

optional        > = unable to locate library 'libzint'

in my = text editor. I use TeXworks. However, I thought I would try running from = the Terminal app and it worked. It found libzint and output the pdf with = both barcodes and the qrcode. I have no idea why it works in the = Terminal and not TexWorks, I'm guessing I have a path issue which I need = to investigate.

Could be a = path issue - or some other environment variable. This link should help = you decide what needs to go where:
<https://unix.stackexchange.com/questions/71253/what-should-= shouldnt-go-in-zshenv-zshrc-zlogin-zprofile-zlogout>

Notes
1) = My machine is a mac-mini-M1 with macos Monterey and I'm running the = latest ConTeXt version
2) Bruce noted that my Homebrew was = installed in a non-standard location so I checked on the Hombrew website = and it is installed in opt/homebrew for Apple Silicon i.e the M1 chip. = Maybe Bruce's homebrew was installed on an earlier version.

Ah, I'm on an Intel Mac which = still uses the old approach. Apologies for the red herring.

Thanks to = Luis and Bruce for their suggestions.
Best Wishes
Keith McKay

=E2=80=94=
Bruce Horrocks
Hampshire, UK



------------------------------

Message: 4
Date: Wed, 13 Apr 2022 07:37:58 = +0530
From: =C5=9Br=C4=ABr=C4=81ma = <citturs@gmail.com>
To: mailing list for ConTeXt = users <ntg-context@ntg.nl>, A A
= <amine.aboufirass@gmail.com>
Subject: Re: = [NTG-context] Proper formatting of itemized bullets in
= ConTeXt
Message-ID: = <11959935.O9o76ZdvQC@sreeramtplt>
Content-Type: = text/plain; charset=3D"UTF-8"

On 4/12/22 = 1:57 PM A A via ntg-context wrote:
Is there a straightforward way of setting up the itemize = command such that
every first letter is capitalized, = regardless of whether I do so in the
source file?

Also, is there a way to insert a comma at the = end of each item except for
the last, and then a full stop = at the end of the last item like follows?

=   - First item,
  - Second item,
  - Third item,
  - Last = item.

I revisited this today = after the (frankly) subpar solution I presented yesterday. With the = below example, we
 =E2=80=A2 neither lose the nice = features of \setupitemgroup
 =E2=80=A2 nor do we = need grouping of the items.
The only 'price to pay' is to = use \citem (comma item) and \pitem (period item) as required.

%% start example
=  \def\citem{\item\AfterPar{\hspace[-normal],}\GetPar}
=  \def\pitem{\item\AfterPar{\hspace[-normal].}\GetPar}

 \defineitemgroup
=    [pitemize]
=    [command=3D\Word,numberconversion=3Dwords]

 \starttext
=  \startpitemize[n]
 \citem first item
 \citem second item
 \citem third = item
 \pitem fourth item
=  \stoppitemize
 \stoptext
%% stop = example

Best,
=  Sreeram




------------------------------
Message: 5
Date: Wed, 13 Apr 2022 07:39:06 = +0530
From: =C5=9Br=C4=ABr=C4=81ma = <citturs@gmail.com>
To: mailing list for ConTeXt = users <ntg-context@ntg.nl>, A A
= <amine.aboufirass@gmail.com>
Subject: Re: = [NTG-context] Proper formatting of itemized bullets in
= ConTeXt
Message-ID: = <5813959.lOV4Wx5bFT@sreeramtplt>
Content-Type: = text/plain; charset=3D"UTF-8"

On 4/13/22 = 7:37 AM =C5=9Br=C4=ABr=C4=81ma wrote:
I revisited this today after the (frankly) = subpar solution I presented yesterday. With the below example, we
 =E2=80=A2 neither lose the nice features of = \setupitemgroup
 =E2=80=A2 nor do we need grouping = of the items.
The only 'price to pay' is to use \citem = (comma item) and \pitem (period item) as required.

cleaned up the example =E2=80=93 =

%% start example
=  \def\citem{\item\AfterPar{\hspace[-normal],}\GetPar}
=  \def\pitem{\item\AfterPar{\hspace[-normal].}\GetPar}

 \defineitemgroup
=    [pitemize]
=    [command=3D\Word]

=  \starttext
 \startpitemize[n]
=  \citem first item
 \citem second item
 \citem third item
 \pitem fourth = item
 \stoppitemize
=  \stoptext
%% stop example


 Sreeram




------------------------------
Subject: Digest Footer

_______________________________________________________________= ____________________
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://tex.aanhet.net
archive  : = https://foundry.supelec.fr/projects/contextrev/
wiki =     : http://contextgarden.net
_______________________________________________________________= ____________________


------------------------------

End= of ntg-context Digest, Vol 214, Issue 19
********************************************

= --Apple-Mail=_A4269D08-85AA-4710-B5DE-C5EA6938C3AF-- --===============2509292614634358202== 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== --===============2509292614634358202==--