automating initialization
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? Best Idris Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523
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 -----------------------------------------------------------------
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
participants (3)
-
Hans Hagen
-
ishamid
-
Peter Rolf