Re: [NTG-context] Some Progress on Installing mswincontext.zip

2008-08-28 Thread Mojca Miklavec
On Wed, Aug 27, 2008 at 8:01 PM, David Arnold wrote:

 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?

I don't know much about windows, but zips don't install gs for you.
I usually unzipped both gs and gv (gsview32) to some folder and added
it to path manually.

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


[NTG-context] Some Progress on Installing mswincontext.zip

2008-08-27 Thread David Arnold

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/


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