From: Bruce Horrocks <bh@granby.demon.co.uk>
Subject: Re: WinEdt and Context
Date: Wed, 2 Jan 2002 16:26:01 +0000 [thread overview]
Message-ID: <mu0M2CDZSzM8Ewfg@granby.demon.co.uk> (raw)
In-Reply-To: <200201021103.g02B3f600905@nathir.fiee.lan>
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
next prev parent reply other threads:[~2002-01-02 16:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-01 19:38 Gerard Hermans
2002-01-01 19:50 ` Berend de Boer
2002-01-01 20:09 ` Frans Goddijn
2002-01-02 11:03 ` Henning Hraban Ramm
2002-01-02 16:26 ` Bruce Horrocks [this message]
2002-01-02 17:10 ` Re[2]: " Robert F. Beeger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=mu0M2CDZSzM8Ewfg@granby.demon.co.uk \
--to=bh@granby.demon.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).