From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/111142 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Charles Doherty Newsgroups: gmane.comp.tex.context Subject: Re: arm osx Date: Fri, 23 Apr 2021 12:11:26 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Content-Type: multipart/mixed; boundary="===============7054556211412296982==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24875"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 23 13:19:05 2021 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 1lZtpw-0006Cy-DF for gctc-ntg-context-518@m.gmane-mx.org; Fri, 23 Apr 2021 13:19:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id F0733282B05; Fri, 23 Apr 2021 13:18: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 WO5onlbRNN1u; Fri, 23 Apr 2021 13:18:20 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0876E282B8A; Fri, 23 Apr 2021 13:18:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 40339282B8A for ; Fri, 23 Apr 2021 13:18:18 +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 RIP8DXJzLWex for ; Fri, 23 Apr 2021 13:18:17 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=17.58.63.181; helo=st43p00im-zteg10073401.me.com; envelope-from=charles.doherty@icloud.com; receiver= X-Greylist: delayed 403 seconds by postgrey-1.36 at zapf.ntg.nl; Fri, 23 Apr 2021 13:18:17 CEST Original-Received: from st43p00im-zteg10073401.me.com (st43p00im-zteg10073401.me.com [17.58.63.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 34C96282B05 for ; Fri, 23 Apr 2021 13:18:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1619176293; bh=rXbiMAd46Y8XgtZ5NYUfmA6JXgCqD1NlQHUQv9cgktU=; h=From:Content-Type:Mime-Version:Subject:Date:To:Message-Id; b=uUFIMJWs+cRpYPdPCYFBemZvkeb0IUb5BVwe47HpeXq6XG7fEn3QQRcovM0FbGRTh BaF8d7cJYOpZxtpWDW2XSKd1G1/dA4B5J7jVioaGG5OMbVAju/hmUmpGexS36tpKxQ 8pv0HN0Kjl5vac/BNfaBcRff/E+EHJECvMovNg1ynSZv6ZMOucER1r2NTURfmOxLmn PE+TxV/yXtwkWk82R4MRKxAdCw+a5P1Yim5gqHCqKs1q1QBzTL562NCKGINJiB2Olw OeNgRQCA08r5M7lc1Htn0oc9nwCanTSu4wzInJ2PHAvYzY1wRgdtkjKxR6n5JlpUH4 sNs+lj5fpsPjA== Original-Received: from [192.168.1.7] (unknown [95.44.40.160]) by st43p00im-zteg10073401.me.com (Postfix) with ESMTPSA id 167D65E0ADB for ; Fri, 23 Apr 2021 11:11:32 +0000 (UTC) In-Reply-To: X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.391,18.0.761,17.0.607.475.0000000_definitions?= =?UTF-8?Q?=3D2021-04-23=5F01:2021-04-23=5F01,2021-04-22=5F15,2020-04-07?= =?UTF-8?Q?=5F01_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 suspectscore=0 mlxlogscore=999 phishscore=0 malwarescore=0 mlxscore=0 spamscore=0 bulkscore=0 clxscore=1011 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2104230071 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:111142 Archived-At: --===============7054556211412296982== Content-Type: multipart/alternative; boundary="Apple-Mail=_48E95353-76BA-47C7-A0C0-F9810469E561" --Apple-Mail=_48E95353-76BA-47C7-A0C0-F9810469E561 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi all (especially Keith who successfully got Context running on the new = M1 Mac OS ARM) Again thanks to Mojca for providing the Mac OS ARM download. I recently = replace my old Mac with the new ARM one.=20 I am having difficulty getting ConTeXt to work. This is what I have = done and the information from the console. I downloaded: context-osx-arm64.zip In terminal: cd /Users/charlesdoherty/context-osx-arm64 Ran sh install.sh and all seems ok (following Keith=E2=80=99s advice on privacy). I made an engine for TeXShop based on what worked before: #!/bin/Zsh export = PATH=3D$PATH:~/context-osx-arm64/bin:~/context-osx-arm64/tex/texmf-osx-64/= bin ~/context-osx-arm64/tex/texmf-osx-64/bin/mtxrun --autogenerate --script = context --directives=3D"system.showerror" --autopdf "$1" --purgeall I made it executable. When I typeset a file in TeXShop using this engine I get: /Users/charlesdoherty/Library/TeXShop/Engines/ARM.engine:3: bad CPU type = in executable: = /Users/charlesdoherty/context-osx-arm64/tex/texmf-osx-64/bin/mtxrun I have tried various options to no avail but I would really appreciate = some help on this (longhand rather than cryptic would be really = helpful). Thanks, Charlie > On 11 Apr 2021, at 19:27, Keith McKay wrote: >=20 > An alternative way is to go to Preferences>>Security and = Privacy>>General. And then click on Open anyway and that's it sorted. > Best Wishes > Keith >=20 >=20 >=20 > On Sun, 11 Apr 2021, 18:47 Otared Kavian, > wrote: > Hi, >=20 > Thank you Mojca and Hans for the new binary for MacOS ARM: yesterday I = installed it on my new MacBook Pro ARM and everything works like a = charm. >=20 > Just for the persons who run into difficulties when running > sh install.sh > and see that MacOS 11 prevents mtxrun to run properly, in the Finder = you should find the file >=20 > context-osx-arm64/bin/mtxrun >=20 > and then you press Control while clicking on it. You=E2=80=99ll see a = pop up window, and you choose Open, and when the Finder tells you = whether you really want to open that file, you say YES=E2=80=A6 > After this, the install script does what it has to do and you don=E2=80=99= t need anymore to authorize mtxrun to run. >=20 > Best regards: Otared ******************************* CHARLES DOHERTY 13 BANCROFT ROAD TALLAGHT DUBLIN=20 D24 YH2V home: +353 1 2447483 Mobile: +353 863868629 charles.doherty@icloud.com --Apple-Mail=_48E95353-76BA-47C7-A0C0-F9810469E561 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi = all (especially Keith who successfully got Context running on the new M1 = Mac OS ARM)

Again thanks = to Mojca for providing the Mac OS ARM download. I recently replace my = old Mac with the new ARM one. 

I am having difficulty getting ConTeXt = to work.  This is what I have done and the information from the = console.

I = downloaded:

context-osx-arm64.zip

In terminal:  cd = /Users/charlesdoherty/context-osx-arm64

Ran sh install.sh

and all seems ok (following Keith=E2=80=99s advice on = privacy).

I made an engine for = TeXShop based on what worked before:

#!/bin/Zsh
export = PATH=3D$PATH:~/context-osx-arm64/bin:~/context-osx-arm64/tex/texmf-osx-64/= bin
~/context-osx-arm64/tex/texmf-osx-64/bin/mtxrun = --autogenerate --script context --directives=3D"system.showerror" = --autopdf "$1" --purgeall

I made it = executable.

When I typeset a file = in TeXShop using this engine I get:

/Users/charlesdoherty/Library/TeXShop/Engines/ARM.engine:3: = bad CPU type in executable: = /Users/charlesdoherty/context-osx-arm64/tex/texmf-osx-64/bin/mtxrun
<= div style=3D"margin: 0px; font-stretch: normal; font-size: 14px; = line-height: normal;" class=3D"">
I have tried various options to no = avail but I would really appreciate some help on this (longhand rather = than cryptic would be really helpful).

Thanks,
Charlie



On 11 Apr 2021, at 19:27, Keith McKay <mckaymeister@gmail.com> wrote:

An alternative way is to go to = Preferences>>Security and Privacy>>General. And then click = on Open anyway and that's it sorted.
Best = Wishes
Keith



On Sun, 11 Apr 2021, 18:47 Otared Kavian, <otared@gmail.com> = wrote:
Hi,

Thank you Mojca and = Hans for the new binary for MacOS ARM: yesterday I installed it on my = new MacBook Pro ARM and everything works like a charm.

Just for the persons who run into difficulties when = running
        sh install.sh
and see that MacOS 11 prevents mtxrun to run properly, in the = Finder you should find the file

  =       context-osx-arm64/bin/mtxrun<= br class=3D"">
and then you press Control while clicking = on it. You=E2=80=99ll see a pop up window, and you choose Open, and when = the Finder tells you whether you really want to open that file, you say = YES=E2=80=A6
After this, the install script does what it = has to do and you don=E2=80=99t need anymore to authorize mtxrun to = run.

Best regards: Otared

*******************************
CHARLES = DOHERTY
13 BANCROFT ROAD
TALLAGHT
DUBLIN 
D24 YH2V
home: +353 1 2447483
Mobile: +353 = 863868629




= --Apple-Mail=_48E95353-76BA-47C7-A0C0-F9810469E561-- --===============7054556211412296982== 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== --===============7054556211412296982==--