[texworks] relative binary paths & local/global settings

Hans Hagen pragma at wxs.nl
Wed Jun 24 16:49:26 CEST 2009


Mojca Miklavec wrote:

>> As for putting TeXworks together with other binaries, we rejected that
>> option for TeX Live. Apart from cluttering the bin dir there is also a
>> risk of dll conflicts if TeXworks is on the path because Windows uses
>> the same path for searching executables and dlls. For that reason we
>> will use a .bat wrapper in bin/win32.
>>
>> This has an additional advantage that instead of using
>> texworks-setup.ini we can use environment variables TW_INIPATH &
>> TW_LIBPATH and specify the location of settings at run-time after
>> consulting kpsewhich. I don't know if that matters to you.
> 
> 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).

Mojca ... don't worry to much about a wrapper. It's way more easy to use 
mtxrun then as it knows where it lives and can set the right variables. 
I already have a mtx-texworks so we can explore that route.

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


More information about the texworks mailing list