# [pstricks] includegraphics page of pdf, pst-pdf, auto-pst-pdf

Alan Ristow ristow at ece.gatech.edu
Fri Mar 21 20:30:14 CET 2008

exelnet at exelnet.de wrote:
>
> Well, it didnt change everything afterall. I am still having trouble with
> images that get included in a file thats itself include by the tex \input
> command.
>
> Im using the following recommand to solve this problem in my case. Since im
> not using any ps-only fileformats.
>
> \let\includegfx\includegraphics
> \renewcommand\includegraphics[2][]{\ifpdf \includegfx[#1]{#2} \fi}

When I add this code to the example you provided yesterday I get no
error at all. Without a minimal example or at least an error message I
don't know what else to tell you.

Alan