mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 10:37:38 -04:00
manual: don't error out if front image is missing
This commit is contained in:
parent
820dcfdfed
commit
36489d9aa0
1 changed files with 4 additions and 1 deletions
|
@ -8,7 +8,10 @@
|
||||||
% but requires to use the exact value of \specimg in the filename!
|
% but requires to use the exact value of \specimg in the filename!
|
||||||
% The extension is selected in the preamble, so no further \ifpdfoutput
|
% The extension is selected in the preamble, so no further \ifpdfoutput
|
||||||
% is necessary.
|
% is necessary.
|
||||||
\includegraphics[height=8cm,width=10cm,keepaspectratio=true]{rockbox_interface/images/\specimg-front}
|
\IfFileExists{rockbox_interface/images/\specimg-front}
|
||||||
|
{\includegraphics[height=8cm,width=10cm,keepaspectratio=true]{rockbox_interface/images/\specimg-front}}%
|
||||||
|
{\typeout{Missing image: (\specimg)}%
|
||||||
|
\color{red}{\textbf{WARNING!} Image not found}}%
|
||||||
\opt{iaudiom3,iriverh100}{% replace with HAVEREMOTEKEYMAP when all images exist or change specimg
|
\opt{iaudiom3,iriverh100}{% replace with HAVEREMOTEKEYMAP when all images exist or change specimg
|
||||||
\end{center}
|
\end{center}
|
||||||
% spacing between the two pictures, could possibly be improved
|
% spacing between the two pictures, could possibly be improved
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue