[texworks] LaTeXmk issue with Mac OS X Yosemite (new OS)
herbs at wideopenwest.com
Sun Oct 19 17:02:42 CEST 2014
> On Oct 19, 2014, at 9:53 AM, Guillaume Cabanac <guillaume.cabanac at univ-tlse3.fr> wrote:
>> Sigh... there is definitely something wrong with TeXworks under Yosemite! I have had no problem with TeXShop using it's latexmk engines.
> I wanted to check that the environment of the process launched by TeXworks is OK. So I added a Processing tool called env that launches the env command. Here is the result
> The PATH does not reflect what I find in the "Paths for TeX and related programs" area under the "Typesetting" tab in the settings of TexWorks. The path "/usr/texbin" shows up in the GUI but it seems not to be passed to the process.
> I had a look into the TWSystemCmd.cpp class in the TeXworks repository:
> As I am not knowledgeable about Qt, I wondered how the process knows about the environment to set up?
> "Certain processes need special environment settings in order to operate. You can set environment variables for your process by calling setEnvironment(). To set a working directory, call setWorkingDirectory(). By default, processes are run in the current working directory of the calling process." -- http://qt-project.org/doc/qt-5/qprocess.html
> Could it be that one needs to specify the environment of the process in the code? (http://qt-project.org/doc/qt-5/qprocess.html#setProcessEnvironment)
> If yes, why did LaTeXmk in TeXworks worked fine until this Yosemite OS came out? How could Qt be affected by this update?
It's a bug in Yosemite that was reported to Apple but not fixed in the release. One hopes it will get fixed in an OS update but you never know.
(herbs at wideopenwest dot com)
More information about the texworks