[ << ] [ >> ]           [Top] [Contents] [Index] [ ? ]

3. Basic usage of dvipng

To use dvipng at its simplest, simply type

 
dvipng foo

where `foo.dvi' is the output of TeX that you want to convert to PNG format. If there are four pages in `foo.dvi', those pages will be output as `foo1.png', `foo2.png', `foo3.png', and `foo4.png', respectively.

If you have enabled the PostScript font support (via FreeType or T1lib), fonts will be rendered as they are needed. Otherwise, if you use fonts that have not been used on your system before, they may be automatically generated; this process can take a few minutes, so progress reports appear by default. The next time the same font is used, it will have been saved on disk, so rendering will go much faster. (If dvipng tries to endlessly generate the same fonts over and over again, something is wrong. See (kpathsea)Unable to generate fonts section `Unable to generate fonts' in Kpathsea.)

Many options are available (see the next section). For a brief summary of available options, just type

 
dvipng --help

[ << ] [ >> ]           [Top] [Contents] [Index] [ ? ]

This document was generated on November, 11 2006 using texi2html 1.76.