[texworks] New version 302/303

Alain Delmotte esperanto at swing.be
Fri Jun 5 08:42:18 CEST 2009


T T a écrit :
> On 04/06/2009, Jonathan Kew <jfkthame at googlemail.com> wrote:
>> As for adding the PATH, I don't think this should be necessary anyway,
>> as the current $PATH is supposed to be searched automatically in
>> addition to the explicitly-listed binary paths. (See
>> TeXDocument::typeset(). It first prepends the TeXworks binpaths to the
>> PATH in the environment, and then uses the new PATH to actually look
>> for the tools, as well as passing this modified PATH to the tool that
>> gets executed.)
> I looked through the code of TeXDocument::typeset() and indeed the
> PATH should be searched as you describe even without explicitly adding
> it. However, I just tested this (rev.295) and tools are found on PATH
> *only* if binpaths setting in prefrences dialog is not empty (it can
> be any junk, like temp dir). I have no idea why this happens, I don't
> see anything in the code that could cause this.
I made some trials (rev 302/303):
1) in texworks-setup.ini, I suppressed the spaces around the "=" signs: 
not working
2)  in Preferences I added a random folder (one which contains pictures 
in my case) and it works!!!!
This confirms Tomek's observation.


More information about the texworks mailing list