The first way you can call the program you want; is to create a Macro.I don't do
Applescript, but this should not be too difficult. You won't need the #!. I don't
believe there is a way to record what you want to do. I could be wrong.
Second, you can edit the run commands.
You can find this in the Bundle Editor. I believe the highlighted command is interactive.
It can be edited, and make ⌘ + R run the LaTex typesetter you want you want. (check this,
as I don't do LaTex, and it could be a bit off). You might also need to create a Run
Command similar to the Run BibTex command for your specific Tex engine.
NOTE: If you choose to modify a command, I STRONGLY suggest copying it (hit the double
plus) and then editing the copy, so you don't lose the original command, until you are
sure you want to get rid of it. I also save the original to a backup directory, just in
Hope that this gets you going in the right direction,
On Apr 21, 2011, at 7:31 AM, Martin Wilhelm Leidig wrote:
I'm using also TeXShop (TS) which AlphaX run directly to do the TeX thing; so, one
could determine TS’s actions by including a shebang-like line in the first line of the
%!TEX TS-program = pdflatexmk
This would cause TS to use latexmk and pdflatex to typeset the document.
So, at last, the question: is there a way to get TM to use this (maybe by running TS
instead of the TeX binaries directly) or is there something similar in TM?
… with regards from Ladenburg:
Martin Wilhelm Leidig, Nadlerstr. 6, D-68526 Ladenburg, Germany
Professional TeXing, TeXnical counselling, and TeX hacking
Dante e.V. Member #1580
textmate mailing list