[TxMt] Re: Suddenly xelatex is not found anymore
Alex Ross
tm-alex at rosiba.com
Tue Oct 7 21:34:22 UTC 2008
On Oct 7, 2008, at 9:39 PM, Niels Kobschaetzki wrote:
> On Tue, Oct 7, 2008 at 10:21 AM, Alex Ross <tm-alex at rosiba.com> wrote:
>> On Oct 5, 2008, at 12:14 PM, Niels Kobschaetzki wrote:
>>
>>> Hi!
>>>
>>> I've installed MacTex 2008 some days ago and switched finally from
>>> pdftex to xelatex. On friday I still compiled files successfully,
>>> today I get only a
>>>
>>> Error: xelatex is not found, you need to install LaTeX or be sure
>>> that
>>> your PATH is setup properly.
>>>
>>> sh: line 0: type: xelatex: not found
>>>
>>> When I run from TextMate "which xelatex" it gives me: /usr/texbin/
>>> xelatex
>>> In Terminal the same, command completion in Terminal works fine as
>>> well. Compiling the file in Terminal works as well.
>>>
>>> I'm working with TM 1.5.7 (1464) and a recent SVN-checkout.
>>>
>>> Does anyone have an idea what the problem could be and how to fix
>>> it?
>>
>> TextMate commands are moving away from sourcing the file
>> "bash_init.sh" which also sources .profile, thus your path variable
>> is not initialized in the same way the shell. From terminal you can
>> `echo $PATH` and copy the result to the environment variables section
>> of TextMate's preferences.
>
> Where is this mentioned preference in the preferences?
> I can only find the "Shell Variables" -- if this is what you mean,
> what variable is it?
> TM_BASH_something? And the value is the path? Or is it somewhere else?
Yes, in the shell variables tab you have to add the PATH variable.
More information about the textmate
mailing list