ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
Subject: Re: texexec.ini not read
Date: Wed, 1 Mar 2006 05:25:53 -0500 (EST)	[thread overview]
Message-ID: <Pine.WNT.4.63.0603010516230.3896@nqvgln> (raw)
In-Reply-To: <44056C08.8020705@wxs.nl>

<--- 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

  reply	other threads:[~2006-03-01 10:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-01  2:25 Aditya Mahajan
2006-03-01  6:08 ` Aditya Mahajan
2006-03-01  6:09   ` Aditya Mahajan
2006-03-01  9:40     ` Hans Hagen
2006-03-01 10:25       ` Aditya Mahajan [this message]
2006-03-01  9:38 ` Hans Hagen

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=Pine.WNT.4.63.0603010516230.3896@nqvgln \
    --to=adityam@umich.edu \
    --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).