Hi Jaroslav,

On Mac, you can use TeXShop and your standalone Context very easily.
First create a specific « .engine » file for this and then in TeXShop use that engine. 
Here is what I have when I typeset a file in TeXShop using mkiv ConTeXt:

%%%%% begin file mkiv.engine

#!/bin/bash

export PATH=/Volumes/OK/context-minimal/tex/texmf-osx-64/bin:$PATH
context --synctex=zipped --autogenerate "$1" --purgeall

%%%%% end file mkiv.engine

you should replace the line « export PATH=…. » by the path to your installation of ConTeXt. More precisely you should replace 

/Volumes/OK/context-minimal

with the path going to the folder where your Context installation sits (in your case it is where you have put the file first-setup.sh).

Then this file « mkiv.engine » should be put in the folder

Library/TeXShop/Engines


Once this is done, you have three solutions in order to use TeXShop with your standalone Context. Here they are: 

Solution 1: add the following line at the top of your source file:

%!TEX TS-program = mkiv

Note that in the above you may replace « mkiv » with whatever engine name known to your TeXShop installation (for instance « ContextSuite», or any other name you have, or (may God forgive both of us…) even « latex »…). 
When you typeset with ConTeXt, then TeXShop will use the chosen engine.

Solution 2: when your source file is open, you should have, at the top of your window, a small menu named « Program ». Click on that menu and among the programs (that is the engines) choose the one you want.

Solution 3: open the TeXShop Preferences and in the « Typesetting » pane , on the upper left part of the resulting window, choose the radio button « Command listed below » and type the name of your preferred engine. This method makes a general default, so if you use some other typesetting packages for some files you have to modify things for those files.

Best regards: OK

On 17 Jan 2016, at 16:56, Jaroslav Hajtmar <hajtmar@gyza.cz> wrote:

Hello.
Thanks to Otared and Matthias too for their solutions. Otared's method is working, Mathias method unfortunaly not working. ConTeXt is already installed on my MacBookAir. I dont know why, but It seems that for some reason rsync does not download the first-setup.sh file into my installation directory. After I put first-setup.sh file manually into install directory and then I run the installation script, then everything is all right till the end. At this moment, I still struggle with settings an appropriate environment variables so that everything worked like on my Windows PC installation. Running at (for me) an unfamiliar OS-X it is for me still long run (but adventurous) :-).
However installation on my MAC is currently commissioned and operational. Thanks for the advices.

Jaroslav Hajtmar



Dne 17.01.16 v 14:38 Otared Kavian napsal(a):
Hello Jaroslav,

Here is what I do on my Mac:

1) While in the Finder, create a folder named Context-standalone

2) Put the attached file « first-setup.sh »  in the folder Context-standalone

3) Open Terminal and issue the command

cd [Path-to-the-folder-Context-standalone]

4) Then in Terminal issue the command

ls first-setup.sh

you should see something beginning with:

-rwxr-xr-x

that is the file has an « x » in its or your rights, that is it is executable.

If this not the case, using the command below make sure it has that right:

chmod +x first-setup.sh

5) Once this is done, issue the command

sh first-setup.sh

6) In principle you should end up with all files necessary for Context working in the folder Context-standalone

7) If this is not the case, please report at which step things do not work as expected.

Best regards: OK






On 17 Jan 2016, at 14:08, Jaroslav Hajtmar <hajtmar@gyza.cz> wrote:

Hello Matthias.
Thank you for the quick response. During installation, no error occurs, even seems that rsync copied without error message first-setup.sh to my %HOME/context directory. When then I look into this directory, then there is no file. Subsequently command sudo sh ./first-setup.sh reports nonexistent file or directory. I tried to install it into your Applications folder too (I have administrative access), but not in this way I have not done.

(As you say: home directory should be safe and path no occure any problematic characters. My home directory is "hajtmar")

Thanx Jaroslav

Dne 17.01.16 v 13:27 Weber, Matthias napsal(a):
Hi Jaroslav,

could you explain a bit more what you mean by "the installation will fail”?

What error message do you get at what stage?

You need to make sure that you have write permission to the installation directory; anything inside your home directory should be safe.
Also, as a general precaution, make sure the path to your installation directory doesn’t contain unusual characters.

Matthias


On Jan 17, 2016, at 7:19 AM, Jaroslav Hajtmar <hajtmar@gyza.cz> wrote:

Hello ConTeXist.
I am trying to install a standalone ConTeXt on MacBook. I am doing everything exactly as instructed on contextgarden.net, but the installation will fail. It seems that the problem is with rsync, with copying the installation script first-setup.sh into my Mac. Since I am a longtime Windows user and I'm a newbie on OS X, I'd like to find out what the problem may be. I dont know nothing about OS X, but I suppose that might be a problem with the firewall settings or access rights to the directories which  I use to install ConTeXt etc. Can someone please advise how to perform the installation? There is an option to download the installation package and install ConTeXt differently?
Thanks for replies.

Jaroslav Hajtmar

___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________