From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/111145 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Keith McKay Newsgroups: gmane.comp.tex.context Subject: Re: arm osx Date: Fri, 23 Apr 2021 15:45:46 +0100 Message-ID: <868a66c5-8d7b-e706-c9c5-8d060e05e910@gmail.com> References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1754905763076496329==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4442"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 23 16:47:29 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 1lZx5d-0000ty-8y for gctc-ntg-context-518@m.gmane-mx.org; Fri, 23 Apr 2021 16:47:29 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BD3F7282BB3; Fri, 23 Apr 2021 16:45:52 +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 yW_XBepUzgwx; Fri, 23 Apr 2021 16:45:50 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4962C282BAD; Fri, 23 Apr 2021 16:45:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 09FFE282BAC for ; Fri, 23 Apr 2021 16:45:49 +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 6HajQbFtMHJn for ; Fri, 23 Apr 2021 16:45:48 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.128.46; helo=mail-wm1-f46.google.com; envelope-from=mckaymeister@gmail.com; receiver= Original-Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id F33F1282BAB for ; Fri, 23 Apr 2021 16:45:47 +0200 (CEST) Original-Received: by mail-wm1-f46.google.com with SMTP id o21-20020a1c4d150000b029012e52898006so1390168wmh.0 for ; Fri, 23 Apr 2021 07:45:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=WzC1yvG0MtUr7pfaFFtlEUoWgEpmDnAbTMnLGzyRqCA=; b=Qd/dZVDNMAR3Jp21OY8Vy4+lFffwYu0DMKk3QfX+81Ft/FT2v/DNLfyrQ7HYxBm0pP BSj2MVrEjGGfjtQofRcYPwaRBHjk5VoP6DN+/Y7eL2RDR2GsEKrhD3EFWOyDqFqJfFPh QVXJPu8PxUbvEh64LlzHlD9/WwSbreFIcdztNEgXEChqwhiPWiCn6XF+LBXcGKASaPSd xAXWXl3KruT6XjOobGkkVDNRxP3uXVJ3uDfyBYpz0tpKmQgj0Tg3gHlI+MXItc0AVnhJ ArdTXhsKdH2b1m0FQphpAZmXHmDgW0JFgwsaXo4Sm2LAYLUWSE5JxcuKwGOXW4w2ke2i xDjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=WzC1yvG0MtUr7pfaFFtlEUoWgEpmDnAbTMnLGzyRqCA=; b=Wmo58CenNVyNv7PKJ+NT2HQlnDfrcA7EDkFYSuNofjyHn5x8F2A/xSzWTa7EFPVbvE zzlCipkwXzKK7w/3glTez4bdElDjUxwdcSwIYlYY2BXX3Zpmn0/4LsIGEDDsLXWbKfJq PUzdqyODJM888YTr6j/vlI/s+oM1PSrnnDo93jK/Z313u2MwUKj+fDttLSmgkeeuHq5U EmUmuyIJYZHUf8CbKJl6tXylBTn6vAQFF79sElvIQqHczjWtLzoZkA4YK0jqDSFrx7e0 d4R8G4+GjubjqIXbMDcYo/vnEROFrGRVquFttsscz+Ty4ArmFVngUO19k93EMMQI+Vlm HvRw== X-Gm-Message-State: AOAM533fZpV2rjc0+xflndTAJtm6imuFYBoD3Nprt86tqQJEOufsDcXm tmFgzSwzdYo5EKOFPE0PDJO8ewgomqXFjw== X-Google-Smtp-Source: ABdhPJwpOrZ80u7lodTIm4sSCd2IyQiDQ2nt3ab6dMiyPFb8M9kJk8Ul7rEBWPIBdcuu096IW757sg== X-Received: by 2002:a1c:7315:: with SMTP id d21mr4661288wmb.155.1619189147448; Fri, 23 Apr 2021 07:45:47 -0700 (PDT) Original-Received: from M1-mac-mini.local (cpc100594-uddi29-2-0-cust51.20-3.cable.virginm.net. [82.42.107.52]) by smtp.gmail.com with ESMTPSA id k22sm10090113wrh.5.2021.04.23.07.45.46 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Apr 2021 07:45:47 -0700 (PDT) In-Reply-To: Content-Language: en-GB 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:111145 Archived-At: This is a multi-part message in MIME format. --===============1754905763076496329== Content-Type: multipart/alternative; boundary="------------0A9DC6A038FBB16595AA2D6F" Content-Language: en-GB This is a multi-part message in MIME format. --------------0A9DC6A038FBB16595AA2D6F Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hi Charles Firstly. I can take no credit for getting Context running on the new M1 Mac OS ARM. Hans and his team are the real heroes here. I just downloaded the zip file and off I went. I don't normally use TexShop, I use Texworks, but I have it set up on my machine. I cant remember how I setup the engine but I checked it out and it runs as expected. Here is the engine I use: %%%%%%%%%%%%%%%%%%%%%%%%%%%%% #!/bin/bash export PATH=/Users/pothole/data/contextarm64/tex/texmf-osx-64/bin:/Users/pothole/data/context/tex/texmf-osx-64/bin /Users/pothole/data/contextarm64/tex/texmf-osx-64/bin/mtxrun --autogenerate --script context --autopdf "$1" %%%%%%%%%%%%%%%%%%%%%%%%%%%%% I did exactly as you did only I unzipped into /data/contextarm64. I did this because I have another directory into which I unzipped the intel version. It means I have two ConText options, intel and arm. The only other differences are my engine is a bash file and I don't remember making it executable. Hope this helps. I'm happy to help off list if you want. Best Wishes Keith On 23/04/2021 12:11, Charles Doherty wrote: > 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’s advice on privacy). > > I made an engine for TeXShop based on what worked before: > > #!/bin/Zsh > export > PATH=$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="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: >> >> 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, > > 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 >> >> and then you press Control while clicking on it. You’ll 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… >> After this, the install script does what it has to do and you >> don’t 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 > charles.doherty@icloud.com > > > > > > > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ --------------0A9DC6A038FBB16595AA2D6F Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Hi Charles

Firstly. I can take no credit for getting Context running on the new M1 Mac OS ARM. Hans and his team are the real heroes here. I just downloaded the zip file and off I went.

I don't normally use TexShop, I use Texworks, but I have it set up on my machine. I cant remember how I setup the engine but I checked it out and it runs as expected. Here is the engine I use:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

#!/bin/bash

export PATH=/Users/pothole/data/contextarm64/tex/texmf-osx-64/bin:/Users/pothole/data/context/tex/texmf-osx-64/bin

/Users/pothole/data/contextarm64/tex/texmf-osx-64/bin/mtxrun --autogenerate --script context --autopdf "$1"

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

I did exactly as you did only I unzipped into /data/contextarm64. I did this because I have another directory into which I unzipped the intel version. It means I have two ConText options, intel and arm. The only other differences are my engine is a bash file and I don't remember making it executable.

Hope this helps. I'm happy to help off list if you want.

Best Wishes

Keith

On 23/04/2021 12:11, Charles Doherty wrote:
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’s advice on privacy).

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

#!/bin/Zsh
export PATH=$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="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 <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

and then you press Control while clicking on it. You’ll 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…
After this, the install script does what it has to do and you don’t 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





___________________________________________________________________________________
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
___________________________________________________________________________________
--------------0A9DC6A038FBB16595AA2D6F-- --===============1754905763076496329== 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== --===============1754905763076496329==--