ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Matthias Weber <matweber@indiana.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: MkIV : MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
Date: Mon, 23 May 2011 15:06:55 -0400	[thread overview]
Message-ID: <1168D503-5F5F-462E-AD15-9B485F9CA952@indiana.edu> (raw)
In-Reply-To: <COL107-W32AF2A8E7C51A724D34060B2720@phx.gbl>


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

  parent reply	other threads:[~2011-05-23 19:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-23 18:13 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 [this message]
2011-05-23 19:11   ` Mathieu DUPONT

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1168D503-5F5F-462E-AD15-9B485F9CA952@indiana.edu \
    --to=matweber@indiana.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).