From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43442 Path: news.gmane.org!not-for-mail From: David Arnold Newsgroups: gmane.comp.tex.context Subject: Some Progress on Installing mswincontext.zip Date: Wed, 27 Aug 2008 11:01:44 -0700 Message-ID: <5DD834E1-7C32-41C2-B53B-8FC8318E90D7@redwoods.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: multipart/mixed; boundary="===============1133790105==" X-Trace: ger.gmane.org 1219862062 20362 80.91.229.12 (27 Aug 2008 18:34:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Aug 2008 18:34:22 +0000 (UTC) To: Context List list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 27 20:35:14 2008 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 lo.gmane.org with esmtp (Exim 4.50) id 1KYPrE-0002x5-Ny for gctc-ntg-context-518@m.gmane.org; Wed, 27 Aug 2008 20:35:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6D2431FDD5; Wed, 27 Aug 2008 20:34:02 +0200 (CEST) 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 01872-01-2; Wed, 27 Aug 2008 20:33:02 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 846031FDE3; Wed, 27 Aug 2008 20:08:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 04C581FDE3 for ; Wed, 27 Aug 2008 20:08:35 +0200 (CEST) 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 26856-03-16 for ; Wed, 27 Aug 2008 20:07:58 +0200 (CEST) Original-Received: from RE-MAIL-1.Eureka.Redwoods.edu (c-249.redwoods.cc.ca.us [207.62.203.249]) by ronja.ntg.nl (Postfix) with ESMTP id 489741FDD3 for ; Wed, 27 Aug 2008 20:07:55 +0200 (CEST) Original-Received: from [192.168.11.101] ([192.168.11.101]) by RE-MAIL-1.Eureka.Redwoods.edu with Microsoft SMTPSVC(6.0.3790.3959); Wed, 27 Aug 2008 11:07:52 -0700 X-Mailer: Apple Mail (2.753.1) X-OriginalArrivalTime: 27 Aug 2008 18:07:52.0025 (UTC) FILETIME=[D2599C90:01C9086F] X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:43442 Archived-At: --===============1133790105== Content-Type: multipart/alternative; boundary=Apple-Mail-33-1034735940 --Apple-Mail-33-1034735940 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed All, As Idris and Hans expected, Ruby was the culprit. I had installed Ruby before downloading mswincontext.zip, as that was what I used to do in the old days with a Miktex installation. After following exactly these directions: http:// blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/173018 Scite now works on context documents. I tried to add metapost.properties to the global with "import metapost". I can "Build" a file, but the "Go" command does not work because I don't have gv installed. So I opened metapost.properties and tried changing the gv command to gsview32 (and even tried "c: \Program Files\ghostgum\gsview\gsview32.exe"), but neither worked. Any suggestions how I can get the "go" command to work? Secondly, what would I do to compile a metapost file in scite directly into PDF? I am aware of context way with processMPbuffer and other assorted tricks, and I am aware of mptopdf, but what I am looking for is to configure Scite to compile the metapost file and open it in acrobat reader. Here is the test file I am trying to compile. beginfig(1); numeric u; 10u=4in; drawdblarrow (-5u,0)--(5u,0); drawdblarrow (0,-5u)--(0,5u); endfig; end. David Arnold College of the Redwoods Mathematics Department Eureka, CA 95501 (707) 476-4222 http://online.redwoods.edu/instruct/darnold/ --Apple-Mail-33-1034735940 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 All,

As Idris and Hans expected, Ruby was the = culprit. I had installed Ruby before downloading mswincontext.zip, as = that was what I used to do in the old days with a Miktex = installation.

After following exactly these = directions: =A0http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/173018

Scite now works on context = documents.

I tried to add metapost.properties = to the global with "import metapost". I can "Build" a file, but the "Go" = command does not work because I don't have gv installed. So I opened = metapost.properties and tried changing the gv command to gsview32 (and = even tried "c:\Program Files\ghostgum\gsview\gsview32.exe"), but neither = worked.

Any suggestions how I can get the "go" = command to work?

Secondly, what would I do to = compile a metapost file in scite directly into PDF? I am aware of = context way with processMPbuffer and other assorted tricks, and I am = aware of mptopdf, but what I am looking for is to configure Scite to = compile the metapost file and open it in acrobat = reader.

Here is the test file I am trying to = compile.

beginfig(1);

nu= meric u; 10u=3D4in;
drawdblarrow = (-5u,0)--(5u,0);
drawdblarrow = (0,-5u)--(0,5u);

endfig;

end.

David = Arnold
College of the Redwoods
Mathematics = Department
Eureka, CA 95501
(707) = 476-4222

=

= --Apple-Mail-33-1034735940-- --===============1133790105== 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1133790105==--