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 30开发者_StackOverflow中文版0 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?
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.
精彩评论