Hi, I am a new Textmate user, and this is my first post. My initial interest in Textmate was in using it as a python editor, although as I learn more about it, I am interested in using it for LaTeX and Context. The LaTeX bundle is very nice, though the ConTeXt bundle doesn't seem to have a way to typeset the resulting file (at least as far as I can see.) I have configured TeXShop to use Textmate as an external editor---this works, but it is not as nice as working solely in Textmate.
Is anyone is working on a ConTeXt bundle similar in functionality to the LaTeX bundle?
Cheers,
-paul
On 3/17/07, Paul Nakroshis paulnakroshis@mac.com wrote:
The LaTeX bundle is very nice, though the ConTeXt bundle doesn't seem to have a way to typeset the resulting file (at least as far as I can see.) I have configured TeXShop to use Textmate as an external editor---this works, but it is not as nice as working solely in Textmate.
This is not quite an answer to your question, but when I'm using TextMate as an external editor for TeXShop I find the following script very useful. I've added it as a command to the LaTeX bundle, called "Typeset and view in TeXShop", and I've assigned it to apple-T (instead of the default typeset and view command).
It compiles the file in the background (i.e. without bringing TeXShop to the front), and then activates TeXShop when the compilation is complete. (If there's an error, you have to activate TeXShop yourself to see it: there doesn't seem to be any easy way to automatically detect that's happened. I suppose I could check whether the .log file has stayed the same for a couple of seconds...)
I like this way of working: TextMate is a wonderful editor, but I prefer TeXShop's console and PDF viewer.
Robin
FILENAME="$(basename "$TM_FILEPATH")" osascript <<END &>/dev/null & tell application "TeXShop" open_for_externaleditor at "$TM_FILEPATH" tell document "$FILENAME" latexinteractive repeat delay 1 if taskdone then exit repeat end if end repeat end tell activate end tell END
Hello Paul,
Context. The LaTeX bundle is very nice, though the ConTeXt bundle doesn't seem to have a way to typeset the resulting file (at least as far as I can see.)
Is there a ConTeXt bundle out there already? I once posted one on contextgarden.net, but this was long ago.
Is anyone is working on a ConTeXt bundle similar in functionality to the LaTeX bundle?
Yes. But the LaTeX bundle seems to be extremly powerful and I am nowhere close to there.
I'll give a talk on the ConTeXt bundle next weekend in Epen/Netherlands. Until then I will enchance it a lot and post it to the ConTeXt mailing list. (And here, if anyobdy is interested.)
Patrick
On Mar 19, 2007, at 7:39 PM, Patrick Gundlach wrote:
Hello Paul,
Context. The LaTeX bundle is very nice, though the ConTeXt bundle doesn't seem to have a way to typeset the resulting file (at least as far as I can see.)
Is there a ConTeXt bundle out there already? I once posted one on contextgarden.net, but this was long ago.
Is anyone is working on a ConTeXt bundle similar in functionality to the LaTeX bundle?
Yes. But the LaTeX bundle seems to be extremly powerful and I am nowhere close to there.
I'll give a talk on the ConTeXt bundle next weekend in Epen/Netherlands. Until then I will enchance it a lot and post it to the ConTeXt mailing list. (And here, if anyobdy is interested.)
I suppose that given that the syntax is very similar, we could try to add ConTeXt to the existing LaTeX bundle and try to make the commands work for ConTeXt as well. I'd be happy to help people out with this, but I don't know much ConTeXt. (On the other hand, I do know the workings of the LaTeX bundle pretty well ;) ). So perhaps we can figure out what needs to be done and then start doing it.
Do I understand correctly that ConTeXt is an extension of TeX, i.e. all TeX code is valid in general? In that case we can use the existing TeX syntax and include it, and just add the special features that ConTeXt has.
Really the only reason ConTeXt is not part of the LaTeX bundle at this point is (I think) simply the fact that the people who have worked on the LaTeX bundle haven't had much use for ConTeXt. But I see no reason not to make it work, if there are enough people interested in it and willing to make it work.
Patrick
Haris Skiadas Department of Mathematics and Computer Science Hanover College