From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/91349 Path: news.gmane.org!not-for-mail From: Andres Conrado Newsgroups: gmane.comp.tex.context Subject: Re: Newbie needs help getting started Date: Tue, 5 May 2015 20:23:21 -0500 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1386287616==" X-Trace: ger.gmane.org 1430875511 27487 80.91.229.3 (6 May 2015 01:25:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 May 2015 01:25:11 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed May 06 03:24:56 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 1Ypo52-0004wu-Pd for gctc-ntg-context-518@m.gmane.org; Wed, 06 May 2015 03:24:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E6BBF10225 for ; Wed, 6 May 2015 03:24:55 +0200 (CEST) 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 0YRBe3yugP4R for ; Wed, 6 May 2015 03:24:54 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 6AC961022F for ; Wed, 6 May 2015 03:24:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BD1DB101E8 for ; Wed, 6 May 2015 03:24:19 +0200 (CEST) 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 lFbMriaA22N3 for ; Wed, 6 May 2015 03:24:18 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 33DB8101E6 for ; Wed, 6 May 2015 03:24:17 +0200 (CEST) Original-Received: from gproxy9-pub.mail.unifiedlayer.com (gproxy9-pub.mail.unifiedlayer.com [69.89.20.122]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with SMTP id t461OFpI027422 for ; Wed, 6 May 2015 03:24:16 +0200 Original-Received: (qmail 13830 invoked by uid 0); 6 May 2015 01:24:09 -0000 Original-Received: from unknown (HELO cmgw2) (10.0.90.83) by gproxy9.mail.unifiedlayer.com with SMTP; 6 May 2015 01:24:09 -0000 Original-Received: from just53.justhost.com ([173.254.28.53]) by cmgw2 with id QRQ21q00f18lRkD01RQ5wp; Tue, 05 May 2015 19:24:07 -0600 X-Authority-Analysis: v=2.1 cv=FPmImYYs c=1 sm=1 tr=0 a=mIW8dWiKc/TuAuGiSrP0fw==:117 a=BY8XqHikAAAA:8 a=f5113yIGAAAA:8 a=ssjAsWX2AAAA:8 a=pGLkceISAAAA:8 a=1XWaLZrsAAAA:8 a=KILUOv8btdgA:10 a=R3CfpHS2MDcA:10 a=h1PgugrvaO0A:10 a=dZoFJTvBXwiKqdhov88A:9 a=QEXdDO2ut3YA:10 a=iToK460RIlaKkvNAnUQA:9 a=o6Y-lBNof6RXB73s:21 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=chiquitico.org; s=default; h=Content-Type:To:Subject:Message-ID:Date:From:MIME-Version; bh=3RZDuozyJnuPM3Bi2Ks8UC1tpy4cuoSS+ofbwmov7UQ=; b=PfLtZr/1wgqZImwQWwxNdeqDn/24F6b/OSBT6VzbAfI46Armp6N49VYdYO9MENbi0mT6SV+p8eZli/uujltFV8wZUVc7bpfMXY70lj3Zq2fxSj0Uoq7Bu7FJRP0Lz/q7; Original-Received: from [209.85.213.180] (port=37096 helo=mail-ig0-f180.google.com) by just53.justhost.com with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1Ypo4C-0008OZ-Mi for ntg-context@ntg.nl; Tue, 05 May 2015 19:24:04 -0600 Original-Received: by igblo3 with SMTP id lo3so4047011igb.0 for ; Tue, 05 May 2015 18:24:02 -0700 (PDT) X-Received: by 10.107.5.210 with SMTP id 201mr12441714iof.57.1430875442009; Tue, 05 May 2015 18:24:02 -0700 (PDT) Original-Received: by 10.107.18.220 with HTTP; Tue, 5 May 2015 18:23:21 -0700 (PDT) X-Identified-User: {1127:just53.justhost.com:chiquit1:chiquitico.org} {sentby:smtp auth 209.85.213.180 authed with elandi@chiquitico.org} X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=69.89.20.122; country=US; region=Utah; city=Provo; latitude=40.2338; longitude=-111.6585; http://maps.google.com/maps?q=40.2338,-111.6585&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QOopof1E - ce87289a6fd7 - 20150506 (trained as not-spam) Received-SPF: neutral (filter2-ams.mf.surf.net: 69.89.20.122 is neither permitted nor denied by domain elandi@chiquitico.org) receiver=filter2-ams.mf.surf.net; client-ip=69.89.20.122; envelope-from=; helo=gproxy9-pub.mail.unifiedlayer.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:91349 Archived-At: --===============1386287616== Content-Type: multipart/alternative; boundary=001a113ee5e47063a105155fa6ca --001a113ee5e47063a105155fa6ca Content-Type: text/plain; charset=UTF-8 If you use other TeX distribution (TeXlive, MikTeX), you will have conflicts because your system doesn't know how to differentiate between your current TeX distro binaries, and Context's binaries, so, the system will use different (non-compatible) versions of a lot of things, and will use the first executables found in the PATH. I have both texlive and context, but configuring them to work well together, took me a while. I use a couple of custom .bat files to invoke context's path ONLY when I compile Context files, but use the defaults for textworks when I complile LaTeX files. What I did was: 1. Your same steps 1-3. 2. Created a folder called C:/context/pragmatex/ 3. Inside that folder I placed two files: PRAGMATEX.BAT and SETPATH.BAT (contents below) 4. Add C:\context\pragmatex\ to the PATH variable (so the two mentioned files can be found by the system) 5. Configure TeXworks: 5.1. Open TW and go to Edit > Preferences 5.2 Select "Compilation" tab 5.3 In that Window, in the field "Location of TeX and related programs" (or something like that, the name can be slightly different. I use the Spanish version), add (using the button marked "+") the folder C:\context\pragmatex\ 5.4 In the same window, below, select ConTeXt (LuaTeX), and click "edit". 5.5 In "Program" add "C:/context/pragmatex/pragmatex.bat" (without quotes). 5.6 In "Parameters" just add "$fullname" (without quotes) if it's not already there. The contents of the two mentioned files (just plain old .bat files, can be created on notepad): ************************************************************** pragmatex.bat ************************************************************** @echo off call C:\context\pragmatex\setpath.bat context --synctex=zipped --autogenerate "%1" --purgeall ************************************************************** ************************************************************** setpath.bat ************************************************************** @echo off C:\context\tex\setuptex.bat C:\context\tex ************************************************************** Hope this helps. Is a very crappy setup, but it works for me. You can adapt it however you like. --001a113ee5e47063a105155fa6ca Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
If you use other TeX distributi= on (TeXlive, MikTeX), you will have conflicts because your system doesn'= ;t know how to differentiate between your current TeX distro binaries, and = Context's binaries, so, the system will use different (non-compatible) = versions of a lot of things, and will use the first executables found in th= e PATH. I have both texlive and context, but configuring them to work well = together, took me a while. I use a couple of custom .bat files to invoke co= ntext's path ONLY when I compile Context files, but use the defaults fo= r textworks when I complile LaTeX files.=C2=A0

What I did was:=C2=A0
1. Your same steps 1-3.
2. Created a folder called C:/context/pragmatex/
3. Inside that folder I placed two files: PRAGMATEX.BAT and SETPATH.= BAT (contents below)
4. Add C:\context\prag= matex\ to the PATH variable (so the two mentioned files can be found by the= system)
5. Configure TeXworks:=C2=A0
=
=C2=A0 5.1. Open TW and go to Edit > Preferen= ces
=C2=A0 5.2 =C2=A0Select "Compilati= on" tab
=C2=A0 5.3 =C2=A0In that Windo= w, in the field "Location of TeX and related programs" (or someth= ing like that, the name can be slightly different. I use the Spanish versio= n), add (using the button marked "+") the folder C:\context\pragm= atex\
=C2=A0 5.4 =C2=A0In the same window, below, select ConTeXt (LuaTeX= ), and click "edit".
=C2=A0 5.5 = =C2=A0In "Program" add "C:/context/pragmatex/pragmatex.bat&q= uot; (without quotes).
=C2=A0 5.6 =C2=A0In = "Parameters" just add "$fullname"=C2=A0(without quotes)= if it's not already there.

<= div class=3D"gmail_extra">The contents of the two mentioned files (just pla= in old .bat files, can be created on notepad):=C2=A0

****************************= **********************************
prag= matex.bat
*********************************= *****************************
@echo off=
call C:\context= \pragmatex\setpath.bat
context --synctex=3D= zipped --autogenerate "%1" --purgeall
**************************************************************

*******************************************************= *******
setpath.bat
**************************************************************=
@echo off
C:\context\tex\setuptex.bat C:\context\tex
**************************************************************<= /div>

Hope t= his helps. Is a very crappy setup, but it works for me. You can adapt it ho= wever you like.=C2=A0



--001a113ee5e47063a105155fa6ca-- --===============1386287616== 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= --===============1386287616==--