Hi Bruce,

If you want to use your standalone version of ConTeXt, you should 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.

Best regards: OK
PS: regarding the installation and updates of ConTeXt on Mac, Thomas Floren has 
written a nice Apple Script which you can find here:
Name: Ctx_typeset Tool
Web page: <http://dflect.net/context-typeset-tool/>
Author: Thomas Floeren <t...@dflect.net>



> On 15 Dec 2015, at 23:00, Bruce Boghosian <bruce.boghos...@tufts.edu> wrote:
> 
> I have made good progress today, thanks to the help of this list.  Thanks!
> 
> I can now run the example on the First Document web page, running ConTeXt 
> from the command line.  That works perfectly.
> 
> When I try to run the same file from within TeXShop, however, it tells me:
> 
>> !  Undefined control sequence.
>> l.2  \startsection
>>              [title={Testing ConTeXt}]
>> ?
> 
> I have created the file "ConTeXt Suite.engine" in directory 
> ~/Library/TeXShop/Engines, per the instructions on the Mac Installation web 
> page.
> 
> So I am not sure why TeXShop does not know about \startsection.  I would be 
> grateful for your advice on this.
> 
> Sincerely,
> Bruce
> 


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

Reply via email to