Re: [NTG-context] automating initialization

2005-03-17 Thread Hans Hagen
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

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 can associate batch files to a cmd window, (open action); in winedt you 
shoul dadd the lines to their bat files (or ask the author to provide an 
initialization option)

Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] automating initialization

2005-03-17 Thread Peter Rolf
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
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] automating initialization

2005-03-17 Thread ishamid
= Original Message From Hans Hagen [EMAIL PROTECTED] =
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
 

 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 can associate batch files to a cmd window, (open action);

can you give me an example?

in winedt you
shoul dadd the lines to their bat files (or ask the author to provide an
initialization option)

Well, the following seems to work for now:


call setuptex c:\context
texexec foo


I am pretty ignorant of DOS but call seems to solve the problem for now. Now 
my WinEDT batch files for pdfetex and aleph can work.

Best
Idris

Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] automating initialization

2005-03-17 Thread Hans Hagen
ishamid wrote:

call setuptex c:\context
texexec foo

if needed, say: texmfstart texexec foo
Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context