Re: [NTG-context] ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip

2022-10-10 Thread Hans Hagen via ntg-context

On 10/10/2022 3:04 PM, Tommaso Gordini via ntg-context wrote:
While waiting for Mojca's attempts, for the moment I solved it by simply 
copying the folder of the old Mac in which I had installed the 
Standalone to the Mac M2.

I have slightly modified the TeXShop scripts and everything works.

The log tells me:

This is LuaTeX, Version 1.13.0 (TeX Live 2021)

Compiling with LMTX, i read:

ConTeXt  ver:  2022.09.11 20:44 LMTX

And compiling with MkIV (of the TeX Live 2022):

This is LuaTeX, Version 1.15.0 (TeX live 2022)


in a setup where lmtx is leading mtxrun/context will use luametatex as 
runner and that one should recognize os/platform better


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip

2022-10-10 Thread Tommaso Gordini via ntg-context
Hello Mojca:

uname -a

Darwin MacBook-Air-di-Tommaso.local 21.6.0 Darwin Kernel Version 21.6.0:
Mon Aug 22 20:20:07 PDT 2022; root:xnu-8020.140.49~2/RELEASE_ARM64_T8110
arm64


uname-m

arm64

Tommaso



Il giorno lun 10 ott 2022 alle ore 08:49 Mojca Miklavec <
mojca.miklavec.li...@gmail.com> ha scritto:

> On Sun, 9 Oct 2022 at 09:24, Tommaso Gordini via ntg-context wrote:
> >
> > Hello list,
> >
> > I'm trying to install ConTeXt Standalone on my Mac (macOS 12.6 Monterey
> and Apple M2 chip) but at the end of the installation the ConTeXt-MkIV
> folder (where I install Standalone) on the disk weighs only 7MB (the tex
> tree is created, but its folders are empty).
> > I've never had a problem installing it on my old computer (Intel
> processor).
> >
> > Do you know if it is a known problem?
>
> It should work, at least in theory. I'll check later today on our M1
> machine.
> If that doesn't work, it should be some trivial problem (that should
> be straightforward to fix).
> If that works, it could be that "uname" reports something different
> than "arm64" on M2. That should hopefully be easy to fix as well.
>
> What does "uname -m" (and "uname -a") report on your mac?
>
> Mojca
>

Il giorno lun 10 ott 2022 alle ore 08:49 Mojca Miklavec <
mojca.miklavec.li...@gmail.com> ha scritto:

> On Sun, 9 Oct 2022 at 09:24, Tommaso Gordini via ntg-context wrote:
> >
> > Hello list,
> >
> > I'm trying to install ConTeXt Standalone on my Mac (macOS 12.6 Monterey
> and Apple M2 chip) but at the end of the installation the ConTeXt-MkIV
> folder (where I install Standalone) on the disk weighs only 7MB (the tex
> tree is created, but its folders are empty).
> > I've never had a problem installing it on my old computer (Intel
> processor).
> >
> > Do you know if it is a known problem?
>
> It should work, at least in theory. I'll check later today on our M1
> machine.
> If that doesn't work, it should be some trivial problem (that should
> be straightforward to fix).
> If that works, it could be that "uname" reports something different
> than "arm64" on M2. That should hopefully be easy to fix as well.
>
> What does "uname -m" (and "uname -a") report on your mac?
>
> Mojca
>
___
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
___


Re: [NTG-context] ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip

2022-10-10 Thread Tommaso Gordini via ntg-context
While waiting for Mojca's attempts, for the moment I solved it by simply
copying the folder of the old Mac in which I had installed the Standalone
to the Mac M2.
I have slightly modified the TeXShop scripts and everything works.

The log tells me:

This is LuaTeX, Version 1.13.0 (TeX Live 2021)

Compiling with LMTX, i read:

ConTeXt  ver:  2022.09.11 20:44 LMTX

And compiling with MkIV (of the TeX Live 2022):

This is LuaTeX, Version 1.15.0 (TeX live 2022)

Tommaso

Il giorno dom 9 ott 2022 alle ore 09:23 Tommaso Gordini <
illinguista1...@gmail.com> ha scritto:

> Hello list,
>
> I'm trying to install ConTeXt Standalone on my Mac (macOS 12.6 Monterey
> and Apple M2 chip) but at the end of the installation the ConTeXt-MkIV
> folder (where I install Standalone) on the disk weighs only 7MB (the tex
> tree is created, but its folders are empty).
> I've never had a problem installing it on my old computer (Intel
> processor).
>
> Do you know if it is a known problem?
>
> These are the commands I used (taken from the wiki):
>
> rsync -av rsync: //contextgarden.net/minimals/setup/first-setup.sh .
> sh ./first-setup.sh --modules = all --fonts = all --goodies = all
> --context = latest --engine = luatex
>
> Where am I wrong?
>
> LMTX installation, on the other hand, should be successful (the folder
> weighs 297.8 MB, as much as the Standalone one should weigh).
>
> Thanks in advance.
> Tommaso
>
___
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
___


Re: [NTG-context] ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip

2022-10-10 Thread Mojca Miklavec via ntg-context
On Mon, 10 Oct 2022 at 08:48, Mojca Miklavec wrote:
> On Sun, 9 Oct 2022 at 09:24, Tommaso Gordini via ntg-context wrote:
> >
> > I'm trying to install ConTeXt Standalone on my Mac (macOS 12.6 Monterey and 
> > Apple M2 chip) but at the end of the installation the ConTeXt-MkIV folder 
> > (where I install Standalone) on the disk weighs only 7MB (the tex tree is 
> > created, but its folders are empty).
> > I've never had a problem installing it on my old computer (Intel processor).
> >
> > Do you know if it is a known problem?
>
> It should work, at least in theory. I'll check later today on our M1 machine.

It looks like mtx-update.lua doesn't properly recognise the platform.
This is something that Hans needs to fix inside the context sources.
(I'll try to patch it later, maybe I have some success.)

Mojca
___
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
___


Re: [NTG-context] ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip

2022-10-10 Thread Mojca Miklavec via ntg-context
On Sun, 9 Oct 2022 at 09:24, Tommaso Gordini via ntg-context wrote:
>
> Hello list,
>
> I'm trying to install ConTeXt Standalone on my Mac (macOS 12.6 Monterey and 
> Apple M2 chip) but at the end of the installation the ConTeXt-MkIV folder 
> (where I install Standalone) on the disk weighs only 7MB (the tex tree is 
> created, but its folders are empty).
> I've never had a problem installing it on my old computer (Intel processor).
>
> Do you know if it is a known problem?

It should work, at least in theory. I'll check later today on our M1 machine.
If that doesn't work, it should be some trivial problem (that should
be straightforward to fix).
If that works, it could be that "uname" reports something different
than "arm64" on M2. That should hopefully be easy to fix as well.

What does "uname -m" (and "uname -a") report on your mac?

Mojca
___
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
___


Re: [NTG-context] ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip

2022-10-10 Thread Max Chernoff via ntg-context

Hi Tommaso,

> I'm trying to install ConTeXt Standalone on my Mac (macOS 12.6 Monterey and
> Apple M2 chip) but at the end of the installation the ConTeXt-MkIV folder
> (where I install Standalone) on the disk weighs only 7MB (the tex tree is
> created, but its folders are empty).
> I've never had a problem installing it on my old computer (Intel processor).
> 
> Do you know if it is a known problem?
> 
> These are the commands I used (taken from the wiki):
> 
> rsync -av rsync: //contextgarden.net/minimals/setup/first-setup.sh .
> sh ./first-setup.sh --modules = all --fonts = all --goodies = all --context
> = latest --engine = luatex
> 
> Where am I wrong?

I think that MkIV has been frozen since before macOS ARM was released,
so I wouldn't be surprised if an ARM version just doesn't exist.

I've never used macOS, but if this worked on your Intel Mac, then you
can try running the installer via Rosetta instead of running it
directly. TeX is so fast that the Rosetta emulation will have fairly
little overhead.


> LMTX installation, on the other hand, should be successful (the folder
> weighs 297.8 MB, as much as the Standalone one should weigh).

You can still use MkIV with the LMTX installation. Just run 

   context --luatex document.tex
   
instead of the usual

   context document.tex
   
TeX Live also supports macOS ARM and includes MkIV if you want another
installation option.

Thanks,
-- Max
___
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
___


[NTG-context] ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip

2022-10-09 Thread Tommaso Gordini via ntg-context
Hello list,

I'm trying to install ConTeXt Standalone on my Mac (macOS 12.6 Monterey and
Apple M2 chip) but at the end of the installation the ConTeXt-MkIV folder
(where I install Standalone) on the disk weighs only 7MB (the tex tree is
created, but its folders are empty).
I've never had a problem installing it on my old computer (Intel processor).

Do you know if it is a known problem?

These are the commands I used (taken from the wiki):

rsync -av rsync: //contextgarden.net/minimals/setup/first-setup.sh .
sh ./first-setup.sh --modules = all --fonts = all --goodies = all --context
= latest --engine = luatex

Where am I wrong?

LMTX installation, on the other hand, should be successful (the folder
weighs 297.8 MB, as much as the Standalone one should weigh).

Thanks in advance.
Tommaso
___
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
___