usage: tex2image 'latex code' filename.type The following options are accepted, defaults in [ ]: -X x-resolution [144] -Y y-resolution [144] --color text color as LaTeX color name, grey percentage, "r,g,b", or "c,m,y,k" all numbers are less than 1. [black] --pagecolor page color defined as with --color. [white] --convert_args arguments for the "convert" program [-transparent white] -a | --ask ask before cleaning up temporary files If you specify options at the end of the command you may leave off the dashes for example: tex2image -X 300 -Y 300 '$ f_1(x) := 3x^2-2y $' f1.png tex2image '$ f_1(x) := 3x^2-2y $' f1.png X 300 Y 300 WARNING: If using the second style, then you must provide latex code or -. If the 'latex code' is missing or is a single dash '-' then the program will allow you to enter multi-line input (which may include the LaTeX headers if you need to use some LaTeX packages). After entering your code press return and then ^D (control - d). Example: [dean@styx]$ tex2image - big_picture.png \documentclass{article} \usepackage{pstricks} \pagestyle{empty} \begin{document} ... lots of (probably pasted) tricky code ... \end{document} ^D