From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54010 Path: news.gmane.org!not-for-mail From: Chen Shen Newsgroups: gmane.comp.tex.context Subject: Re: possible to run minimal in cygwin? Date: Tue, 3 Nov 2009 11:01:45 +0800 Message-ID: <48af9a710911021901j33eb08x80b4480fe93f5d07@mail.gmail.com> References: <48af9a710911020603u68a603fdm1fe09feffe9cc746@mail.gmail.com> <51CAD0CE1504444DBE77CBBE51A0135D6CE67F@slcmail.slc.mew.int> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0677702457==" X-Trace: ger.gmane.org 1257217348 22650 80.91.229.12 (3 Nov 2009 03:02:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Nov 2009 03:02:28 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 03 04:02:21 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1N59f3-0002LQ-2U for gctc-ntg-context-518@m.gmane.org; Tue, 03 Nov 2009 04:02:21 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D660CC9B03; Tue, 3 Nov 2009 04:00:42 +0100 (CET) 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 ZeDnc8zXYllM; Tue, 3 Nov 2009 04:00:37 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 01757C9B07; Tue, 3 Nov 2009 04:00:37 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9165CC9B07 for ; Tue, 3 Nov 2009 04:00:29 +0100 (CET) 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 r7YOxq5EAhhh for ; Tue, 3 Nov 2009 04:00:14 +0100 (CET) Original-Received: from mail-px0-f204.google.com (mail-px0-f204.google.com [209.85.216.204]) by balder.ntg.nl (Postfix) with ESMTP id 1B639C9B03 for ; Tue, 3 Nov 2009 04:00:13 +0100 (CET) Original-Received: by pxi42 with SMTP id 42so3886264pxi.5 for ; Mon, 02 Nov 2009 19:01:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=Ek5LAS7sELQqvSzjscAzyuWrkqZasApvloLxs6OppCU=; b=gY54P+mtxYeOJvS+1V+G0QJeHxjvdf8M24kwLOqr5KXf1lMa7k5RuStzNKm5Q1wPBO 0RWpT0cKuOALnvSRkYitlefZvLN30uleXapVnOviUakvvdR+VwReICiXqoowRLXvPGPy Gm+vqzZVb0mdrrtOMBi85x43RYi+m0GrGDfE4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=I5W1p6jT789lyS3VhFuDwfzaWSOTm4tIG7S7DipVWPSOzEtHERu/3HNEGpx+qcW9c2 T7ihzTrVs8Kko6vUtay3jMc9xqz7U/tDArKZ6xQbJv8Aplb14zmNMSQmhRTaHeUnSCvK 3z59z++AqEcrduyU0sfU+9AyCMGV4Io+ovOrk= Original-Received: by 10.142.66.21 with SMTP id o21mr969696wfa.47.1257217305398; Mon, 02 Nov 2009 19:01:45 -0800 (PST) In-Reply-To: <51CAD0CE1504444DBE77CBBE51A0135D6CE67F@slcmail.slc.mew.int> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:54010 Archived-At: --===============0677702457== Content-Type: multipart/alternative; boundary=001636e908a1e4d12704776eb602 --001636e908a1e4d12704776eb602 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 hav= e > installed minimals =E2=80=9Cinside=E2=80=9D cygwin (depending on whether = your /usr directory > is your cygwin /usr directory). > > > > I installed minimals =E2=80=9Cnormally=E2=80=9D, as it is a Windows appli= cation. I ran the > context setups from Windows. Then I can build with no problems from withi= n > 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 > =E2=80=9CWindows=E2=80=9D format, not cygwin. > > > > -Bryant > > > > *From:* ntg-context-bounces@ntg.nl [mailto:ntg-context-bounces@ntg.nl] *O= n > 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! > > > > =3D=3D=3D=3D=3D=3Dbegin cut=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > [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' > > > > =3D=3D=3D=3D=3D=3Dend cut=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > 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 > > _________________________________________________________________________= __________ > > --001636e908a1e4d12704776eb602 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Bryant,

Thanks a lot! I got it working with your sugg= estion.
The exact sequence was:
=C2=A01. install ConTeX= t in DOS cmd
=C2=A02. run setuptex.bat in DOS cmd
=C2= =A03. enter cygwin by running cygwin.bat
=C2=A04. in cygwin prompt, run =C2=A0 context.cmd test.tex

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

regards,<= /div>
shenchen


On Mon, No= v 2, 2009 at 11:00 PM, Bryant Eastham <beastham@pewla.us.pewg.panasonic.c= om> 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 tha= t you have installed minimals =E2=80=9Cinside=E2=80=9D cygwin (depending on w= hether your /usr directory is your cygwin /usr directory).

=C2= =A0

I ins= talled minimals =E2=80=9Cnormally=E2=80=9D, as it is a Windows application. I ran the context setups from Windows. Then I can build with no problems fr= om 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.

=C2= =A0

So fa= r, no problems. Just remember to keep your path information in =E2=80=9CWindows=E2=80=9D format, not cygwin.

=C2= =A0

-Brya= nt

=C2= =A0

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?

=C2=A0

Hi all,

=C2=A0

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 autom= ate my build process.

=C2=A0

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

but when I ran context.cmd, I saw the following erro= r message.=C2=A0The texmf-cache path actually exists.

Any hint? Thanks a lot!

=C2=A0

=3D=3D=3D=3D=3D=3Dbegin cut=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D

[Administrator@cygwin test]$ context.cmd test1

=C2=A0

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

s|no] [no]

=C2=A0

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

s|no] [no]

MTXrun | unknown script 'context.lua' or = 9;mtx-context.lua'

=C2=A0

=3D=3D=3D=3D=3D=3Dend cut=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D

=C2=A0

regards,

shenchen


_______________________________________________________________________= ____________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =C2=A0: http= ://www.pragma-ade.nl / http://tex.aanhet.net
archive =C2=A0: http://foundry.supelec.fr/projects/contextrev/
wiki =C2=A0 =C2=A0 : http://contextgarden.net
___________________________________________________________________________= ________


--001636e908a1e4d12704776eb602-- --===============0677702457== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0677702457==--