Category Archives: latex

Small fix for article class in plasTeX

I recently found a small error in plasTeX, the program I like to use to convert latex to html. Unfortunately, it looks like it is not being actively developed anymore, but since it is open-source, and it is written in python, which I know, I was able to figure out the issue in not too […]

Posted in latex, python | Comments Off on Small fix for article class in plasTeX

Em dash in LaTeX

My friend Daniel Reeves was recently discussing different ways to typeset em dashes. Here is the way I like to do it in LaTeX. GeSHi Error: GeSHi could not find the language tex (using path /home/robfelty/ (code 2) Here is the resulting output: Notice how using spaces around the — can result in a dash […]

Posted in latex | 1 Comment

Vim regex-fu for LaTeX

When writing a beamer presentation with LaTeX, I organize my presentation into sections and subsections. Frequently, the title of the first frame (slide) in a subsection has the same name as the subsection. Let’s say I start off with the following structure: GeSHi Error: GeSHi could not find the language tex (using path /home/robfelty/ (code […]

Posted in latex, linguistics | Tagged , , | 3 Comments

Blogging with LaTeX

The first question on reader’s mind must be — why use LaTeX to blog? Well, I have a pretty specific instance in mind, but I can imagine that others might be interested as well. This fall I am teaching a course on computational corpus linguistics at CU Boulder. I like to have some materials online […]

Posted in (x)html, latex, wiki/cms, wordpress | Tagged , , | 3 Comments

Converting LaTeX to Microsoft Word with plasTeX and Open Office

Sample of LaTeX document converted to Word First of all, any LaTeX user might ask — why would I want to convert beautiful LaTeX into ugly Microsoft Word? The main reason is collaborators who want to use track changes. I recently sent a draft of a paper to some colleagues it two formats – .pdf […]

Posted in (x)html, latex | Tagged , | 6 Comments