jena
jena

Reputation: 8506

Converting Tex to image

I'm trying to convert Tex stuff (tabulars and the like) to images (e.g. PNGs) using the following commands:

texi2dvi foobar.tex
dvips -E foobar.dvi
convert -density 300 foobar.ps foobar.png

This gives me a PS file which is then converted to PNG. The important thing is that the size of the resulting image should be just big enough for the tabular, and not as big as an entire page. This works so far, but the image quality is not really convincing.

Does anybody know of an alternative solution?

Upvotes: 2

Views: 1287

Answers (1)

Andrew Stacey
Andrew Stacey

Reputation: 1014

There's an answer to this on the TeX-SX sister site at https://tex.stackexchange.com/q/11866/86. I recommend looking at that question, its answers, and the related links.

Upvotes: 3

Related Questions