[TxMt] Re: Does TextMate recognize TeXShop command lines?

Mark Jackson mrcodewizard at gmail.com
Thu Apr 21 20:14:26 UTC 2011


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.

-------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: latex-bundle-editor.png
Type: image/png
Size: 144388 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20110421/81de55a4/attachment-0001.png>
-------------- next part --------------


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 case.


Hope that this gets you going in the right direction,
Mark

On Apr 21, 2011, at 7:31 AM, Martin Wilhelm Leidig wrote:

> Hi,
> 
> 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 input, e.g.,
> ---
> %!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:
> 
> -MWL-
> -- 
> Martin Wilhelm Leidig, Nadlerstr. 6, D-68526 Ladenburg, Germany
> Professional TeXing, TeXnical counselling, and TeX hacking
> Dante e.V. Member #1580
> 
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate



More information about the textmate mailing list