[texhax] Insert images .eps/.png
Heiko Oberdiek
heiko.oberdiek at googlemail.com
Fri Dec 16 22:04:09 CET 2011
On Fri, Dec 16, 2011 at 09:58:53PM +0100, Heiko Oberdiek wrote:
> With DVI output the right driver option cannot be guessed
> from within TeX, because the driver that reads DVI is called
> *after* the TeX run. There are many: dvips, dvipdfm(x), xdvi, ...
>
> Often the TeX distribution configures "dvips" as default
> in graphics.cfg. Thus the driver option can be omitted, if
> dvips is used.
Some packages are detecting detectable drivers (pdfTeX/LuaTeX, XeTeX, VTeX)
automatically (graphics/color usually by graphics.cfg/color.cfg of the
TeX distribution, hyperref, ...).
Thus in many cases it is sufficient to omit the driver option:
\usepackage{graphicx}
But the option might be needed for undetectable drivers, e.g.:
\usepackage[dvipdfm]{graphicx}
Yours sincerely
Heiko Oberdiek
More information about the texhax
mailing list