From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/26201 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: texexec.ini not read Date: Wed, 1 Mar 2006 05:25:53 -0500 (EST) Message-ID: References: <44056C08.8020705@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1141208897 9475 80.91.229.2 (1 Mar 2006 10:28:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Mar 2006 10:28:17 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 01 11:28:12 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 1FEOYg-0007qn-7A for gctc-ntg-context-518@m.gmane.org; Wed, 01 Mar 2006 11:27:50 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AAD48127A3; Wed, 1 Mar 2006 11:27:49 +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 07041-02; Wed, 1 Mar 2006 11:27:49 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 547591277B; Wed, 1 Mar 2006 11:26:03 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E22161277B for ; Wed, 1 Mar 2006 11:26:01 +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 04309-08 for ; Wed, 1 Mar 2006 11:26:00 +0100 (CET) Original-Received: from withoutevidence.mr.itd.umich.edu (withoutevidence.mr.itd.umich.edu [141.211.93.147]) by ronja.ntg.nl (Postfix) with SMTP id 2020312772 for ; Wed, 1 Mar 2006 11:25:59 +0100 (CET) Original-Received: from aditya.annarb01.mi.comcast.net (c-68-40-50-205.hsd1.mi.comcast.net [68.40.50.205]) by withoutevidence.mr.itd.umich.edu (smtp) with ESMTP id k21APrHg003683 for ; Wed, 1 Mar 2006 05:25:58 -0500 Original-To: mailing list for ConTeXt users In-Reply-To: <44056C08.8020705@wxs.nl> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:26201 Archived-At: <--- On Mar 1, Hans Hagen wrote ---> > Aditya Mahajan wrote: >> Oops, forgot to attach the logs >> >> <--- On Mar 1, Aditya Mahajan wrote ---> >> >>> <--- On Feb 28, Aditya Mahajan wrote ---> >>> >>>> I was trying to make the stand along context work with cygwin using >>>> cygwin ruby. Following the advice on the wiki of adding >>>> /scripts/context/ruby to rubylib, everything works fine. However, I am >>>> not able to enable write18. I copied texexec.rme to texexec.ini and >>>> added -shell-escape to all set TeXPassString in texexec.ini. However, >>>> I still get >>>> >>>> system(mpost .....) disabled >>>> >>>> in my log file. Reading through newtexexec.rb it seems that it does >>>> not check the ini file. Is this correct? Or am I missing something. >>> >>> Strange. If I run the command for dos command prompt, I get >>> system (mpost .....) executed >>> >>> It seems that texexec is looking at different profiles under cygwin. >>> Or rather, for some reason texexec can not find the correct file in >>> cygwin. I am attaching both log files. There is not much difference >>> there. >>> >>> It seems that I still need to work with cmd rather than bash :-( >>> Any hints will be appreciated. >>> > did you enable write 18 in texmf.cnf? > Thanks for the hint. I had enabled it in texmf-local/web2c/texmf.cnf (in fact it was already set to t). Now, I went and edited texmf/web2c/texmf.cnf and set shell escape there to be true, and everything works fine. But this is strange. I thought that texmf-local will get preference over main texmf. Perhaps I did something terribly wrong in creating a setuptex for cygwin bash. I guess it is a problem with a clash of windows and unix file naming conventions. Can anyone shed some light on what is going on. This is not too important as everything is working properly (I hope). This is my setuptex for bash. For dos, I use the setuptex.bat that comes with context. #!/usr/bin/bash export TEXROOT=E:/isoimage/usr/local/context/tex # export TEXROOT=/e/isoimage/usr/local/context/tex export UNIXTEXROOT=/e/isoimage/usr/local/context/tex export TEXMFMAIN=$TEXROOT/texmf export TEXMFLOCAL=$TEXROOT/texmf-local export TEXMFFONTS=$TEXROOT/texmf-fonts export TEXMFEXTRA=$TEXROOT/texmf-extra export TEXMFPROJECT=$TEXROOT/texmf-aditya export TEXMFOS=$TEXROOT/texmf-mswin export PATH=$UNIXTEXROOT/texmf-mswin/bin:$PATH export VARTEXMF=$TMP/texmf-var export TEXMFCNF=$TEXROOT/texmf{-local,}/web2c export TEXMF='{$TEXMFOS,$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFEXTRA,!!$TEXMFMAIN}' export TEXMFDBS=$TEXMF export TEXFORMATS='$TEXMFOS/web2c/{$engine,}' export MPMEMS=$TEXFORMATS export TEXPOOL=$TEXFORMATS export MPPOOL=$TEXPOOL -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008