[texhax] EPS with graphicx and PDF output
Kaja P. Christiansen
kaja at daimi.au.dk
Thu Jun 12 14:42:49 CEST 2003
zsdc writes:
> I have a somehow related question. I used things like this in LaTeX:
>
> \usepackage{graphicx}
> % (...)
> \includegraphics[angle=15]{logo.eps}
>
> to include PostScript graphics in PostScript output of dvips with
> success and great results, but it doesn't work with pdflatex,
You have to convert your PostScript figure to a format which pdflatex
understands; have a look at the UK-TUG FAQ, in particular:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=pdftexgraphics
> Do I then have to use different source
> code for my documents which are going to be processed by pdflatex, than
> for those which are to be processed by latex and dvips?
If you simply remove file extension, e.g.:
\includegraphics[angle=15]{logo}
your system should be able to pick up PostScript file when running
LaTeX and PDF file when running pdfLaTeX.
> And by the way,
> is it possible to use graphicx in plain TeX, instead of LaTeX?
Try the following (under Unix):
more `kpsewhich graphicx.sty`
and you'll see:
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
So the answer to your question is no; graphicx package requires LaTeX.
Kaja
More information about the texhax
mailing list