Hi Keith, Thanks for your attention. Indeed I use the latest TeXShop (version 3.49) but regarding the content my mkii.engine file if I remove the line source /Volumes/OK/context-minimal/tex/setuptex then I cannot typeset with my standalone installation of Context: I tried to use a set path such as set path = ($path /Volumes/OK/context-minimal/tex/texmf-osx-64/bin) but I get an error message telling me: /Users/kavian/Library/TeXShop/Engines/mkii.engine: line 3: syntax error near unexpected token `(' /Users/kavian/Library/TeXShop/Engines/mkii.engine: line 3: `set path = ($path /Volumes/OK/context-minimal/tex/texmf-osx-64/bin)’ So at this point I have to keep the instruction to source the setuptex file in order to typeset either with mkii or mkiv, using the standalone Context. Best regards: OK
On 21 Jan 2015, at 12:55, Keith Schultz
wrote: Hi Otared and Gerben,
I do not know which version of TeXShop you are using but the more recent ones have Engines for ConTeXt, already.
If they are not already installed you can find them in: ~/Libraries/TeXShop/Engines/Inactive
just more the Contex( LuaTeX).engine into Engines and restart TeXShop.
Here is the engine definition for MacTeX 2014 (TeXLive) #!/bin/tcsh
# Before using this engine, you must run the following command once in Terminal: luatools --generate
set path= ($path /usr/texbin /usr/local/bin) mtxrun --script context --autogenerate --synctex=1 "$1"
Am 21.01.2015 um 12:08 schrieb Otared Kavian
: Hi Gerben, [snip, snip] For instance my file mkii.engine contains the following lines:
#!/bin/bash source /Volumes/OK/context-minimal/tex/setuptex texexec --autogenerate --synctex=1 "$1" No need to Source setuptex. Just set the Path to your ConTeXt Standalone directory The setuptex script is a multi-platform script to setup the paths!
where /Volumes/OK/context-minimal/tex/setuptex is the path to the file setuptex in my Context standalone directory.
Best regards: OK
regards Keith. ___________________________________________________________________________________ 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 ___________________________________________________________________________________