summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Arver <martin.arver@gmail.com>2006-03-30 15:54:47 +0000
committerMartin Arver <martin.arver@gmail.com>2006-03-30 15:54:47 +0000
commitcbc559980efaeb3120f555308fc73f291a814a08 (patch)
tree99cf6d0649adda2bb8f0679598e89c356ccfdc10
parent44b76bc4fa965d1a08c6b27154e8b6a6f1ceff67 (diff)
downloadrockbox-cbc559980efaeb3120f555308fc73f291a814a08.tar.gz
rockbox-cbc559980efaeb3120f555308fc73f291a814a08.zip
Patch #4958 from Dominik Riebeling (bluebrother). Adds a new \screenshot macro to be used when including screenshots. Look at the rockbox_interface/main.tex for examples on how to use it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9359 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--manual/preamble.tex31
-rw-r--r--manual/rockbox_interface/main.tex28
2 files changed, 39 insertions, 20 deletions
diff --git a/manual/preamble.tex b/manual/preamble.tex
index d76fe9f44c..40fd60118e 100644
--- a/manual/preamble.tex
+++ b/manual/preamble.tex
@@ -64,4 +64,35 @@
64 \bigskip 64 \bigskip
65 \noindent} 65 \noindent}
66 66
67% found on the internet, posting by Donald Arseneau
68% I may as well include my robust expandable definions, which can be
69% used in \edef or \write where the \def would not be executed:
70%
71% \if\blank --- checks if parameter is blank (Spaces count as blank)
72% \if\given --- checks if parameter is not blank: like \if\blank{#1}\else
73% \if\nil --- checks if parameter is null (spaces are NOT null)
74% use \if\given{ } ... \else ... \fi etc.
75%
76{\catcode`\!=8 % funny catcode so ! will be a delimiter
77\catcode`\Q=3 % funny catcode so Q will be a delimiter
78\long\gdef\given#1{88\fi\Ifbl@nk#1QQQ\empty!}
79\long\gdef\blank#1{88\fi\Ifbl@nk#1QQ..!}% if null or spaces
80\long\gdef\nil#1{\IfN@Ught#1* {#1}!}% if null
81\long\gdef\IfN@Ught#1 #2!{\blank{#2}}
82\long\gdef\Ifbl@nk#1#2Q#3!{\ifx#3}% same as above
83}
84
85% add screenshot image.
86% Usage: \screenshot{filename}{caption}{label}
87% Note: use this only for screenshots!
88% Note: leave caption empty to supress it.
89\newcommand{\screenshot}[3]{
90 \begin{figure}[!ht]
91 \begin{center}
92 \includegraphics[width=4cm]{#1}
93 \if\blank{#3}\else{\label{#3}}\fi\if\blank{#2}\else{
94 \caption{#2}}\fi
95 \end{center}
96 \end{figure}
97}
67 98
diff --git a/manual/rockbox_interface/main.tex b/manual/rockbox_interface/main.tex
index fc3e81e0ed..9eb7b05607 100644
--- a/manual/rockbox_interface/main.tex
+++ b/manual/rockbox_interface/main.tex
@@ -34,9 +34,7 @@ To turn on and shutdown your \dap, the following keys are used:
34} 34}
35 35
36\section{\label{ref:file_browser}File Browser} 36\section{\label{ref:file_browser}File Browser}
37\begin{center} 37\screenshot{rockbox_interface/images/ss-file-browser-\genericimg.png}{The file browser}{}
38 \includegraphics[width=4cm]{rockbox_interface/images/ss-file-browser-\genericimg.png}
39\end{center}
40The file browser helps you navigate through the files on your \dap, entering folders and executing the default action on each file. To help us differentiate files, each file format is displayed with an icon. You can select which file types are displayed (see page \pageref{ref:ShowFiles}). 38The file browser helps you navigate through the files on your \dap, entering folders and executing the default action on each file. To help us differentiate files, each file format is displayed with an icon. You can select which file types are displayed (see page \pageref{ref:ShowFiles}).
41 39
42\subsection{\label{ref:controls}Controls} 40\subsection{\label{ref:controls}Controls}
@@ -96,9 +94,7 @@ The file browser helps you navigate through the files on your \dap, entering fol
96} 94}
97 95
98\subsection{\label{ref:Filemenu}\label{ref:PartIISectionFM}File Menu} 96\subsection{\label{ref:Filemenu}\label{ref:PartIISectionFM}File Menu}
99\begin{center} 97 \screenshot{rockbox_interface/images/ss-file-menu-\genericimg.png}{The file menu}{}
100 \includegraphics[width=4cm]{rockbox_interface/images/ss-file-menu-\genericimg.png}
101\end{center}
102 98
103This menu operates on the file that was selected in the browser. It offers the following options: 99This menu operates on the file that was selected in the browser. It offers the following options:
104 100
@@ -116,9 +112,7 @@ This menu operates on the file that was selected in the browser. It offers the f
116 112
117\subsection{\label{ref:Playlistsubmenu}Playlist Submenu} 113\subsection{\label{ref:Playlistsubmenu}Playlist Submenu}
118If 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. 114If 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.
119\begin{center} 115 \screenshot{rockbox_interface/images/ss-playlist-menu-112x64x1.png}{The playlist menu}{}
120 \includegraphics[width=4cm]{rockbox_interface/images/ss-playlist-menu-112x64x1.png}
121\end{center}
122This menu provides the following options: 116This menu provides the following options:
123 117
124\begin{itemize} 118\begin{itemize}
@@ -134,9 +128,7 @@ You can insert a track, directory or playlist even if nothing is currently playi
134\textbf{Note}: The dynamic playlist is saved so resume will restore it exactly as before shutdown. 128\textbf{Note}: The dynamic playlist is saved so resume will restore it exactly as before shutdown.
135 129
136\subsection{Virtual Keyboard} 130\subsection{Virtual Keyboard}
137\begin{center} 131 \screenshot{rockbox_interface/images/ss-virtual-keyboard-112x64x1.png}{The virtual keyboard}{}
138 \includegraphics[width=4cm]{rockbox_interface/images/ss-virtual-keyboard-112x64x1.png}
139\end{center}
140This is the virtual keyboard that is used when entering file names in Rockbox. 132This is the virtual keyboard that is used when entering file names in Rockbox.
141 133
142\opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD,RECORDER_PAD,IPOD_4G_PAD}{ 134\opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD,RECORDER_PAD,IPOD_4G_PAD}{
@@ -368,18 +360,14 @@ Notes:
368} 360}
369 361
370\subsection{\label{ref:ID3viewer}ID3 Viewer} 362\subsection{\label{ref:ID3viewer}ID3 Viewer}
371\begin{center} 363 \screenshot{rockbox_interface/images/ss-id3-viewer-112x64x1.png}{The ID3 viewer}{}
372 \includegraphics[width=4cm]{rockbox_interface/images/ss-id3-viewer-112x64x1.png}
373\end{center}
374This 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, album etc. To access this screen, \opt{h1xx,h300}{hold \ButtonSelect\ to access the WPS context menu, and select the id3-viewer from there.}\opt{RECORDER_PAD}{press \ButtonFOne+\ButtonOn}\opt{PLAYER_PAD}{press \ButtonMenu+\ButtonOn.}\opt{IAUDIO_X5_PAD,IPOD_4G_PAD}{Please correct this information}\opt{ONDIO_PAD}{hold \ButtonMenu to access the WPS context menu, and select the id3-viewer from there.}\opt{RECORDER_PAD,PLAYER_PAD,ONDIO_PAD}{Use \ButtonLeft\ and \ButtonRight\ to move through the information.} 364This 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, album etc. To access this screen, \opt{h1xx,h300}{hold \ButtonSelect\ to access the WPS context menu, and select the id3-viewer from there.}\opt{RECORDER_PAD}{press \ButtonFOne+\ButtonOn}\opt{PLAYER_PAD}{press \ButtonMenu+\ButtonOn.}\opt{IAUDIO_X5_PAD,IPOD_4G_PAD}{Please correct this information}\opt{ONDIO_PAD}{hold \ButtonMenu to access the WPS context menu, and select the id3-viewer from there.}\opt{RECORDER_PAD,PLAYER_PAD,ONDIO_PAD}{Use \ButtonLeft\ and \ButtonRight\ to move through the information.}
375 365
376%********************QUICKSCREENS*********************************************** 366%********************QUICKSCREENS***********************************************
377\opt{RECORDER_PAD}{ 367\opt{RECORDER_PAD}{
378\section{\label{ref:QuickScreenMenus}Quick Screen Menus} 368\section{\label{ref:QuickScreenMenus}Quick Screen Menus}
379\begin{center} 369 \screenshot{rockbox_interface/images/ss-quick-screen-112x64x1.png}{The quick screen}{}
380 \includegraphics[width=4cm]{rockbox_interface/images/ss-quick-screen-112x64x1.png} 370 \screenshot{rockbox_interface/images/ss-quick-screen2-112x64x1.png}{The quick screen}{}
381 \includegraphics[width=4cm]{rockbox_interface/images/ss-quick-screen2-112x64x1.png}
382\end{center}
383Rockbox handles function buttons in a different way to the Archos software. \ButtonFOne\ is always bound to the menu function, while \ButtonFTwo\ and \ButtonFThree\ enable two quick menus. 371Rockbox handles function buttons in a different way to the Archos software. \ButtonFOne\ is always bound to the menu function, while \ButtonFTwo\ and \ButtonFThree\ enable two quick menus.
384 372
385\ButtonFTwo\ displays some browse and play settings which are likely to be changed frequently. This settings are Shuffle mode, Repeat mode and the Show files options 373\ButtonFTwo\ displays some browse and play settings which are likely to be changed frequently. This settings are Shuffle mode, Repeat mode and the Show files options
@@ -418,4 +406,4 @@ See page \pageref{ref:Displayoptions} for more information about these settings.
418 \ButtonDown & Controls upside down screen setting \\\bottomrule 406 \ButtonDown & Controls upside down screen setting \\\bottomrule
419 \end{tabular} 407 \end{tabular}
420\end{center} 408\end{center}
421} \ No newline at end of file 409}