Skip to content

Ubuntu Configuration

poetic-algebra edited this page Mar 7, 2012 · 3 revisions

Configuring LatexIt to Run in Thunderbird on Ubuntu

This article outlines a procedure to successfully run LatexIt on Ubuntu, although these directions should also hold on other Linux distros.

Prerequisites

In order to rut LatexIt on Ubuntu, you will need two things:

  1. A TeX distribution. For the purposes of this tutorial, we assume that you have installed TeX Live. We also assume that you have installed TeX Live via a net install, and not from the Ubuntu repositories. This is crucial to finding the correct package directories.

  2. The Imagemagick package, available in the Ubuntu repositories. This is necessary in order to convert the .ps files to .png images, the latter of which will be embedded in your emails.

The Procedure

If you have both TeX Live and Imagemagick installed, simply install LatexIt. The autodetection tool should create the correct settings automatically. If it fails to do so, however, open the options window. The default paths to the crucial files are as follows:

  1. Path to latex executable: /usr/local/texlive/[your year, e.g. "2011"]/bin/[your architecture, e.g. "i386-linux"]/latex

  2. Path to dvips executable: /usr/local/texlive/[your year, e.g. "2011"]/bin/[your architecture, e.g. "i386-linux"]/dvips

  3. Path to convert executable: /usr/bin/convert

If you installed TeX Live from the repos, your latex executable and dvips executable directories should be something like /usr/bin/latex and /usr/bin/dvips, by default. In general, you will find these wherever you installed TeX Live. The convert executable directory should be the same; in general you will find this wherever you installed Imagemagick.

At this point, you should be all set. If not, see the general troubleshooting procedure here. Enjoy!

Clone this wiki locally