Flo,<br><br>You may just want to use latexmk as your latex compiler in textmate. It is smart enough to run bibtex and makeindex and latex as many times as necessary to get your document into shape.<br><br>If you are using the standard off the shelf TextMate you will want to set the environment variable TM_LATEX_COMPILER=latexmk
<br><br>If you are using the new branch in the subversion repository then you can just go to the preferences panel and check the latexmk.pl box.<br><br>Brad<br><br><div><span class="gmail_quote">On 8/1/07, <b class="gmail_sendername">
Flo</b> <<a href="mailto:monkey2q@gmail.com">monkey2q@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
I've just seen a sample somewhere, containg this code in the<br>beginning of the tex-document:<br><br>% COMPILING:<br>% pdflatex test<br>% makeindex -s test.ist -t test.glg -o test.gls test.glo<br>% pdflatex test<br>% pdflatex test
<br><br>Is this the way to tell Textmate how to compile?<br>And could I have a more generalized form, lets say one that fits<br>every time?<br><br>Thanks...<br><br>______________________________________________________________________
<br>For new threads USE THIS: <a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>(threading gets destroyed and the universe will collapse if you don't)<br><a href="http://lists.macromates.com/mailman/listinfo/textmate">
http://lists.macromates.com/mailman/listinfo/textmate</a><br></blockquote></div><br><br clear="all"><br>-- <br>Brad Miller<br>Assistant Professor, Computer Science<br>Luther College