From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/19102 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: Re: automating initialization Date: Thu, 17 Mar 2005 16:10:41 +0100 Message-ID: <42399DF1.4080609@gmx.net> References: <42394065@webmail.colostate.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1111073727 18374 80.91.229.2 (17 Mar 2005 15:35:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 17 Mar 2005 15:35:27 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 17 16:35:24 2005 Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DBws5-00084q-Ah for gctc-ntg-context-518@m.gmane.org; Thu, 17 Mar 2005 16:25:14 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0393912900; Thu, 17 Mar 2005 16:26:44 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07520-03-4; Thu, 17 Mar 2005 16:26:40 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 77D4512902; Thu, 17 Mar 2005 16:26:40 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id ED86012902 for ; Thu, 17 Mar 2005 16:26:38 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07520-03-3 for ; Thu, 17 Mar 2005 16:26:38 +0100 (CET) Original-Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by ronja.ntg.nl (Postfix) with SMTP id 0DC3112900 for ; Thu, 17 Mar 2005 16:26:38 +0100 (CET) Original-Received: (qmail invoked by alias); 17 Mar 2005 15:26:36 -0000 Original-Received: from c-134-125-44.d.dial.de.ignite.net (EHLO [62.134.125.44]) [62.134.125.44] by mail.gmx.net (mp011) with SMTP; 17 Mar 2005 16:26:36 +0100 X-Authenticated: #24293357 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <42394065@webmail.colostate.edu> X-Enigmail-Version: 0.89.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-Y-GMX-Trusted: 0 X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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: by amavisd-new at ntg.nl X-MailScanner-From: ntg-context-bounces@ntg.nl X-MailScanner-To: gctc-ntg-context-518@m.gmane.org Xref: news.gmane.org gmane.comp.tex.context:19102 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:19102 Hello Indris, ishamid wrote: >Dear gang, > >How do I automate initialization of the separate context tree (from >mswintex.zip)? A simple batch file such as > >======================================== >setuptex c:\context >texexec foo >======================================== > > > If you are using XP, you must use the "call" command in front of both lines. If you call a batch file from a batch file simply us call. So in your case call setuptex c:\context call texecex foo enter "help call" to get more information >does not work; the batch file always turns itself off before texexec can be >invoked. Can I make the initialization global so that all batch files (such as >those called by WinEDT) will work properly? I added c:\context to the path but >that is not enough. > >BTW: Can initialization be turned off as well? > > > You have to unset or restore(!) the environment variables (TEXMF,...). ...and the same for the set command: "help set" There are similar commands for the other Window versions (can't remember). Greetings, Peter