summaryrefslogtreecommitdiff
path: root/support/pdfrack/pdfrack.sty
blob: 971d0dad4369f8d8b107a0833c9427cc6222320e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
\ProvidesPackage{pdfrack}[2007/10/15 A hack for using psfrag and pdflatex]
\RequirePackage{psfrag}
\RequirePackage{ifpdf}
\RequirePackage{graphicx}

\ifpdf
  \newcommand{\pdfrackincludegraphics}[2][]{\includegraphics[]{#2}}
\else
  \newcommand{\pdfrackincludegraphics}[2][]{\includegraphics[#1]{#2}}
\fi

% Just a command that hide its arguments
% It is used to ``hide'' some unexpected \pdfrackincludegraphics
\newcommand{\pdfracknullcommand}[2][]{}