summaryrefslogtreecommitdiffstats
path: root/manual/rockbox_interface/main.tex
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2021-12-08 14:01:39 +0100
committerSolomon Peachy <pizza@shaftnet.org>2021-12-09 21:02:10 -0500
commitf78a0e52306951f8e4031bf6db9fbfba83982fcf (patch)
tree8b2c996fc5316d6a182de1cab0ff1d35362b17cf /manual/rockbox_interface/main.tex
parent694f929a99ae4b2b58cd6b322a7d63d74ad717ec (diff)
downloadrockbox-f78a0e52306951f8e4031bf6db9fbfba83982fcf.tar.gz
rockbox-f78a0e52306951f8e4031bf6db9fbfba83982fcf.zip
Manual (HTML): fix image aspect ratio and size
Change-Id: If7c680badcb1a493e2a2059d84ea5b154382bad2
Diffstat (limited to 'manual/rockbox_interface/main.tex')
-rw-r--r--manual/rockbox_interface/main.tex8
1 files changed, 5 insertions, 3 deletions
diff --git a/manual/rockbox_interface/main.tex b/manual/rockbox_interface/main.tex
index 45da828143..ccc6e25ae6 100644
--- a/manual/rockbox_interface/main.tex
+++ b/manual/rockbox_interface/main.tex
@@ -15,8 +15,9 @@
% specify the extension.
\begin{center}
\IfFileExists{rockbox_interface/images/\specimg-front.png}
- {\includegraphics[height=8cm,width=10cm,keepaspectratio=true]%
- {rockbox_interface/images/\specimg-front}
+ {\Ifpdfoutput{\includegraphics[height=8cm,width=10cm,keepaspectratio=true]%
+ {rockbox_interface/images/\specimg-front}}
+ {\includegraphics{rockbox_interface/images/\specimg-front}}
}
{\color{red}{\textbf{WARNING!} Image not found}%
\typeout{Warning: missing front image}
@@ -26,7 +27,8 @@
% spacing between the two pictures, could possibly be improved
\begin{center}
\IfFileExists{rockbox_interface/images/\specimg-remote.png}
- {\includegraphics[height=5.6cm,width=10cm,keepaspectratio=true]{rockbox_interface/images/\specimg-remote}
+ {\Ifpdfoutput{\includegraphics[height=5.6cm,width=10cm,keepaspectratio=true]{rockbox_interface/images/\specimg-remote}}
+ {\includegraphics{rockbox_interface/images/\specimg-remote}}
}
{\color{red}{\textbf{WARNING!} Image not found}%
\typeout{Warning: missing remote image}