From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/111146 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:53:39 +0100 Message-ID: References: <868a66c5-8d7b-e706-c9c5-8d060e05e910@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1343979025398160045==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37056"; 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:54:28 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 1lZxCN-0009TA-Ez for gctc-ntg-context-518@m.gmane-mx.org; Fri, 23 Apr 2021 16:54:27 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 58E20282BB0; Fri, 23 Apr 2021 16:53:46 +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 HW1RvifAwl9J; Fri, 23 Apr 2021 16:53:44 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 114F1282BB1; Fri, 23 Apr 2021 16:53:44 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E34F4282B8D for ; Fri, 23 Apr 2021 16:53:42 +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 MoJcru-gllac for ; Fri, 23 Apr 2021 16:53:41 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.128.42; helo=mail-wm1-f42.google.com; envelope-from=mckaymeister@gmail.com; receiver= Original-Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (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 BE7F3282B8A for ; Fri, 23 Apr 2021 16:53:41 +0200 (CEST) Original-Received: by mail-wm1-f42.google.com with SMTP id o21-20020a1c4d150000b029012e52898006so1402924wmh.0 for ; Fri, 23 Apr 2021 07:53:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:from:to:references:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=uqYd34vdXqns+PAKvO0KDd9yUnzHKjC+Qa5ah3U/xu8=; b=NDwJpODYfU6B7u24ZIt8eXo2XEp2b+esxWvBFOgomDgGnHw8wzzKnItU6AGTldEjET 6LX1aWclxbooTvKbLzEL9LjT9YoQE5Y7QMCFBmN14fAn0+0APFJhoPNUUvLaj5k9YzEL zmSK7qo0HqOBca0N2aq6iMRciT3/EAJY2jN+m8ax2D8bgRch/IXUaAzVREO/HJSZmds7 Kph4KXbdx7os5Uq0iuc94h9dtbdkMX11AZ1weWHQWJnuIaLaXIf/22cuK0HOmUmWMIMN nd2bVuVJK4ixUs+lUFGNBOacdmv+jNTYDzuj9eM+/cOsY4RuiDdAZqhPaJhU3fDT/rSk xjBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=uqYd34vdXqns+PAKvO0KDd9yUnzHKjC+Qa5ah3U/xu8=; b=NvWafUa/9jgLPexnW6zVj1QPJn4kh46hP3DvK0wpPOEqtwGgGKyA4pXSSC235DCOeM 9zUUj/TiiS6tD4nLkxKh7kzaIFUEcdKtHp3QM9oWfo21/nwn44IyYQJQreAE6RllC2+i m7JIR2x5sW+qh+eU7VOJF8RS/kVZeZsfLYTpYreBlWDma1XDScf0+J5UTambKJo5xwSa ZgNf+ifLgewQyp85heX0Ji36y6po/oj7YrBy5/GAveFhAoG1xFgIAF9WwdFZFVG8QAdh HrbFBkpgd1ptsOx6QeDMMPgpxHKicjvyzyVVfO8A5Ik07hiLNvrlvMYz9tSFfdi6JEoe PjZg== X-Gm-Message-State: AOAM531JQQ4qkEKs/3m3kQTd51096kAmzUTIsoYATVDRF39fZrfffJQW gWXsVz3obS732+yRlBeiiEczOy5IVP0S/g== X-Google-Smtp-Source: ABdhPJz3UUlitVklBtIbgDz6FnMxcGAPjDnIBt85SnMH6LV9EHQQB6cgqgsQ1ezv6fj8m7dYZUAJfw== X-Received: by 2002:a7b:c769:: with SMTP id x9mr6060478wmk.124.1619189621273; Fri, 23 Apr 2021 07:53:41 -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 b15sm10889689wmj.46.2021.04.23.07.53.40 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Apr 2021 07:53:40 -0700 (PDT) In-Reply-To: <868a66c5-8d7b-e706-c9c5-8d060e05e910@gmail.com> 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:111146 Archived-At: This is a multi-part message in MIME format. --===============1343979025398160045== Content-Type: multipart/alternative; boundary="------------556E8466223E398FDC757674" Content-Language: en-GB This is a multi-part message in MIME format. --------------556E8466223E398FDC757674 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sorry. I put a typo in the engine file in my reply. It should be #!/bin/bash export PATH=/Users/pothole/data/contextarm64/tex/texmf-osx-64/bin:/Users/pothole/data/contextarm64/tex/texmf-osx-64/bin /Users/pothole/data/contextarm64/tex/texmf-osx-64/bin/mtxrun --autogenerate --script context --autopdf "$1" Best Wishes Keith On 23/04/2021 15:45, Keith McKay wrote: > > 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 >> ___________________________________________________________________________________ --------------556E8466223E398FDC757674 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Sorry. I put a typo in the engine file in my reply. It should be

#!/bin/bash

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

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

Best Wishes

Keith

On 23/04/2021 15:45, Keith McKay wrote:

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
___________________________________________________________________________________
--------------556E8466223E398FDC757674-- --===============1343979025398160045== 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== --===============1343979025398160045==--