ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Problem with first setup of StandAlone ConTeXt
Date: Wed, 16 Dec 2015 08:27:40 +0100	[thread overview]
Message-ID: <2DC8CBE2-0208-44B8-A88E-157F9B2E69F2@gmail.com> (raw)
In-Reply-To: <53B48BB6-127A-4C2C-990C-081E6D66751C@tufts.edu>

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 <tom@dflect.net>



> On 15 Dec 2015, at 23:00, Bruce Boghosian <bruce.boghosian@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	other threads:[~2015-12-16  7:27 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-14 16:37 Boghosian, Bruce
2015-12-15  9:06 ` Mojca Miklavec
2015-12-15 12:47   ` Bruce Boghosian
2015-12-15 13:47     ` Mojca Miklavec
2015-12-15 14:11       ` Bruce Boghosian
2015-12-15 14:47         ` Jan U. Hasecke
2015-12-15 14:54           ` Bruce Boghosian
2015-12-15 15:20             ` Mojca Miklavec
2015-12-15 17:17               ` Bruce Boghosian
2015-12-15 22:00                 ` Bruce Boghosian
2015-12-16  7:27                   ` Otared Kavian [this message]
2015-12-16 16:10                     ` Bruce Boghosian
2015-12-16 16:25                       ` Mojca Miklavec
2015-12-16 16:34                         ` Bruce Boghosian
2015-12-16 16:48                           ` Otared Kavian
2015-12-17 13:54                             ` Bruce Boghosian
2015-12-15 10:18 ` Hans Hagen
2015-12-15 10:29   ` Mojca Miklavec
2015-12-15 12:05     ` Hans Hagen
     [not found] <mailman.1.1450177201.3279.ntg-context@ntg.nl>
2015-12-15 12:26 ` Robert Blackstone

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=2DC8CBE2-0208-44B8-A88E-157F9B2E69F2@gmail.com \
    --to=otared@gmail.com \
    --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).