Is there a way of modifying the Typeset & view command in the LaTeX bundle so that it will run make before typesetting the .tex file?
I have a Makefile that is used to run a script that generates a .tex file that includes information from the current Git repository. (I'm using the vc package, hence the need for the Makefile.)
Thanks,
APC
On 3 Aug 2010, at 20:03, perezcarballo wrote:
Is there a way of modifying the Typeset & view command in the LaTeX bundle so that it will run make before typesetting the .tex file?
Sure, you can edit the code that does the Typeset & View to do other stuff ;)
But there is no *simple* way (e.g. setting an environment variable), if that is what you are asking.
It’s probably not *that* difficult to add a call to ‘make’, but I haven’t looked into it.
But there is no *simple* way (e.g. setting an environment variable), if that is what you are asking.
Thanks! Yes, that's what I was asking. I needed this to run the scripts from the http://www.ctan.org/tex-archive/support/vc/ vc bundle before compiling. But in the end it was best to just slightly edit the "Commit..." command from the Git bundle to have it run those scripts after each commit.
Thanks again,
APC
_______________________________________________ textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate