1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238
|
From 5c286dea12595a68b59143c322fe1a4c36eb7c15 Mon Sep 17 00:00:00 2001
From: Helge Kreutzmann <kreutzm@itp.uni-hannover.de>
Date: Fri, 24 Apr 2009 00:15:37 +0200
Subject: [PATCH] Fix test includes
Switch all includes in the test/ directory to later have the
figures included in /usr/share .. as well.
---
test/background.tex | 2 +-
test/color.tex | 2 +-
test/demo.tex | 48 ++++++++++++++++++++++++------------------------
test/demo2.tex | 4 ++--
test/jpdemo.tex | 2 +-
test/macros.tex | 12 ++++++------
test/test_events.tex | 2 +-
test/trans.tex | 8 ++++----
8 files changed, 40 insertions(+), 40 deletions(-)
diff --git a/test/background.tex b/test/background.tex
index 4e590e3..13b34cc 100644
--- a/test/background.tex
+++ b/test/background.tex
@@ -983,7 +983,7 @@ The command to obtain this background is:
~\vfill
\begin{center}
-\includegraphics[width=0.5\textwidth]{../tex/advilogo.eps}\\
+\includegraphics[width=0.5\textwidth]{advilogo.eps}\\
{\Large \bf That's all, folks!!}
\end{center}
\vfill
diff --git a/test/color.tex b/test/color.tex
index e05412a..f194d96 100644
--- a/test/color.tex
+++ b/test/color.tex
@@ -1204,7 +1204,7 @@ Warning: last grey is grey100 (white).
~\vfill
\begin{center}
-\includegraphics[width=0.5\textwidth]{../tex/advilogo.eps}\\
+\includegraphics[width=0.5\textwidth]{advilogo.eps}\\
{\Large \bf That's all, folks!!}
\end{center}
\vfill
diff --git a/test/demo.tex b/test/demo.tex
index d2e09f7..19b7cc9 100644
--- a/test/demo.tex
+++ b/test/demo.tex
@@ -98,8 +98,8 @@ bounding box specification must be available in the file
\medskip
-\includegraphics[width=0.1\textwidth]{../tex/caml.eps}
-\includegraphics[width=0.2\textwidth,height=0.09\textwidth]{../tex/caml.eps}
+\includegraphics[width=0.1\textwidth]{caml.eps}
+\includegraphics[width=0.2\textwidth,height=0.09\textwidth]{caml.eps}
\framebox{\includegraphics[width=0.1\textwidth]{world}}
\end{quote}
@@ -742,32 +742,32 @@ A kind of {\ActiveDVI} movie
\advirecord{15}{\textcolor{c1}{changing text at each space}}\\
\advirecord{2}{\textcolor{c3}{you can also use pictures}}\\
\advirecord{31}{\
-{\includegraphics[width=0.02\textwidth]{../tex/caml.eps}}}\\
+{\includegraphics[width=0.02\textwidth]{caml.eps}}}\\
\advirecord{32}{\
-{\includegraphics[width=0.02\textwidth]{../tex/caml.eps}}\
-{\includegraphics[width=0.03\textwidth]{../tex/caml.eps}}}\\
+{\includegraphics[width=0.02\textwidth]{caml.eps}}\
+{\includegraphics[width=0.03\textwidth]{caml.eps}}}\\
\advirecord{33}{\
-{\includegraphics[width=0.02\textwidth]{../tex/caml.eps}}\
-{\includegraphics[width=0.03\textwidth]{../tex/caml.eps}}\
-{\includegraphics[width=0.04\textwidth]{../tex/caml.eps}}}\\
+{\includegraphics[width=0.02\textwidth]{caml.eps}}\
+{\includegraphics[width=0.03\textwidth]{caml.eps}}\
+{\includegraphics[width=0.04\textwidth]{caml.eps}}}\\
\advirecord{34}{\
-{\includegraphics[width=0.02\textwidth]{../tex/caml.eps}}\
-{\includegraphics[width=0.03\textwidth]{../tex/caml.eps}}\
-{\includegraphics[width=0.04\textwidth]{../tex/caml.eps}}\
-{\includegraphics[width=0.06\textwidth]{../tex/caml.eps}}}\\
+{\includegraphics[width=0.02\textwidth]{caml.eps}}\
+{\includegraphics[width=0.03\textwidth]{caml.eps}}\
+{\includegraphics[width=0.04\textwidth]{caml.eps}}\
+{\includegraphics[width=0.06\textwidth]{caml.eps}}}\\
\advirecord{35}{\
-{\includegraphics[width=0.02\textwidth]{../tex/caml.eps}}\
-{\includegraphics[width=0.03\textwidth]{../tex/caml.eps}}\
-{\includegraphics[width=0.04\textwidth]{../tex/caml.eps}}\
-{\includegraphics[width=0.06\textwidth]{../tex/caml.eps}}\
-{\includegraphics[width=0.08\textwidth]{../tex/caml.eps}}}\\
+{\includegraphics[width=0.02\textwidth]{caml.eps}}\
+{\includegraphics[width=0.03\textwidth]{caml.eps}}\
+{\includegraphics[width=0.04\textwidth]{caml.eps}}\
+{\includegraphics[width=0.06\textwidth]{caml.eps}}\
+{\includegraphics[width=0.08\textwidth]{caml.eps}}}\\
\advirecord{36}{\
-{\includegraphics[width=0.02\textwidth]{../tex/caml.eps}}\
-{\includegraphics[width=0.03\textwidth]{../tex/caml.eps}}\
-{\includegraphics[width=0.04\textwidth]{../tex/caml.eps}}\
-{\includegraphics[width=0.06\textwidth]{../tex/caml.eps}}\
-{\includegraphics[width=0.08\textwidth]{../tex/caml.eps}}\
-{\includegraphics[width=0.1\textwidth]{../tex/caml.eps}}}\\
+{\includegraphics[width=0.02\textwidth]{caml.eps}}\
+{\includegraphics[width=0.03\textwidth]{caml.eps}}\
+{\includegraphics[width=0.04\textwidth]{caml.eps}}\
+{\includegraphics[width=0.06\textwidth]{caml.eps}}\
+{\includegraphics[width=0.08\textwidth]{caml.eps}}\
+{\includegraphics[width=0.1\textwidth]{caml.eps}}}\\
\advirecord{37}{{\includegraphics[width=0.1\textwidth]{world}}}\\
\advirecord{4}{{\begin{tabular}{@{}l@{}}
Note that inner tabulars\\ should still be enclosed\\
@@ -824,7 +824,7 @@ See the \verb"gpic" command manual for more information about
~\vfill
\begin{center}
-\includegraphics[width=0.5\textwidth]{../tex/advilogo.eps}\\
+\includegraphics[width=0.5\textwidth]{advilogo.eps}\\
{\Large \bf That's all, folks!!}
\end{center}
\vfill
diff --git a/test/demo2.tex b/test/demo2.tex
index 4e5b8f3..4fe6687 100644
--- a/test/demo2.tex
+++ b/test/demo2.tex
@@ -123,8 +123,8 @@ Press any key to launch the demo:
\subsection*{EPS Bitmap inclusion}
\begin{center}
-\includegraphics[width=0.15\textwidth,height=0.15\textwidth]{../tex/caml.eps}
-\includegraphics[width=0.3\textwidth,height=0.15\textwidth]{../tex/caml.eps}
+\includegraphics[width=0.15\textwidth,height=0.15\textwidth]{caml.eps}
+\includegraphics[width=0.3\textwidth,height=0.15\textwidth]{caml.eps}
\end{center}
\subsection*{GPIC: Pictures for \TeX}
diff --git a/test/jpdemo.tex b/test/jpdemo.tex
index 6404ca2..877e417 100644
--- a/test/jpdemo.tex
+++ b/test/jpdemo.tex
@@ -90,7 +90,7 @@ p\TeX
~\vfill
\begin{center}
-\includegraphics[width=0.5\textwidth]{../tex/advilogo.eps}\\
+\includegraphics[width=0.5\textwidth]{advilogo.eps}\\
{\Large \bf ʩ! Ϫ!!}
\end{center}
\vfill
diff --git a/test/macros.tex b/test/macros.tex
index 5e959ef..b37d7a0 100644
--- a/test/macros.tex
+++ b/test/macros.tex
@@ -133,11 +133,11 @@ Easy, no ? Hit space to continue!\advipause
\verb"\begin{tabular}[t]{cccc}"
\verb" One & " {\color{blue}\verb"\advirecord{tag2}{Two}"} \verb" &" {\color{blue}\verb"\advirecord{tag3}{Three}"} \verb"%"
\verb" & Caml" {\color{blue}\verb"\advirecord{tag2}{s}"} \verb"\\"
-\verb" \includegraphics[width=0.1\textwidth]{../tex/caml.eps}&"
+\verb" \includegraphics[width=0.1\textwidth]{caml.eps}&"
\verb" " {\color{blue}\verb"\advirecord{tag2}"}
-\verb" " {\color{blue}\verb"{\includegraphics[width=0.1\textwidth]{../tex/caml.eps}}"} \verb"}&"
+\verb" " {\color{blue}\verb"{\includegraphics[width=0.1\textwidth]{caml.eps}}"} \verb"}&"
\verb" " {\color{blue}\verb"\advirecord{tag3}"}
-\verb" " {\color{blue}\verb"{\includegraphics[width=0.1\textwidth]{../tex/caml.eps}}"} \verb"}"
+\verb" " {\color{blue}\verb"{\includegraphics[width=0.1\textwidth]{caml.eps}}"} \verb"}"
\verb"\end{tabular}"
\color{blue}\verb"\advipause"
\verb"\adviplay{tag2}"
@@ -146,9 +146,9 @@ Easy, no ? Hit space to continue!\advipause
\end{alltt}
\begin{tabular}[t]{cccc}
One & \advirecord{tag2}{Two} & \advirecord{tag3}{Three} & Caml\advirecord{tag2}{s}\\
- \includegraphics[width=0.1\textwidth]{../tex/caml.eps}&
- \advirecord{tag2}{\includegraphics[width=0.1\textwidth]{../tex/caml.eps}}&
- \advirecord{tag3}{\includegraphics[width=0.1\textwidth]{../tex/caml.eps}}
+ \includegraphics[width=0.1\textwidth]{caml.eps}&
+ \advirecord{tag2}{\includegraphics[width=0.1\textwidth]{caml.eps}}&
+ \advirecord{tag3}{\includegraphics[width=0.1\textwidth]{caml.eps}}
\end{tabular}
\advipause
\adviplay{tag2}
diff --git a/test/test_events.tex b/test/test_events.tex
index c213268..50ebb42 100644
--- a/test/test_events.tex
+++ b/test/test_events.tex
@@ -42,7 +42,7 @@ the event queue, and hence {\ActiveDVI} will quit automatically.
~\vfill
\begin{center}
-\includegraphics[width=0.5\textwidth]{../tex/advilogo.eps}\\
+\includegraphics[width=0.5\textwidth]{advilogo.eps}\\
{\Large \bf That's all, folks!!}
\end{center}
\vfill
diff --git a/test/trans.tex b/test/trans.tex
index a5cce62..8fab951 100644
--- a/test/trans.tex
+++ b/test/trans.tex
@@ -118,7 +118,7 @@ New pages appears sliding into the screen.
\begin{flushright}
\epstransparent
-\includegraphics[width=0.25\textwidth]{../tex/advilogo.eps}
+\includegraphics[width=0.25\textwidth]{advilogo.eps}
\end{flushright}
\newpage\pstricksback{yellow}
@@ -145,7 +145,7 @@ New pages appears wiping out the old graphics.
\begin{flushleft}
\epstransparent
-\includegraphics[width=0.25\textwidth]{../tex/advilogo.eps}
+\includegraphics[width=0.25\textwidth]{advilogo.eps}
\end{flushleft}
\newpage\pstricksback{magenta}
@@ -171,7 +171,7 @@ New pages appears gradually into small pieces.
\begin{flushright}
\epstransparent
-\includegraphics[width=0.25\textwidth]{../tex/advilogo.eps}
+\includegraphics[width=0.25\textwidth]{advilogo.eps}
\end{flushright}
\lastpage
@@ -182,7 +182,7 @@ New pages appears gradually into small pieces.
~\vfill
\begin{center}
-\includegraphics[width=0.5\textwidth]{../tex/advilogo.eps}\\
+\includegraphics[width=0.5\textwidth]{advilogo.eps}\\
\adviwait[0.1]
\bigskip
{\Huge \bf That's all, folks!!}
--
1.6.2.1
|