diff options
-rw-r--r-- | manual/rockbox_interface/main.tex | 32 |
1 files changed, 23 insertions, 9 deletions
diff --git a/manual/rockbox_interface/main.tex b/manual/rockbox_interface/main.tex index 368bf6a669..716cb824aa 100644 --- a/manual/rockbox_interface/main.tex +++ b/manual/rockbox_interface/main.tex | |||
@@ -3,22 +3,36 @@ | |||
3 | \section{Basic Overview} | 3 | \section{Basic Overview} |
4 | \subsection{The \daps{} controls} | 4 | \subsection{The \daps{} controls} |
5 | 5 | ||
6 | \begin{center} | ||
7 | % include the front image. Using \specimg makes this fairly easy, | 6 | % include the front image. Using \specimg makes this fairly easy, |
8 | % but requires to use the exact value of \specimg in the filename! | 7 | % but requires to use the exact value of \specimg in the filename! |
9 | % The extension is selected in the preamble, so no further \ifpdfoutput | 8 | % The extension is selected in the preamble, so no further \ifpdfoutput |
10 | % is necessary. | 9 | % is necessary. |
11 | \IfFileExists{rockbox_interface/images/\specimg-front} | 10 | % |
12 | {\includegraphics[height=8cm,width=10cm,keepaspectratio=true]{rockbox_interface/images/\specimg-front}}% | 11 | % The check looks for a png file -- we use png for the HTML manual, so that |
13 | {\typeout{Missing image: (\specimg)}% | 12 | % format needs to be present. It can also be used for the pdf manual, but |
14 | \color{red}{\textbf{WARNING!} Image not found}}% | 13 | % usually we provide a pdf version of the file for that. Picking the correct |
15 | \opt{iaudiom3,iriverh100}{% replace with HAVEREMOTEKEYMAP when all images exist or change specimg | 14 | % one is done by LaTeX automatically, but for checking the filename we need to |
16 | \end{center} | 15 | % specify the extension. |
16 | \begin{center} | ||
17 | \IfFileExists{rockbox_interface/images/\specimg-front.png} | ||
18 | {\includegraphics[height=8cm,width=10cm,keepaspectratio=true]% | ||
19 | {rockbox_interface/images/\specimg-front} | ||
20 | } | ||
21 | {\color{red}{\textbf{WARNING!} Image not found}% | ||
22 | \typeout{Warning: missing front image} | ||
23 | } | ||
24 | \end{center} | ||
25 | \opt{remote}{ | ||
17 | % spacing between the two pictures, could possibly be improved | 26 | % spacing between the two pictures, could possibly be improved |
18 | \begin{center} | 27 | \begin{center} |
19 | \includegraphics[height=5.6cm,width=10cm,keepaspectratio=true]{rockbox_interface/images/\specimg-remote} | 28 | \IfFileExists{rockbox_interface/images/\specimg-remote.png} |
29 | {\includegraphics[height=5.6cm,width=10cm,keepaspectratio=true]{rockbox_interface/images/\specimg-remote} | ||
30 | } | ||
31 | {\color{red}{\textbf{WARNING!} Image not found}% | ||
32 | \typeout{Warning: missing remote image} | ||
33 | } | ||
34 | \end{center} | ||
20 | } | 35 | } |
21 | \end{center} | ||
22 | 36 | ||
23 | Throughout this manual, the buttons on the \dap{} are labelled according to the | 37 | Throughout this manual, the buttons on the \dap{} are labelled according to the |
24 | picture above. | 38 | picture above. |