From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/89889 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: Can I use mkii and mkiv side by side? Date: Wed, 21 Jan 2015 23:01:33 +0100 Message-ID: References: <8F6790B0-69F1-498C-BF27-23EB5E0D508E@icloud.com> <905EC570-3995-4D7C-91DB-179C8F01B7DB@gmail.com> <46F8597C-745D-4888-B96F-773E17456D10@web.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Content-Type: multipart/mixed; boundary="===============1470175549==" X-Trace: ger.gmane.org 1421877746 1215 80.91.229.3 (21 Jan 2015 22:02:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Jan 2015 22:02:26 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jan 21 23:02:25 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YE3Lz-0000Br-KR for gctc-ntg-context-518@m.gmane.org; Wed, 21 Jan 2015 23:02:23 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F0BFD1020E for ; Wed, 21 Jan 2015 23:02:22 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ceVJ4Mm6BB3K for ; Wed, 21 Jan 2015 23:02:21 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id D589A1022F for ; Wed, 21 Jan 2015 23:01:41 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 515D6101EA for ; Wed, 21 Jan 2015 23:01:38 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id O4YUNSCSqENA for ; Wed, 21 Jan 2015 23:01:37 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 19020101E8 for ; Wed, 21 Jan 2015 23:01:37 +0100 (CET) Original-Received: from mail-wg0-x230.google.com (mail-wg0-x230.google.com [IPv6:2a00:1450:400c:c00::230]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id t0LM1Zd6002686 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 21 Jan 2015 23:01:36 +0100 Original-Received: by mail-wg0-f48.google.com with SMTP id x12so13874538wgg.7 for ; Wed, 21 Jan 2015 14:01:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=HZGNaACiNVYq8oSn+AeZAzSK25/GDAGzCLi1OfqeYRU=; b=NieJl69M9qoekvgPkhnZOAKFrN2vVsIRXrtfntxh3QMrhZkzhmO8CyvrA+BNSeULEK OgdWNsSyIHIfurlT5KxoiIkc4KxMluXLiNW+le8M6samKHMyMwWWAa4stH8YF/eD1rVx HJN3UlZHyAnRhuJ09I3z6w21MPxd8LKDQRQXrmzo14ozkghsnDBRx5UZFavHh0ew2ubO MRgxGfL1EQW1k9pURwTIgnMyzh0Y4sGuBtMt9bfCLNcHo3mf5KPRKrs3qRSAO1z+qjJO cRAuKlkyIdat7+2y3N2ZQCDOASSIr4bypQOmCjWQqbOqEPk1ks5los4X3xnH2070RJGY pV5Q== X-Received: by 10.180.109.45 with SMTP id hp13mr60021103wib.4.1421877695820; Wed, 21 Jan 2015 14:01:35 -0800 (PST) Original-Received: from ?IPv6:2a01:e35:2ec2:40:c4d3:da9f:a082:b835? ([2a01:e35:2ec2:40:c4d3:da9f:a082:b835]) by mx.google.com with ESMTPSA id l6sm1435211wjx.33.2015.01.21.14.01.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 21 Jan 2015 14:01:35 -0800 (PST) In-Reply-To: <46F8597C-745D-4888-B96F-773E17456D10@web.de> X-Mailer: Apple Mail (2.1993) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c00::230; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01NGK1Ad7 - 46233cc5fa23 - 20150121 (trained as not-spam) Received-SPF: pass (filter4-ams.mf.surf.net: domain of otared@gmail.com designates 2a00:1450:400c:c00::230 as permitted sender) receiver=filter4-ams.mf.surf.net; client-ip=2a00:1450:400c:c00::230; envelope-from=; helo=mail-wg0-x230.google.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:89889 Archived-At: --===============1470175549== Content-Type: multipart/alternative; boundary="Apple-Mail=_BF5EA322-43B1-45CD-85C4-FC3D4B856878" --Apple-Mail=_BF5EA322-43B1-45CD-85C4-FC3D4B856878 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 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=3D/Volumes/OK/context-minimal/tex/texmf-osx-64/bin:$PATH texexec --autogenerate --synctex=3D1 "$1"=20 ---------------------------------------------- Many thanks again! Best regards: OK > On 21 Jan 2015, at 14:31, Keith J. Schultz = wrote: >=20 > Hi Otared, >=20 > actually, just setting the PATH variable will work, but you have to = set it > with the proper command! >=20 > The Standard TexShop engines use the tcsh shell and not bash !! >=20 > either change the first line to=20 > #!/bin/tcsh >=20 > or set the path bash style > export PATH=3D/Volumes/OK/context-minimal/tex/texmf-osx-64/bin:$PATH >=20 > I put the standard PATH behind the minimals path so that it is = searched first! >=20 > regards > Keith >=20 >> Am 21.01.2015 um 13:48 schrieb Otared Kavian >: >>=20 >> Hi Keith, >>=20 >> Thanks for your attention.=20 >> Indeed I use the latest TeXShop (version 3.49) but regarding the = content my mkii.engine file if I remove the line=20 >>=20 >> source /Volumes/OK/context-minimal/tex/setuptex >>=20 >> then I cannot typeset with my standalone installation of Context: I = tried to use a set path such as >>=20 >> set path =3D ($path /Volumes/OK/context-minimal/tex/texmf-osx-64/bin) >>=20 >> but I get an error message telling me: >>=20 >> /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 = =3D ($path /Volumes/OK/context-minimal/tex/texmf-osx-64/bin)=E2=80=99 >>=20 >> 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.=20 >>=20 >> Best regards: OK >>=20 >=20 > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > 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 > = __________________________________________________________________________= _________ --Apple-Mail=_BF5EA322-43B1-45CD-85C4-FC3D4B856878 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 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=3D/Volumes/OK/context-minimal/tex/texmf-osx-64/bin:$PATH
texexec --autogenerate --synctex=3D1 "$1" 
----------------------------------------------

Many thanks = again!
Best regards: OK

On 21 Jan 2015, at 14:31, Keith J. Schultz <keithjschultz@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=3D/Volumes/OK/context-minimal/tex/texmf-osx-64/bin:$PAT= H

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 <otared@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 =3D ($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 =3D ($path = /Volumes/OK/context-minimal/tex/texmf-osx-64/bin)=E2=80=99

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
_______________________________________________________________= ____________________

= --Apple-Mail=_BF5EA322-43B1-45CD-85C4-FC3D4B856878-- --===============1470175549== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============1470175549==--