From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/6448 Path: main.gmane.org!not-for-mail From: Bruce Horrocks Newsgroups: gmane.comp.tex.context Subject: Re: WinEdt and Context Date: Wed, 2 Jan 2002 16:26:01 +0000 Sender: owner-ntg-context@let.uu.nl Message-ID: References: <003801c192fb$e2c39680$8820eed4@ijselstraat> <200201021103.g02B3f600905@nathir.fiee.lan> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain;charset=us-ascii;format=flowed X-Trace: main.gmane.org 1035396978 10703 80.91.224.250 (23 Oct 2002 18:16:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:16:18 +0000 (UTC) Original-To: ntg-context@ntg.nl In-Reply-To: <200201021103.g02B3f600905@nathir.fiee.lan> Xref: main.gmane.org gmane.comp.tex.context:6448 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:6448 In message <200201021103.g02B3f600905@nathir.fiee.lan>, on Wed, 2 Jan 2002 at 12:03:41, Henning Hraban Ramm wrote: >Am Dienstag 01 Januar 2002 20:38 schrieb Gerard Hermans: >> In ConteXt manuals it is stated that Perl needs to be >> installed, which I don't have. >texexec.pl is a Perl script (therefore you need Perl), >all ConTeXt scripts are located in ...texmf\context\perltk, >you should have this in your PATH. And maybe you should >have a look at runperl.zip... I avoided the need for runperl.exe by choosing the appropriate (ActiveState) Perl install option that allows you to double-click .pl files to run them automatically. The reason for doing this is that runperl.exe does not set the ERRORLEVEL environment variable. I use the following command script file under Win2K to compile my current ConTeXt project and start Yap if it worked or drop into the editor if there were errors. ---start--- prompt $$ cd "C:\Documents and Settings\username\My Documents\working directory" texexec.pl --batch %1 00_master.tex @echo off if errorlevel 1 goto errors goto noerrors :errors "C:\path to editor\gvim.exe" -q 00_master.log goto end :noerrors if "%1" == "--pdf" goto :end start /i yap -1 00_master.dvi :end ---end--- I call this script from one of two links on the desktop: one just calls this file as is and generates a DVI file - or drops into the editor if there is a problem. The other supplies "-PDF" as the %1 parameter which causes a PDF version to be generated instead of DVI. Something like the above might be what you need to get your WinEDT macro working. HTH. Regards, -- Bruce Horrocks Hampshire England bh@granby.demon.co.uk