Re: [NTG-context] MkIV : MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

2011-05-24 Thread Hans Hagen

On 24-5-2011 7:39, Mojca Miklavec wrote:

On Mon, May 23, 2011 at 22:58, Aditya Mahajan wrote:


Are all mac OS installations 64 bit? Or is osx-intel used in 32bit Mac and
osx-64 used in 64bit Mac?


osx-intel is for 32-bit Macs (still from time when Apple only
distinguished between ppc/intel) and osx-ppc for 32-bit PowerPC.

However you cannot buy 32-bit hardware any more and you cannot choose
to install a 32-bit system on 64-bit hardware (unless you install
ancient OS which nobody does and which might not even work due to lack
of drivers). So anyone who has bought a mac after Snow Leopard has
been released (late 2009?) has 64-bit Mac OS X.


http://osxbook.com/blog/2009/08/31/is-your-machine-good-enough-for-snow-leopard-k64/

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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 / 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
___


Re: [NTG-context] MkIV : MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

2011-05-23 Thread George N. White III
On Mon, May 23, 2011 at 3:13 PM, Mathieu DUPONT
mathieudup...@hotmail.com wrote:

 I followed all these steps to install MkIV on a Mac and to run it with
 either Smultron or TexShop :
 http://wiki.contextgarden.net/ConTeXt_Minimals/Mac_Installation

 However it works fine with Smultron (but I am more used to TexShop to run
 TeX files), with TexShop I get :
 MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
 Even after running the following command line :
 luatools --generate
 it doesn't help at all.

 Thanks for any hint,

 Mathieu

Not near my Mac system, but I seem to recall there was a change in the name
of the directory for the programs from  texmf-osx-intel to
texmf-osx-64 so you
would need to adjust the PATH setting from that given in the wiki.

-- 
George N. White III aa...@chebucto.ns.ca
Head of St. Margarets Bay, Nova Scotia
___
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
___


Re: [NTG-context] MkIV : MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

2011-05-23 Thread Matthias Weber
I ran into the exact same problem. Aditya resolved the issue as follows:


The wiki info to create  an executable  file ConTeXt-MKIV.engine containing

#!/bin/bash
export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-intel/bin:$PATH
export TEXMFCACHE=/Applications/ConTeXtMinimals/tex/texmf-cache
context $1

in ~/Library/TeXShop/Engines
is slightly but catastrophically outdated. The file needs to read

#!/bin/bash
export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin:$PATH
export TEXMFCACHE=/Applications/ConTeXtMinimals/tex/texmf-cache
context $1

Matthias



On May 23, 2011, at 2:13 PM, Mathieu DUPONT wrote:

 
 I followed all these steps to install MkIV on a Mac and to run it with either 
 Smultron or TexShop :
 
 http://wiki.contextgarden.net/ConTeXt_Minimals/Mac_Installation
 
 However it works fine with Smultron (but I am more used to TexShop to run TeX 
 files), with TexShop I get :
 
 MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
 
 Even after running the following command line :
 
 luatools --generate
 
 it doesn't help at all.
 
 
 Thanks for any hint,
 
 
 Mathieu
 
 
 ___
 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
___

Re: [NTG-context] MkIV : MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

2011-05-23 Thread Mathieu DUPONT


Awsome !
It entirely solved my problem !
Thank you very much !!



Mathieu



From: matwe...@indiana.edu
Date: Mon, 23 May 2011 15:06:55 -0400
To: ntg-context@ntg.nl
Subject: Re: [NTG-context] MkIV : MTXrun | unknown script 'context.lua' or  
'mtx-context.lua'



I ran into the exact same problem. Aditya resolved the issue as follows:

The wiki info to create  an executable  file ConTeXt-MKIV.engine containing
#!/bin/bashexport 
PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-intel/bin:$PATHexport 
TEXMFCACHE=/Applications/ConTeXtMinimals/tex/texmf-cachecontext $1
in ~/Library/TeXShop/Enginesis slightly but catastrophically outdated. The file 
needs to read
#!/bin/bashexport 
PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin:$PATHexport 
TEXMFCACHE=/Applications/ConTeXtMinimals/tex/texmf-cachecontext $1
Matthias


On May 23, 2011, at 2:13 PM, Mathieu DUPONT wrote:I followed all these steps to 
install MkIV on a Mac and to run it with either Smultron or TexShop :
http://wiki.contextgarden.net/ConTeXt_Minimals/Mac_Installation

However it works fine with Smultron (but I am more used to TexShop to run TeX 
files), with TexShop I get :
MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
Even after running the following command line :
luatools --generate
it doesn't help at all.

Thanks for any hint,

Mathieu

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

Re: [NTG-context] MkIV : MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

2011-05-23 Thread Aditya Mahajan

On Mon, 23 May 2011, George N. White III wrote:


On Mon, May 23, 2011 at 3:13 PM, Mathieu DUPONT
mathieudup...@hotmail.com wrote:


I followed all these steps to install MkIV on a Mac and to run it with
either Smultron or TexShop :
http://wiki.contextgarden.net/ConTeXt_Minimals/Mac_Installation

However it works fine with Smultron (but I am more used to TexShop to run
TeX files), with TexShop I get :
MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
Even after running the following command line :
luatools --generate
it doesn't help at all.

Thanks for any hint,

Mathieu


Not near my Mac system, but I seem to recall there was a change in the name
of the directory for the programs from  texmf-osx-intel to
texmf-osx-64 so you
would need to adjust the PATH setting from that given in the wiki.


Are all mac OS installations 64 bit? Or is osx-intel used in 32bit Mac and 
osx-64 used in 64bit Mac?


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


Re: [NTG-context] MkIV : MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

2011-05-23 Thread Hans Hagen

On 23-5-2011 10:58, Aditya Mahajan wrote:


Are all mac OS installations 64 bit? Or is osx-intel used in 32bit Mac
and osx-64 used in 64bit Mac?


It depends on the hardware: the cheaper macbooks can do 64 bit but are 
forced into a 32 bit kernel (a punishment for buying the cheap model and 
I happen to have such one) but one can trick around that which in turn 
confuses the mechanisms that determine if we're deaing with a 32/64 bit 
machinery ... Mojca's minimals scripts nightmare.


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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 / 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
___


Re: [NTG-context] MkIV : MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

2011-05-23 Thread Mojca Miklavec
On Mon, May 23, 2011 at 22:58, Aditya Mahajan wrote:

 Are all mac OS installations 64 bit? Or is osx-intel used in 32bit Mac and
 osx-64 used in 64bit Mac?

osx-intel is for 32-bit Macs (still from time when Apple only
distinguished between ppc/intel) and osx-ppc for 32-bit PowerPC.

However you cannot buy 32-bit hardware any more and you cannot choose
to install a 32-bit system on 64-bit hardware (unless you install
ancient OS which nobody does and which might not even work due to lack
of drivers). So anyone who has bought a mac after Snow Leopard has
been released (late 2009?) has 64-bit Mac OS X.

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