<div class="gmail_quote"><br>If you have a file that starts like<div><br></div><div> %!TEX TS-program = /usr/bin/env TEXINPUTS=./Macros:./Figures:: pdflatex</div><div><div><br></div><div>You get an error when you compile. The offending line in texMate.py is</div>
<div><br></div><div> stat = os.system('type '+engine+' > /dev/null')</div><div><br></div><div>which doesn't seem particularly useful anyway, but could easily be fixed (and I have in my copy!) by doing something like:</div>
<div><br></div><div> stat = os.system('type '+ engine.split()[0] +' > /dev/null')</div><div><br></div><div>A more meta question is whether this hack is a good idea, since it defeats the kpsewhich checks in files included in ./Macros. I use it mostly because the other place to put all this would be in a TM project, making it hard to collaborate with TeXShop users. Does anybody have a better idea?</div>
<div><br></div><div>^L</div><div><br>-- <br>Louis Theran<br>Research Assistant Professor<br>Math Department, Temple University<br><a href="http://math.temple.edu/~theran/" target="_blank">http://math.temple.edu/~theran/</a><br>
+1.215.204.3974<br>
</div></div>
</div><br>