[texworks] relative binary paths & local/global settings

Hans Hagen pragma at wxs.nl
Wed Jun 24 18:22:56 CEST 2009


T T wrote:
> 2009/6/24 Mojca Miklavec <mojca.miklavec.lists at gmail.com>:
>> We are trying to pack TW for ConTeXt distribution (it already works
>> nicely with some details that could be improved). So any good ideas
>> how to do it better than using the same path are welcome (bat wrapper
>> sounds nice as well, but I need to figure out how to configure path to
>> TeX binaries without having them explicitely in PATH - by specifying
>> just a relative position to TW).
>>
>> How exactly do you initialize TW? Does it respect TW_INIPATH variable
>> from texmf.cnf out of the box?
> 
> I'm going to derive all the necessary paths either relative to the
> batch location or from calls to kpsewhich. Then I will set up the
> environment (PATH, TW_INIPATH, TW_LIBPATH) and start TW. I expect that
> you would need to do something very similar for ConTeXt, so it's quite
> likely that we could use the same approach in both cases. I don't even
> mind writing such a batch for ConTeXt, it won't take long, and I need
> to do it for TL anyway.

the context distribution will have a startup script (called mtxworks.cmd)


-----------------------------------------------------------------
                                           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
-----------------------------------------------------------------


More information about the texworks mailing list