Hi,
as Alain already pointed out, TextMate's LaTeX bundle just invokes the programs (pdflatex, xelatex, …) provided by MacTeX. If typesetting of a file via command line works, then it should also work in TextMate without any additional setup.
Here is an example of the general steps to install a custom `.sty` file for the current user (Source: [StackExchange]). We assume here, that you want to install the [TrackChanges] package, which contains a single `.sty` file called `trackchanges.sty`:
—————————————————————————————————————————————————————————————————————
1. Create the folder `~/Library/texmf/tex/latex/trackchanges`. `~` is the name of your home directory. Note that the last folder has the same name as the package you want to install.
2. Move the file `trackchanges.sty` into the folder you just created.
3. If you want to test your setup, just paste the following text:
\documentclass{report} \usepackage[margins, adjustmargins]{trackchanges} \addeditor{ym} \begin{document} \add[ym]{Test} \end{document}
into a file called `test.tex` and translate it inside TextMate.
—————————————————————————————————————————————————————————————————————
Kind regards, René
[TrackChanges]: http://trackchanges.sourceforge.net [StackExchange]: http://tex.stackexchange.com/questions/1137