* Instalation ConTeXt to MAC - newbie problem
@ 2016-01-17 12:19 Jaroslav Hajtmar
2016-01-17 12:27 ` Weber, Matthias
0 siblings, 1 reply; 8+ messages in thread
From: Jaroslav Hajtmar @ 2016-01-17 12:19 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Instalation ConTeXt to MAC - newbie problem
2016-01-17 12:19 Instalation ConTeXt to MAC - newbie problem Jaroslav Hajtmar
@ 2016-01-17 12:27 ` Weber, Matthias
2016-01-17 13:08 ` Jaroslav Hajtmar
0 siblings, 1 reply; 8+ messages in thread
From: Weber, Matthias @ 2016-01-17 12:27 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Instalation ConTeXt to MAC - newbie problem
2016-01-17 12:27 ` Weber, Matthias
@ 2016-01-17 13:08 ` Jaroslav Hajtmar
2016-01-17 13:20 ` Weber, Matthias
2016-01-17 13:38 ` Otared Kavian
0 siblings, 2 replies; 8+ messages in thread
From: Jaroslav Hajtmar @ 2016-01-17 13:08 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Instalation ConTeXt to MAC - newbie problem
2016-01-17 13:08 ` Jaroslav Hajtmar
@ 2016-01-17 13:20 ` Weber, Matthias
2016-01-17 13:38 ` Otared Kavian
1 sibling, 0 replies; 8+ messages in thread
From: Weber, Matthias @ 2016-01-17 13:20 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 4064 bytes --]
Here is what I do:
Tetrahedron:ConTeXt matthias$ mkdir ~/context
Tetrahedron:ConTeXt matthias$ cd ~/context
Tetrahedron:context matthias$ rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh .
first-setup.sh
sent 38 bytes received 3636 bytes 1469.60 bytes/sec
total size is 3525 speedup is 0.96
and the files are definitely there. Do you have a space in /context directory? Then you might need apostrophes.
Matthias
On Jan 17, 2016, at 8:08 AM, Jaroslav Hajtmar <hajtmar@gyza.cz<mailto: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<mailto: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<http://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<mailto: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<mailto: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<mailto: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
___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 7908 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Instalation ConTeXt to MAC - newbie problem
2016-01-17 13:08 ` Jaroslav Hajtmar
2016-01-17 13:20 ` Weber, Matthias
@ 2016-01-17 13:38 ` Otared Kavian
2016-01-17 15:56 ` Jaroslav Hajtmar
1 sibling, 1 reply; 8+ messages in thread
From: Otared Kavian @ 2016-01-17 13:38 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 896 bytes --]
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
[-- Attachment #2: first-setup.sh --]
[-- Type: application/octet-stream, Size: 3525 bytes --]
#!/bin/sh
# Takes the same arguments as mtx-update
# you may change this if you want ...
CONTEXTROOT="$PWD/tex"
# suggested by Tobias Florek to check for rsync
if [ ! -x "`which rsync`" ]; then
echo "You need to install rsync first."
exit 1
fi
system=`uname -s`
cpu=`uname -m`
case "$system" in
# linux
Linux)
case "$cpu" in
i*86) platform="linux" ;;
x86_64|ia64) platform="linux-64" ;;
# a little bit of cheating with ppc64 (won't work on Gentoo)
ppc|ppc64) platform="linux-ppc" ;;
# we currently support just mipsel, but Debian is lying (reports mips64)
# we need more hacks to fix the situation, this is just a temporary solution
mips|mips64|mipsel|mips64el) platform="linux-mipsel" ;;
# TODO: probably both wrong and incomplete
armv7l) platform="linux-armhf" ;;
*) platform="unknown" ;;
esac ;;
# Mac OS X
Darwin)
case "$cpu" in
i*86) platform="osx-intel" ;;
x86_64) platform="osx-64" ;;
ppc*|powerpc|power*|Power*) platform="osx-ppc" ;;
*) platform="unknown" ;;
esac ;;
# FreeBSD
FreeBSD|freebsd)
case "$cpu" in
i*86) platform="freebsd" ;;
x86_64) platform="freebsd" ;; # no special binaries are available yet
amd64) platform="freebsd-amd64" ;;
*) platform="unknown" ;;
esac ;;
# kFreeBSD (debian)
GNU/kFreeBSD)
case "$cpu" in
#i*86) platform="kfreebsd-i386" ;;
#x86_64|amd64) platform="kfreebsd-amd64" ;;
*) platform="unknown" ;;
esac ;;
# cygwin
CYGWIN*)
case "$cpu" in
i*86) platform="cygwin" ;;
x86_64|ia64) platform="cygwin" ;;
*) platform="unknown" ;;
esac ;;
# UWIN
UWIN*)
case "$cpu" in
i*86) platform="mswin" ;;
*) platform="unknown" ;;
esac ;;
# SunOS/Solaris
SunOS)
case "$cpu" in
sparc) platform="solaris-sparc" ;;
i86pc) platform="solaris-intel" ;;
*) platform="unknown" ;;
esac ;;
*) platform="unknown"
esac
# temporary patch for 64-bit Leopard with 32-bit kernel
if test "$platform" = "osx-intel"; then
# if running Snow Leopard or later
# better: /usr/bin/sw_vers -productVersion
if test `uname -r|cut -f1 -d"."` -ge 10 ; then
# if working on 64-bit hardware
if test `sysctl -n hw.cpu64bit_capable` = 1; then
# snowleopard32=TRUE
platform="osx-64"
fi
fi
fi
if test "$platform" = "unknown" ; then
echo "Error: your system \"$system $cpu\" is not supported yet."
echo "Please report to the ConTeXt mailing-list (ntg-context@ntg.nl)"
exit
fi
# if you want to enforce some specific platform
# (when 'uname' doesn't agree with true architecture), uncomment and modify next line:
# platform=linux
# download or rsync the latest scripts first
rsync -rlptv rsync://contextgarden.net/minimals/setup/$platform/bin .
# use native windows binaries on cygwin
if test "$platform" = "cygwin" ; then
platform=mswin
fi
# download or update the distribution
# you may remove the --context=beta switch if you want to use "current"
# you can use --engine=luatex if you want just mkiv
env PATH="$PWD/bin:$CONTEXTROOT/texmf-$platform/bin:$PATH" \
./bin/mtxrun --script ./bin/mtx-update.lua --force --update --make --context=beta --platform=$platform --texroot="$CONTEXTROOT" $@
echo
echo "When you want to use context, you need to initialize the tree by typing:"
echo
echo " . $CONTEXTROOT/setuptex"
echo
echo "in your shell or add"
echo " \"$CONTEXTROOT/texmf-$platform/bin\""
echo "to PATH variable if you want to set it permanently."
echo "This can usually be done in .bashrc, .bash_profile"
echo "(or whatever file is used to initialize your shell)."
echo
[-- Attachment #3: Type: text/plain, Size: 3622 bytes --]
> 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
> ___________________________________________________________________________________
[-- Attachment #4: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Instalation ConTeXt to MAC - newbie problem
2016-01-17 13:38 ` Otared Kavian
@ 2016-01-17 15:56 ` Jaroslav Hajtmar
2016-01-17 16:57 ` Otared Kavian
0 siblings, 1 reply; 8+ messages in thread
From: Jaroslav Hajtmar @ 2016-01-17 15:56 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Instalation ConTeXt to MAC - newbie problem
2016-01-17 15:56 ` Jaroslav Hajtmar
@ 2016-01-17 16:57 ` Otared Kavian
2016-01-17 17:32 ` Jaroslav Hajtmar
0 siblings, 1 reply; 8+ messages in thread
From: Otared Kavian @ 2016-01-17 16:57 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 8714 bytes --]
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
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 15352 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Instalation ConTeXt to MAC - newbie problem
2016-01-17 16:57 ` Otared Kavian
@ 2016-01-17 17:32 ` Jaroslav Hajtmar
0 siblings, 0 replies; 8+ messages in thread
From: Jaroslav Hajtmar @ 2016-01-17 17:32 UTC (permalink / raw)
To: ntg-context
Hello Otared.
Thanks for inspiring advice. Be sure that I will try everything setting
up so that I ConTeXt work as on my PC and Windows. After 25 years of
using Windows, I would never say that I will experiment with MacBook and
OS-X. At the moment, I am pleased that I cease to be dependent on any OS
platform and freely move between multiple computers with different
operating systems. It's a super feeling that after twenty years, I feel
that I am not dependent on a particular computer. With most of the
software I have no problem, I just ConTeXt still missed on the MacBook.
Now it's all OK.
Thanks for the advice, perhaps maybe I'll ever for you further advice
about ConTeXt on OS-X.
Jaroslav Hajtmar
Dne 17.01.16 v 17:57 Otared Kavian napsal(a):
> 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
>> <mailto: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
>>>> <mailto: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
>>>>>> <mailto: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
>>>>>> <http://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 <mailto: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 <mailto: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 <mailto: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 <mailto: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 <mailto: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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2016-01-17 17:32 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-17 12:19 Instalation ConTeXt to MAC - newbie problem Jaroslav Hajtmar
2016-01-17 12:27 ` Weber, Matthias
2016-01-17 13:08 ` Jaroslav Hajtmar
2016-01-17 13:20 ` Weber, Matthias
2016-01-17 13:38 ` Otared Kavian
2016-01-17 15:56 ` Jaroslav Hajtmar
2016-01-17 16:57 ` Otared Kavian
2016-01-17 17:32 ` Jaroslav Hajtmar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).