Hi Bryant,

Thanks a lot! I got it working with your suggestion.
The exact sequence was:
 1. install ConTeXt in DOS cmd
 2. run setuptex.bat in DOS cmd
 3. enter cygwin by running cygwin.bat
 4. in cygwin prompt, run   context.cmd test.tex

Our docbook->pdf/html flow was developed in unix. But I need to port it to Windows now for my colleagues.

regards,
shenchen


On Mon, Nov 2, 2009 at 11:00 PM, Bryant Eastham <beastham@pewla.us.pewg.panasonic.com> wrote:

I am doing exactly the same thing as you want. I believe your problem is in keeping your worlds (Windows/Cygwin) straight. It appears that you have installed minimals “inside” cygwin (depending on whether your /usr directory is your cygwin /usr directory).

 

I installed minimals “normally”, as it is a Windows application. I ran the context setups from Windows. Then I can build with no problems from within cygwin by running the minimals cmd files (although you must specify the extension from within cygwin). I did not have to modify any files at all.

 

So far, no problems. Just remember to keep your path information in “Windows” format, not cygwin.

 

-Bryant

 

From: ntg-context-bounces@ntg.nl [mailto:ntg-context-bounces@ntg.nl] On Behalf Of Chen Shen
Sent: Monday, November 02, 2009 7:03 AM
To: mailing list for ConTeXt users
Subject: [NTG-context] possible to run minimal in cygwin?

 

Hi all,

 

I wonder if it possible to run the MSWin version of context-minimal under Cygwin.

I want to use Makefile and other unix tools to automate my build process.

 

I tried modifying the context/tex/setuptex script, and manually set the platform variable to mswin,

but when I ran context.cmd, I saw the following error message. The texmf-cache path actually exists.

Any hint? Thanks a lot!

 

======begin cut===========

[Administrator@cygwin test]$ context.cmd test1

 

Should I create the cache path /cygdrive/c/usr/docs/context/tex/texmf-cache? [ye

s|no] [no]

 

Should I create the cache path /cygdrive/c/usr/docs/context/tex/texmf-cache? [ye

s|no] [no]

MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

 

======end cut===========

 

regards,

shenchen


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