Hi Alan,

Using TeXShop on MacOS X you can create two files named « mkiv-stable.engine » 
and « mkiv-testing.engine » and put them in the folder
        
        Library/TeXShop/Engines

The first file « mkiv-stable.engine » contains the following:
        #!/bin/bash

        source [path-to-your-context-minimal-stable-folder]/tex/setuptex 
        context --autogenerate --synctex=1 "$1"

and the second file « mkiv-testing.engine » contains
        #!/bin/bash

        source [path-to-your-context-minimal-testing-folder]/tex/setuptex 
        context --autogenerate --synctex=1 "$1"

(personnaly I add also 
        rm -f *.tui *.log *.tuo *.xdv *.mp *.tmp *.top *-mpgraph.* 
*-mpgraph-temp.dvi *.tuc
at the end of each of the files to remove auxiliary files, but you must be 
careful with removing such files as *.mp…).

Then when you open anew TeXShop, you'll see in a small menu on top of each of 
your TeX file where you can choose to typeset your file with either mkiv-stable 
or mkiv-testing.
Or you can add at the top of your TeX file the following line:
        %!TEX TS-program = mkiv-stable
or
        %!TEX TS-program = mkiv-testing

In case you would like to use mkii you should replace the line 
        context --autogenerate --synctex=1 "$1"
with
        texexec --autogenerate --synctex=1 "$1"
and create an engine file named « mkii.engine »
That's it.
I hope this would be useful to you.
Best regards: OK

On 31 août 2013, at 14:12, Alan Bowen <bowenala...@gmail.com> wrote:

> I would like to install two ConTeXt trees on my laptop, one for work in 
> progress and another for testing, and to run them using TeXShop (if that is 
> feasible).
> 
> Are there any instructions for this? I have searched the wiki and TeXShop 
> help files but have not seen anything that indicates how to do this.
> 
> I currently have a system-wide installation of the ConTeXt standalone.
> 
> Alan
> ___________________________________________________________________________________
> 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
___________________________________________________________________________________

Reply via email to