[texhax] using jpg files

Heiko Oberdiek heiko.oberdiek at googlemail.com
Sun Jun 3 15:29:51 CEST 2012

On Sun, Jun 03, 2012 at 11:34:12AM +0200, Heiko Oberdiek wrote:

> On Thu, May 31, 2012 at 07:11:40AM -0700, Walt Burkhard wrote:
> > I am using TeX (not LaTeX) and need to include a few jpg files.   What
> > tools do we have for this?
> With the help of `miniltx' the LaTeX package `graphicx' can also
> be used in plain TeX:
> \input miniltx.tex
> \def\Gindriver{xetex.def}
> \input graphicx.sty

As someone noted, graphics loads graphics.cfg that can determine
the driver in many cases (pdfTeX, XeTeX). Thus in case of XeTeX
the following will work most probably:

\input miniltx.tex
\input graphicx.sty

Yours sincerely
  Heiko Oberdiek

More information about the texhax mailing list