hgbook
changeset 35:e68f4a96c16e
Fixed the \grafix macro to work for PDFs again.
author | Josef "Jeff" Sipek <jeffpc@josefsipek.net> |
---|---|
date | Sun Jul 16 23:29:29 2006 -0400 (2006-07-16) |
parents | c0979ed1eabd |
children | 5cee64874312 |
files | en/99defs.tex en/mq.tex |
line diff
1.1 --- a/en/99defs.tex Sun Jul 16 00:01:43 2006 -0700 1.2 +++ b/en/99defs.tex Sun Jul 16 23:29:29 2006 -0400 1.3 @@ -30,7 +30,7 @@ 1.4 \newcommand{\interaction}[1]{\VerbatimInput[frame=single,numbers=left,commandchars=\\\{\}]{examples/#1.out}} 1.5 1.6 \ifpdf 1.7 - \newcommand{\grafix}[1]{\includegraphics[scale=0.2]{#1_pdf.png}} 1.8 + \newcommand{\grafix}[1]{\includegraphics{#1}} 1.9 \else 1.10 \newcommand{\grafix}[1]{\includegraphics{#1.png}} 1.11 \fi
2.1 --- a/en/mq.tex Sun Jul 16 00:01:43 2006 -0700 2.2 +++ b/en/mq.tex Sun Jul 16 23:29:29 2006 -0400 2.3 @@ -336,7 +336,7 @@ 2.4 2.5 \begin{figure}[ht] 2.6 \centering 2.7 - \includegraphics{mq-stack} 2.8 + \grafix{mq-stack} 2.9 \caption{Applied and unapplied patches in the MQ patch stack} 2.10 \label{fig:mq:stack} 2.11 \end{figure}