summaryrefslogtreecommitdiff
path: root/manual/preamble.tex
diff options
context:
space:
mode:
Diffstat (limited to 'manual/preamble.tex')
-rw-r--r--manual/preamble.tex18
1 files changed, 11 insertions, 7 deletions
diff --git a/manual/preamble.tex b/manual/preamble.tex
index 595b17e215..100fac1e48 100644
--- a/manual/preamble.tex
+++ b/manual/preamble.tex
@@ -110,13 +110,17 @@
110\newcommand{\screenshot}[3]{ 110\newcommand{\screenshot}[3]{
111 \begin{figure}[H] 111 \begin{figure}[H]
112 \begin{center} 112 \begin{center}
113 \IfFileExists{#1-\genericimg.png} 113 \IfFileExists{#1-\genericimg-\specimg.png}
114 {\includegraphics[width=4cm]{#1-\genericimg.png}} 114 {\includegraphics[width=4cm]{#1-\genericimg-\specimg.png}
115 {\IfFileExists{#1} 115 \typeout{Note: device specific image used}}
116 {\includegraphics[width=4cm]{#1} 116 {\IfFileExists{#1-\genericimg.png}
117 \typeout{Warning: deprecated plain image name used}}% 117 {\includegraphics[width=4cm]{#1-\genericimg.png}}
118 {\typeout{Missing image: #1 (\genericimg)}% 118 {\IfFileExists{#1}
119 \color{red}{\textbf{WARNING!} Image not found}% 119 {\includegraphics[width=4cm]{#1}
120 \typeout{Warning: deprecated plain image name used}}%
121 {\typeout{Missing image: #1 (\genericimg) (\specimg)}%
122 \color{red}{\textbf{WARNING!} Image not found}%
123 }
120 } 124 }
121 } 125 }
122 \if\blank{#3}\else{\label{#3}}\fi\if\blank{#2}\else{% 126 \if\blank{#3}\else{\label{#3}}\fi\if\blank{#2}\else{%