# [TxMt] Re: latex bundle and OSX 10.11

René Schwaiger sanssecours at f-m.fm
Wed Mar 23 09:19:33 UTC 2016

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}
\begin{document}
\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