Commits

Josef Sipek  committed e68f4a9

Fixed the \grafix macro to work for PDFs again.

  • Participants
  • Parent commits c0979ed

Comments (0)

Files changed (2)

File en/99defs.tex

 \newcommand{\interaction}[1]{\VerbatimInput[frame=single,numbers=left,commandchars=\\\{\}]{examples/#1.out}}
 
 \ifpdf
-  \newcommand{\grafix}[1]{\includegraphics[scale=0.2]{#1_pdf.png}}
+  \newcommand{\grafix}[1]{\includegraphics{#1}}
 \else
   \newcommand{\grafix}[1]{\includegraphics{#1.png}}
 \fi
 
 \begin{figure}[ht]
   \centering
-  \includegraphics{mq-stack}
+  \grafix{mq-stack}
   \caption{Applied and unapplied patches in the MQ patch stack}
   \label{fig:mq:stack}
 \end{figure}