%% $Id: pst-graphicx.tex 477 2011-03-13 19:54:00Z herbert $
%%
%% This is file `pst-graphicx.tex',
%%
%% Rolf Niepraschk  <Rolf.Niepraschk@gmx.de>
%% Herbert Voss     <hvoss@tug.org> 
%%
%% This program can be redistributed and/or modified under the terms
%% of the LaTeX Project Public License Distributed from CTAN archives
%% in directory macros/latex/base/lppl.txt.
%%
%% DESCRIPTION:
%%   `pst-graphicx' is a PSTricks package to allow using miniltx
%%   with PSTricks for TeX
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Plain TeX interface to graphicx package.
%
\def\fileversion{0.02}
\def\filedate{2011/03/13}
%
\ifx\PSTricksLoaded\endinput\else\input pstricks \fi\relax
\def\pst@XDVIPDFMX{xdvipdfmx}
\input miniltx
% More LaTeX-like code
\def\@onefilewithoptions#1[#2][#3]#4{%
  \expandafter\ifx\csname ver@#1.#4\endcsname\relax
    \input #1.#4 %
  \fi
}
\ifx\pstdriver\pst@XDVIPDFMX
  \def\Gin@driver{xetex.def}
\else
  \def\Gin@driver{dvips.def}
\fi
\@namedef{ver@keyval.sty}{1999/03/16 PSTricks keyval fake}% prevent loading of keyval
\input graphicx.sty

\resetatcatcode

\endinput