Hi Keith,

I got it! With the proper setting of paths it works without sourcing setuptex.
Thus I have for my installation of mkii:
----------------------------------------------
#!/bin/bash

export PATH=/Volumes/OK/context-minimal/tex/texmf-osx-64/bin:$PATH
texexec --autogenerate --synctex=1 "$1" 
----------------------------------------------

Many thanks again!
Best regards: OK

> On 21 Jan 2015, at 14:31, Keith J. Schultz <keithjschu...@web.de> wrote:
> 
> Hi Otared,
> 
> actually, just setting the PATH variable will work, but you have to set it
> with the proper command!
> 
> The Standard TexShop engines use the tcsh shell and not bash !!
> 
> either change the first line to 
> #!/bin/tcsh
> 
> or set the path bash style
> export PATH=/Volumes/OK/context-minimal/tex/texmf-osx-64/bin:$PATH
> 
> I put the standard PATH behind the minimals path so that it is searched first!
> 
> regards
>       Keith
> 
>> Am 21.01.2015 um 13:48 schrieb Otared Kavian <ota...@gmail.com 
>> <mailto:ota...@gmail.com>>:
>> 
>> 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
>> 
> 
> ___________________________________________________________________________________
> 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