changeset 35:e68f4a96c16e

Fixed the \grafix macro to work for PDFs again.
author Josef "Jeff" Sipek <jeffpc@josefsipek.net>
date Sun, 16 Jul 2006 23:29:29 -0400
parents c0979ed1eabd
children 5cee64874312
files en/99defs.tex en/mq.tex
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/en/99defs.tex	Sun Jul 16 00:01:43 2006 -0700
+++ b/en/99defs.tex	Sun Jul 16 23:29:29 2006 -0400
@@ -30,7 +30,7 @@
 \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
--- a/en/mq.tex	Sun Jul 16 00:01:43 2006 -0700
+++ b/en/mq.tex	Sun Jul 16 23:29:29 2006 -0400
@@ -336,7 +336,7 @@
 
 \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}