(dvipng.info)Basic usage


Next: Command-line options Prev: Installation Up: Top
Enter node , (file) or (file)node

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), fonts
will be rendered as they are needed.  Otherwise, dvipng will use
bitmapped (PK) fonts, and if you use PK 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.  Note:
(kpathsea)Unable to generate fonts.)

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

     dvipng --help


automatically generated by info2www version 1.2.2.9