Hi, I've just seen a sample somewhere, containg this code in the beginning of the tex-document: % COMPILING: % pdflatex test % makeindex -s test.ist -t test.glg -o test.gls test.glo % pdflatex test % pdflatex test Is this the way to tell Textmate how to compile? And could I have a more generalized form, lets say one that fits every time? Thanks...