# [OzTeX] file `pdftex.def' not loaded

Ken Pierce kpierce at MIT.EDU
Thu Dec 23 18:16:42 CET 2004

```Greetings,

I tried adding these lines to my file, as suggested in the OzTeX faq:

\ifx\pdfoutput\undefined
% we are running LaTeX, not pdflatex
\usepackage{graphicx}
\else
% we are running pdflatex, so convert .eps files to .pdf
\usepackage[pdftex]{graphicx}
\usepackage{epstopdf}
\fi

At first, I got an error message saying epstopdf.sty wasn't found.
So I put a link to it where OzTeX can find it.  But now I get the
error message

Package epstopdf Warning: Graphics driver file `pdftex.def' not loaded.

even though OzTeX inputs include

TeX/Inputs/LaTeX/graphics/

So I tried copying pdftex.def to the same directory as the .tex file
-- error message is the same.