ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* MkIV : MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
@ 2011-05-23 18:13 Mathieu DUPONT
  2011-05-23 19:05 ` George N. White III
  2011-05-23 19:06 ` Matthias Weber
  0 siblings, 2 replies; 8+ messages in thread
From: Mathieu DUPONT @ 2011-05-23 18:13 UTC (permalink / raw)
  To: ConTeXt


[-- Attachment #1.1: Type: text/plain, Size: 484 bytes --]



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

 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 1056 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: MkIV : MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
  2011-05-23 18:13 MkIV : MTXrun | unknown script 'context.lua' or 'mtx-context.lua' Mathieu DUPONT
@ 2011-05-23 19:05 ` George N. White III
  2011-05-23 20:58   ` Aditya Mahajan
  2011-05-23 19:06 ` Matthias Weber
  1 sibling, 1 reply; 8+ messages in thread
From: George N. White III @ 2011-05-23 19:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, May 23, 2011 at 3:13 PM, Mathieu DUPONT
<mathieudupont@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 <aa056@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: MkIV : MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
  2011-05-23 18:13 MkIV : MTXrun | unknown script 'context.lua' or 'mtx-context.lua' Mathieu DUPONT
  2011-05-23 19:05 ` George N. White III
@ 2011-05-23 19:06 ` Matthias Weber
  2011-05-23 19:11   ` Mathieu DUPONT
  1 sibling, 1 reply; 8+ messages in thread
From: Matthias Weber @ 2011-05-23 19:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1699 bytes --]

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


[-- Attachment #1.2: Type: text/html, Size: 3914 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: MkIV : MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
  2011-05-23 19:06 ` Matthias Weber
@ 2011-05-23 19:11   ` Mathieu DUPONT
  0 siblings, 0 replies; 8+ messages in thread
From: Mathieu DUPONT @ 2011-05-23 19:11 UTC (permalink / raw)
  To: ConTeXt


[-- Attachment #1.1: Type: text/plain, Size: 2378 bytes --]



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



Mathieu



From: matweber@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
___________________________________________________________________________________ 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 5069 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: MkIV : MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
  2011-05-23 19:05 ` George N. White III
@ 2011-05-23 20:58   ` Aditya Mahajan
  2011-05-23 21:55     ` Hans Hagen
  2011-05-24  5:39     ` Mojca Miklavec
  0 siblings, 2 replies; 8+ messages in thread
From: Aditya Mahajan @ 2011-05-23 20:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

> On Mon, May 23, 2011 at 3:13 PM, Mathieu DUPONT
> <mathieudupont@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: MkIV : MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
  2011-05-23 20:58   ` Aditya Mahajan
@ 2011-05-23 21:55     ` Hans Hagen
  2011-05-24  5:39     ` Mojca Miklavec
  1 sibling, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2011-05-23 21:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: MkIV : MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
  2011-05-23 20:58   ` Aditya Mahajan
  2011-05-23 21:55     ` Hans Hagen
@ 2011-05-24  5:39     ` Mojca Miklavec
  2011-05-24  7:25       ` Hans Hagen
  1 sibling, 1 reply; 8+ messages in thread
From: Mojca Miklavec @ 2011-05-24  5:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: MkIV : MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
  2011-05-24  5:39     ` Mojca Miklavec
@ 2011-05-24  7:25       ` Hans Hagen
  0 siblings, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2011-05-24  7:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Mojca Miklavec

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-05-24  7:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-23 18:13 MkIV : MTXrun | unknown script 'context.lua' or 'mtx-context.lua' Mathieu DUPONT
2011-05-23 19:05 ` George N. White III
2011-05-23 20:58   ` Aditya Mahajan
2011-05-23 21:55     ` Hans Hagen
2011-05-24  5:39     ` Mojca Miklavec
2011-05-24  7:25       ` Hans Hagen
2011-05-23 19:06 ` Matthias Weber
2011-05-23 19:11   ` Mathieu DUPONT

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).