From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25293 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: New Installation under miktex, not working Date: Tue, 17 Jan 2006 01:23:47 -0500 (EST) Message-ID: References: <5f8ls1llftg2hc0hvqhosfaquidc7u2fuu@4ax.com> <6faad9f00601160010v6ce82033t284ecaaad78ead65@mail.gmail.com> <6faad9f00601160802k3e64fbfbh91b791dfbb97adf4@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: sea.gmane.org 1137479050 9468 80.91.229.2 (17 Jan 2006 06:24:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 17 Jan 2006 06:24:10 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 17 07:24:08 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EykGB-0002Ja-AJ for gctc-ntg-context-518@m.gmane.org; Tue, 17 Jan 2006 07:24:03 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6616C1282E; Tue, 17 Jan 2006 07:24:02 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11733-06; Tue, 17 Jan 2006 07:24:00 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6BFAC1281E; Tue, 17 Jan 2006 07:24:00 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A5A591281E for ; Tue, 17 Jan 2006 07:23:58 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11877-03 for ; Tue, 17 Jan 2006 07:23:57 +0100 (CET) Original-Received: from beyondborders.mr.itd.umich.edu (beyondborders.mr.itd.umich.edu [141.211.93.146]) by ronja.ntg.nl (Postfix) with SMTP id 36AC712809 for ; Tue, 17 Jan 2006 07:23:54 +0100 (CET) Original-Received: from aditya.annarb01.mi.comcast.net (bgp996717bgs.nanarb01.mi.comcast.net [68.40.50.205]) by beyondborders.mr.itd.umich.edu (smtp) with ESMTP id k0H6NlA0005965 for ; Tue, 17 Jan 2006 01:23:52 -0500 Original-To: mailing list for ConTeXt users In-Reply-To: <6faad9f00601160802k3e64fbfbh91b791dfbb97adf4@mail.gmail.com> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:25293 Archived-At: <--- On Jan 16, Mojca Miklavec wrote ---> > Aditya Mahajan wrote: > >> Make a tree called pragma-texmf. Download cont-tmf.zip and >> cont-fnt.zip and unzip them in pragma-texmf. Go to MikTex options and >> add pragma-texmf as a tree. Move it up so that it is the first tree. > /.../ >> This makes me feel whether it is a good idea to have miktex and >> context for windows (from the pragma site) in parallel. I use cygwin >> and context for windows only seems to work from cmd.exe and not >> bash.exe. I tried to convert setuptex.sh to setuptex.bash, but could >> not get to work. So, I settled with the method of downloading the >> relevant trees and things work (by black magic, as you said) > > I have them (MikTeX and the stand-alone from Pragma) in parallel > without any problem. I created "pragmatex.bat" (visible by PATH) which > calls the setuptex.bat (or whatever the script in the stand-alone > distr. is called). The two distros don't interfere at all. Once I call > "pragmatex", all the sources and executables are chosen from the > stand-alone tree when I compile the documents. (But thanks for the > idea of making another texmf-pragma tree! I always managed to break > something when mixing MikTeX and original files from Pragma, that's > why I preferred to leave things as they are and use another distro > instead.) I once again tried to install the standalone context distribution and it works :-). So, I deleted context from the miktex distribution and now use the standalone distribution. Hopefully, it will be more stable than in miktex. > I'm not sure, but I guess that you would need tetex to run it from > bash. Don't ask me about the numerous (still unsolved) problems I had > just because the ruby executable is only available under cygwin at the > university. I had a similar problem. I needed cygwin ruby because there are certain ruby packages (e.g. narray) that I could get to work with cygwin ruby without any hassle but do not work with the ruby one click installer. But cygwin ruby and context do not go together. I was actually following your thread on comp.lang.ruby hoping that someone will come up with a solution, but no suggestion worked. What I finally did was, download and install the one click installer, but removed it from the PATH. So when I am working on other projects, I get the cygwin ruby which works fine. I added a line to setuptex.bat that adds the one-click windows ruby to the front of the path. So when a context program asks for a ruby, it gets the windows version and everything works fine. The only drawback is that I can not use rxvt+bash, and have to use cmd.exe Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008