diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2006-04-01 19:16:12 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2006-04-01 19:16:12 +0000 |
commit | e5a2b692fe0c5130daec80702139465d8fc22556 (patch) | |
tree | b64384a853723dc105ee47f72eed49ba01a52a5d | |
parent | e698adcfc261df8f91b5953b5529d814465bcb32 (diff) |
Extention of \screenshot to drop a warning if image not found by me. This makes it possible to build the manual with missing image files. Use \screenshot on all remaining places. Add the \genericimg macro to some screenshots (part of FS #4981 by Mark Bright)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9409 a1c6a512-1295-4272-9138-f99709370657
-rwxr-xr-x | manual/configure_rockbox/general_settings.tex | 6 | ||||
-rwxr-xr-x | manual/configure_rockbox/sound_settings.tex | 4 | ||||
-rw-r--r-- | manual/preamble.tex | 6 | ||||
-rw-r--r-- | manual/rockbox_interface/main.tex | 6 |
4 files changed, 10 insertions, 12 deletions
diff --git a/manual/configure_rockbox/general_settings.tex b/manual/configure_rockbox/general_settings.tex index 2a95bd92d4..11323d061c 100755 --- a/manual/configure_rockbox/general_settings.tex +++ b/manual/configure_rockbox/general_settings.tex @@ -1,5 +1,3 @@ - \begin{center} - \includegraphics[width=4cm]{configure_rockbox/images/ss-general-settings-\genericimg.png} - \end{center} +\screenshot{configure_rockbox/images/ss-general-settings-\genericimg.png}{}{} -
\ No newline at end of file + diff --git a/manual/configure_rockbox/sound_settings.tex b/manual/configure_rockbox/sound_settings.tex index c9510a78ea..f69fc80aaa 100755 --- a/manual/configure_rockbox/sound_settings.tex +++ b/manual/configure_rockbox/sound_settings.tex @@ -1,6 +1,4 @@ -\begin{center} - \includegraphics[width=4cm]{configure_rockbox/images/ss-sound-settings-\genericimg.png} -\end{center} +\screenshot{configure_rockbox/images/ss-sound-settings-\genericimg.png}{}{} The Sound Settings menu offers a selection of sound properties you may change to customize your listening experience. diff --git a/manual/preamble.tex b/manual/preamble.tex index 138d9830ec..fb6fdc2a54 100644 --- a/manual/preamble.tex +++ b/manual/preamble.tex @@ -92,8 +92,10 @@ \newcommand{\screenshot}[3]{ \begin{figure}[!ht] \begin{center} - \includegraphics[width=4cm]{#1} - \if\blank{#3}\else{\label{#3}}\fi\if\blank{#2}\else{ + \IfFileExists{#1}{\includegraphics[width=4cm]{#1}}{% + \typeout{Missing image: #1}% + \color{red}{\textbf{WARNING!} Image not found}}% + \if\blank{#3}\else{\label{#3}}\fi\if\blank{#2}\else{% \caption{#2}}\fi \end{center} \end{figure} diff --git a/manual/rockbox_interface/main.tex b/manual/rockbox_interface/main.tex index 81c5447416..92040cdc00 100644 --- a/manual/rockbox_interface/main.tex +++ b/manual/rockbox_interface/main.tex @@ -137,7 +137,7 @@ following options: \end{description} \subsection{\label{ref:Playlistsubmenu}Playlist Submenu} -\screenshot{rockbox_interface/images/ss-playlist-menu-112x64x1.png}{The playlist menu}{} +\screenshot{rockbox_interface/images/ss-playlist-menu-\genericimg.png}{The playlist menu}{} If the playlist submenu is invoked on a directory, it will act on all the files within that directory. If invoked on a playlist it will act on all the files in that playlist. Otherwise it acts only on the current file. @@ -170,7 +170,7 @@ and then play is started.\\ \note{The dynamic playlist is saved so resume will restore it exactly as before shutdown.} \subsection{Virtual Keyboard} -\screenshot{rockbox_interface/images/ss-virtual-keyboard-112x64x1.png}{The virtual keyboard}{} +\screenshot{rockbox_interface/images/ss-virtual-keyboard-\genericimg.png}{The virtual keyboard}{} This is the virtual keyboard that is used when entering file names in Rockbox. \opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD,RECORDER_PAD,IPOD_4G_PAD}{ @@ -429,7 +429,7 @@ Notes: } \subsection{\label{ref:ID3viewer}ID3 Viewer} -\screenshot{rockbox_interface/images/ss-id3-viewer-112x64x1.png}{The ID3 viewer}{} +\screenshot{rockbox_interface/images/ss-id3-viewer-\genericimg.png}{The ID3 viewer}{} This screen is accessible from the WPS screen, and provides a detailed view of all the identity information about the current track. This info is known as meta data and is stored in audio file formats to keep information on artist, |