[TxMt] Re: Suddenly xelatex is not found anymore

Alex Ross tm-alex at rosiba.com
Tue Oct 7 08:21:57 UTC 2008


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.


More information about the textmate mailing list