Wednesday, January 16, 2008

Creating an image from a TeX file

To create an image from a Latex file do the following :

$>latex --interaction=nonstopmode file.tex

$>dvips -E file.dvi -o file.ps

$>convert -density 200 file.ps file.png

Violaaaa;

Note that convert is a command line utility that comes with ImageMagick installation.

No comments: