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: Can I use mkii and mkiv side by side?
Date: Wed, 21 Jan 2015 13:48:35 +0100	[thread overview]
Message-ID: <905EC570-3995-4D7C-91DB-179C8F01B7DB@gmail.com> (raw)
In-Reply-To: <8F6790B0-69F1-498C-BF27-23EB5E0D508E@icloud.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

> On 21 Jan 2015, at 12:55, Keith Schultz <keithjschultz@icloud.com> 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 <otared@gmail.com>:
>> 
>> 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
> ___________________________________________________________________________________

___________________________________________________________________________________
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-01-21 12:48 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-20 23:36 Gerben Wierda
2015-01-21 11:08 ` Otared Kavian
2015-01-21 11:55   ` Keith Schultz
2015-01-21 12:48     ` Otared Kavian [this message]
2015-01-21 13:31       ` Keith J. Schultz
2015-01-21 22:01         ` Otared Kavian
2015-01-26 16:19     ` Gerben Wierda
2015-01-26 16:29       ` Wolfgang Schuster
2015-01-26 18:51       ` Keith Schultz
2015-01-26 21:49         ` Gerben Wierda
2015-01-27 12:06           ` Keith J. Schultz
2015-02-23 21:33             ` Gerben Wierda
2015-02-23 21:37               ` Aditya Mahajan
2015-01-21 11:29 ` Keith J. Schultz

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=905EC570-3995-4D7C-91DB-179C8F01B7DB@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).