Previous
Next

Life’s good in LaTeX-land

March 8, 2007, 3:32 pm

First of all, I finally got LaTeX-iT to work again. For some reason (I think it was because I was in a faculty meeting and bored), I just opened the program to see what would happen. I noticed that LaTeX-iT has a “History” feature which stores recently-typeset equations.

Picture 2-6

And for some reason, I thought that maybe there was something wonky stuck in the History folder that was causing the recurring crashes. So I cleared the History, and it all works now. What I did in the first place, or even if that line of reasoning is correct, I have no idea. Don’t care. I’m just glad to have the program back because it’s better than typesetting in a LaTeX document and cutting/pasting.

Secondly, I’ve been demoing Textmate and have been remembering what it’s like to use a really nice text editor. I’m fine with using a “just OK” text editor like the one that comes with OS X, but what drew my interest in Textmate were some advanced features not shared by TextEdit that I have been needing for my cryptology topics class, where I often need to do some fancy manipulation of plaintexts and ciphertexts.

What I discovered in the demoing process is that Textmate is also a very serviceable and well-featured LaTeX environment. You can compile LaTeX source code from within Textmate and have display in PDF format just like with TeXShop, my standard LaTeX environment. But there are a lot of things Textmate does that TeXShop, for whatever reason, doesn’t do — most notably syntax highlighting:

Picture 3-3

I’m used to syntax highlighting from having used Kile back in my Linux days. I didn’t realize how much I missed it. There are also some pretty advanced scripting features that allow you to create templates for documents, and even a neat trick that allows you to type the name of an environment (like “enumerate”) and then perform a keystroke to have that turns that word into the environment itself (e.g. \begin{enumerate}…\end{enumerate}). And there are little things too — my favorite being that when you compile a LaTeX document and there’s an error, you get a hyperlink to the spot in the source code where the error occurred.

And since Textmate is a text editor and not just a LaTeX environment, you can do all sorts of coding and text manipulation for things like HTML, C++, and plain old text editing. You can also encrypt a text document on the fly with 128-bit AES by using a menu option. You can even blog with it — it has support for tagging and environments for WordPress and you can somehow post to your blog from within Textmate. Cool, but I’d rather edit posts in Textmate and do all the publishing stuff with ecto.

I’ve got 20-some days left on the demo, and I balk at spending $50 on a text editor, but in this case it may just be worth it. (Plus, I’m going to write it into a grant proposal I’m doing anyway.)

Technorati Tags: , , , ,

This entry was posted in Geekhood, LaTeX, Software, Technology. Bookmark the permalink.