Thanks. Yes - that looks like a way to go. Unfortunately my scripting skills are insufficient to add the commands equivalent to 'pdflatex Masterfile'. Perhaps someone can help?
Geoff
On Aug 1, 2008, at 11:30 AM, Matt Foster wrote:
On Fri, Aug 1, 2008 at 10:49 AM, gkv1@mac.com wrote:
Hello,
I'm using TextMate a lot for Latex - it a great editor and bundle for that. I have one question:
How can I open a terminal, or go to a pre-existing terminal window, from TextMate, and then run a given shell script in the terminal, in particular a shell script that would typeset the master document?
The shell script bundle has an 'Open Terminal' command, bound to ⌃⇧O, by default. That will open up a terminal and cd to the correct directory. It looks like it would be fairly easy to modify it to run another command too.
I hope this helps,
Matt
-- Matt Foster | http://my-mili.eu/matt
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate