Worked Problems in Physics

LaTeX wordpress problems solved

Posted in Nielsen/Chuang by rpmuller on March 5, 2010

Since my earlier post about problems with LaTeX appears to be getting a lot of hits, I thought I would follow up with my solution, so that at least there wouldn’t be misinformation out there about LaTeX. I made a few minor modifications to my workflow, and now both the latex/wordpress plugin and the latex2wp program are working without any problems. Here’s what I had to do.

  • No fancy classes of LaTeX: I’m a huge fan of the tufte-latex class, since it makes everything look so dang pretty. Haven’t tried revtex, my second favorite, but I assume that’s out as well.
  • No macros. This was a huge sacrifice, since I normally define special macros for everything in quantum, especially bras and kets. However, I found that the extra typing of “\left|i\right>” wasn’t that awful when I got down to it.
  • No eqnarray environments. I’ve learned to use normal equations plus the array environment, which doesn’t work quite as well.

What I typically do is write the post in LaTeX, convert it with latex2wp, open the html in emacs, and post do the blog in the HTML mode of the wordpress window. If I stick to the above rules, everything seems to be working well.

About these ads

One Response

Subscribe to comments with RSS.

  1. [...] Edit: See the follow-up article. [...]


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: