Changes to the tables for some of the plugins. Some are adapted to the \opt environment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8972 a1c6a512-1295-4272-9138-f99709370657
diff --git a/manual/platform/h1xx.tex b/manual/platform/h1xx.tex
index 1da145a..10c48ba 100644
--- a/manual/platform/h1xx.tex
+++ b/manual/platform/h1xx.tex
@@ -3,4 +3,4 @@
\newcommand{\playerman}{iRiver}
\newcommand{\playertype}{H1xx}
\newcommand{\playerlongtype}{iHP100, iHP115, iHP120, iHP140, H120 and H140}
-\newcommand{\genericimg}{160x128x2}
\ No newline at end of file
+\newcommand{\genericimg}{160x128x2}
diff --git a/manual/plugins/bounce.tex b/manual/plugins/bounce.tex
index 4b5758c..a763677 100644
--- a/manual/plugins/bounce.tex
+++ b/manual/plugins/bounce.tex
@@ -14,14 +14,13 @@
\begin{table}[h!]
\begin{center}
-\begin{tabular}{|c|c|}
-\hline
-KEY & ACTION \\\hline
-F1/F2/F3 & Enters Bounce configuration options \\\hline
-UP/DOWN & Moves to next/previous option \\\hline
-LEFT/RIGHT & Increases/decreases option value \\\hline
-ON & Changes to Scroll mode \\\hline
-OFF & Exits bounce demo\\\hline
+\begin{tabular}{@{}ll@{}}\toprule
+\textbf{Key} & \textbf{Action} \\\midrule
+F1/F2/F3 & Enters Bounce configuration options \\
+UP/DOWN & Moves to next/previous option \\
+LEFT/RIGHT & Increases/decreases option value \\
+ON & Changes to Scroll mode \\
+OFF & Exits bounce demo\\\bottomrule
\end{tabular}
\end{center}
\end{table}
diff --git a/manual/plugins/chess_clock.tex b/manual/plugins/chess_clock.tex
index d7b4cff..5429b85 100644
--- a/manual/plugins/chess_clock.tex
+++ b/manual/plugins/chess_clock.tex
@@ -1,7 +1,7 @@
\subsection{Chess Clock}
\begin{figure}[h!]
\begin{center}
-\includegraphics{plugins/images/ss-chess_clock-\genericimg.png}
+\includegraphics[width=4cm]{plugins/images/ss-chess_clock-\genericimg.png}
\end{center}
\caption{Chess Clock}
\end{figure}
@@ -32,15 +32,14 @@
\begin{table}[h!]
\begin{center}
-\begin{tabular}{|c|c|c|c|}
-\hline
-PLAYER & RECORDER & ONDIO & FUNCTION \\\hline
-ON & OFF & ONOFF & Exit plugin \\\hline
-STOP & LEFT & LEFT & Restart round for the player \\\hline
-PLAY & PLAY & RIGHT & Pausing the time (press again to continue) \\\hline
-RIGHT & UP & UP & Switch to next player \\\hline
-LEFT & DOWN & DOWN & Switch to previous player \\\hline
-MENU & F1 & MODE & Enter a simple menu \\\hline
+\begin{tabular}{@{}ll@{}}\toprule
+\textbf{Key} & \textbf{Action}\\\midrule
+\opt{player}{On}\opt{recorder,recorderv2fm}{Off}\opt{ondio}{OnOff}\opt{h1xx,h300,ipodcolor,ipodnano}{Select} & Exit plugin \\
+\opt{player}{Stop}\opt{recorder,recorderv2fm,Ondio}{Left}\opt{h1xx,h300,ipodcolor,ipodnano}{Stop} & Restart round for the player \\
+\opt{player,h1xx,h300,ipodcolor,ipodnano,recorder,recorderv2fm}{Play}\opt{Ondio}{Right} & Pausing the time (press again to continue) \\
+\opt{player,h1xx,h300,ipodcolor,ipodnano}{Right}\opt{ondio,recorder,recorderv2fm}{Up} & Switch to next player \\
+\opt{player,h1xx,h300,ipodcolor,ipodnano}{Left}\opt{ondio,recorder,recorderv2fm}{Down} & Switch to previous player \\
+\opt{player}{Menu}\opt{recorder,recorderv2fm}{F1}\opt{ondio}{Mode}\opt{h1xx,h300,ipodcolor,ipodnano}{Rec} & Exit plugin \\\bottomrule
\end{tabular}
\end{center}
\end{table}
@@ -51,4 +50,3 @@
When the total time is up for a player the message ``TIME UP!''is shown. Then player will then be removed from the timer.
-
diff --git a/manual/plugins/flipit.tex b/manual/plugins/flipit.tex
index b72b4f4..8e2491d 100644
--- a/manual/plugins/flipit.tex
+++ b/manual/plugins/flipit.tex
@@ -11,14 +11,15 @@
a screen containing tokens of only one colour.
\begin{table}[h!]
-\begin{tabular}{|c|c|c|}
-\hline
-Recorder & Ondio & ACTION \\\hline
-UP/DOWN/LEFT/RIGHT & UP/DOWN/LEFT/RIGHT & Changes the cursor \\\hline
-PLAY & Mode & Toggle \\\hline
-F1 & Mode +Left & Shuffle \\\hline
-F2 & Mode + Right & Solution \\\hline
-F3 & Mode + On/off & Step by step \\\hline
-OFF & On/off & Stop the game \\\hline
+\begin{center}
+\begin{tabular}{@{}ll@{}}\toprule
+\textbf{Key} & \textbf{Action} \\\midrule
+\opt{recorder,recorderv2fm,ondio,h1xx,h300,ipodcolor,ipodnano}{Up/Down/Left/Right} & Changes the cursor \\
+\opt{recorder,recorderv2fm}{PLAY}\opt{ondio}{Mode}\opt{h1xx,h300}{Select}\opt{ipodcolor,ipodnano}{Unknown} & Toggle \\
+\opt{recorder,recorderv2fm}{F1}\opt{ondio}{Mode +Left}\opt{h1xx,h300}{Mode}\opt{ipodcolor,ipodnano}{Unknown} & Shuffle \\
+\opt{recorder,recorderv2fm}{F2}\opt{ondio}{Mode + Right}\opt{h1xx,h300}{Play}\opt{ipodcolor,ipodnano}{Unknown} & Solution \\
+\opt{recorder,recorderv2fm}{F3}\opt{ondio}{Mode + On/off}\opt{h1xx,h300}{Rec}\opt{ipodcolor,ipodnano}{Unknown} & Step by step \\
+\opt{recorder,recorderv2fm}{OFF}\opt{ondio}{On/off}\opt{h1xx,h300}{Stop}\opt{ipodcolor,ipodnano}{Unknown} & Stop the game \\\bottomrule
\end{tabular}
+\end{center}
\end{table}
diff --git a/manual/plugins/main.tex b/manual/plugins/main.tex
index df59c56..6eb57c0 100644
--- a/manual/plugins/main.tex
+++ b/manual/plugins/main.tex
@@ -1,5 +1,4 @@
\chapter{Plugins}
-\newpage
Plugins are little programs that Rockbox can load and run. Plugins have
the file extension .rock. Most of them can be started from the main
menu if you put them in the \textbf{/.rockbox/rocks} directory. Press
diff --git a/manual/plugins/mandelbrot.tex b/manual/plugins/mandelbrot.tex
index b96d1d4..ae1acfb 100644
--- a/manual/plugins/mandelbrot.tex
+++ b/manual/plugins/mandelbrot.tex
@@ -10,15 +10,14 @@
\begin{table}[h!]
\begin{center}
-\begin{tabular}{|c|c|}
-\hline
-KEY & ACTION \\\hline
-Arrow keys & Move about the image \\\hline
-PLAY & Zoom in \\\hline
-OFF & Quit \\\hline
-F1 & Increase iteration depth (more detail) \\\hline
-F2 & Decrease iteration depth (less detail) \\\hline
-F3 & Reset and return to the default image \\\hline
+\begin{tabular}{@{}ll@{}}\toprule
+\textbf{Key} & \textbf{Action} \\\midrule
+Arrow keys & Move about the image \\
+PLAY & Zoom in \\
+OFF & Quit \\
+F1 & Increase iteration depth (more detail) \\
+F2 & Decrease iteration depth (less detail) \\
+F3 & Reset and return to the default image \\\bottomrule
\end{tabular}
\end{center}
\end{table}
diff --git a/manual/plugins/metronome.tex b/manual/plugins/metronome.tex
index 977d5ac..2423977 100644
--- a/manual/plugins/metronome.tex
+++ b/manual/plugins/metronome.tex
@@ -4,17 +4,14 @@
on the appropriate button.
\begin{table}[h!]
-\begin{tabular}{|c|c|c|c|}
-\hline
-PLAYER & RECORDER & ONDIO & FUNCTION \\\hline
-STOP & OFF & ONOFF & Exit plugin \\\hline
-PLAY & PLAY & ~ & Start / Stop \\\hline
-ON & ON & ~ & Tap tempo \\\hline
-~ & ~ & MODE & Start / Tap tempo \\\hline
-~ & ~ & HOLD MODE & Stop \\\hline
-MINUS/PLUS & LEFT/RIGHT & LEFT/RIGHT & Adjust tempo \\\hline
-ON+MINUS/ON+PLUS & UP/DOWN & UP/DOWN & Adjust volume \\\hline
+\begin{center}
+\begin{tabular}{@{}ll@{}}\toprule
+\textbf{Key} & \textbf{Action}\\\midrule
+\opt{player,h1xx,h300}{Stop}\opt{recorder,recorderv2fm}{Off}\opt{ondio}{OnOff}\opt{ipodcolor,ipodnano}{Menu} & Exit plugin \\
+\opt{player,recorder,recorderv2fm,h1xx,h300,ipodcolor,ipodnano}{Play}\opt{ondio}{Mode (hold: Stop)} & Start / Stop \\
+\opt{player,recorder,recorderv2fm}{On}\opt{ondio}{Mode (repeatedly)}\opt{h1xx,h300,ipodcolor,ipodnano}{Select} & Tap tempo \\
+Left/Right & Adjust tempo \\
+\opt{player}{On+Left/Right}\opt{recorder,recorderv2fm,ondio,h1xx,h300,ipodcolor,ipodnano}{Up/Down} & Adjust volume \\\bottomrule
\end{tabular}
+\end{center}
\end{table}
-
-
diff --git a/manual/plugins/minesweeper.tex b/manual/plugins/minesweeper.tex
index c4042ca..d58e860 100644
--- a/manual/plugins/minesweeper.tex
+++ b/manual/plugins/minesweeper.tex
@@ -19,13 +19,11 @@
``stepping'' on it.
\begin{table}[h!]
-\begin{tabular}{|c|c|}
-\hline
-KEY & ACTION \\\hline
-UP/DOWN/LEFT/RIGHT & Move the cursor across the minefield \\\hline
-PLAY / F1 & Toggle flag on / off \\\hline
-MENU / F2 & Reveal the contents of the current square \\\hline
-STOP & Exit the game \\\hline
+\begin{tabular}{@{}ll@{}}\toprule
+\textbf{Key} & \textbf{Action} \\\midrule
+UP/DOWN/LEFT/RIGHT & Move the cursor across the minefield \\
+PLAY / F1 & Toggle flag on / off \\
+MENU / F2 & Reveal the contents of the current square \\
+STOP & Exit the game \\\bottomrule
\end{tabular}
\end{table}
-
diff --git a/manual/plugins/oscillograph.tex b/manual/plugins/oscillograph.tex
index e2e52f0..87099b2 100644
--- a/manual/plugins/oscillograph.tex
+++ b/manual/plugins/oscillograph.tex
@@ -15,16 +15,15 @@
\begin{table}[h!]
\begin{center}
-\begin{tabular}{|c|c|}
-\hline
-KEY & ACTION \\\hline
-F1 & toggles whether to scroll or not \\\hline
-F2 & toggles filled / curve / plot \\\hline
-F3 & reset speed to 0 \\\hline
-UP & slow down scrolling \\\hline
-DOWN & Speeds up scrolling \\\hline
-PLAY & Pauses the demo \\\hline
-OFF & Exits demo \\\hline
+\begin{tabular}{@{}ll@{}}\toprule
+\textbf{Key} & \textbf{Action} \\\midrule
+F1 & toggles whether to scroll or not \\
+F2 & toggles filled / curve / plot \\
+F3 & reset speed to 0 \\
+UP & slow down scrolling \\
+DOWN & Speeds up scrolling \\
+PLAY & Pauses the demo \\
+OFF & Exits demo \\\bottomrule
\end{tabular}
\end{center}
\end{table}
diff --git a/manual/plugins/rockblox.tex b/manual/plugins/rockblox.tex
index 04610f2..b0b024f 100644
--- a/manual/plugins/rockblox.tex
+++ b/manual/plugins/rockblox.tex
@@ -16,13 +16,12 @@
\begin{table}[h!]
\begin{center}
-\begin{tabular}{|c|c|}
-\hline
-KEY & ACTION \\\hline
-UP & Rotate piece \\\hline
-LEFT/RIGHT & Move piece to the left/right \\\hline
-DOWN & Move faster the piece downwards \\\hline
-OFF & Exit Rockblox\\\hline
+\begin{tabular}{@{}ll@{}}\toprule
+\textbf{Key} & \textbf{Action} \\\midrule
+UP & Rotate piece \\
+LEFT/RIGHT & Move piece to the left/right \\
+DOWN & Move faster the piece downwards \\
+OFF & Exit Rockblox\\\bottomrule
\end{tabular}
\end{center}
\end{table}
diff --git a/manual/plugins/sliding.tex b/manual/plugins/sliding.tex
index 17bd48b..1ec54cb 100644
--- a/manual/plugins/sliding.tex
+++ b/manual/plugins/sliding.tex
@@ -13,13 +13,12 @@
\begin{table}[h!]
\begin{center}
-\begin{tabular}{|c|c|}
-\hline
-KEY & ACTION \\\hline
-UP/DOWN/LEFT/RIGHT & Moves \\\hline
-F1 & Shuffle \\\hline
-F2 & Change the picture \\\hline
-OFF & Stop the game \\\hline
+\begin{tabular}{@{}ll@{}}\toprule
+\textbf{Key} & \textbf{Action}\\\midrule
+UP/DOWN/LEFT/RIGHT & Moves \\
+F1 & Shuffle \\
+F2 & Change the picture \\
+OFF & Stop the game \\\bottomrule
\end{tabular}
\end{center}
\end{table}
diff --git a/manual/plugins/snake2.tex b/manual/plugins/snake2.tex
index 1fd626a..534f83b 100644
--- a/manual/plugins/snake2.tex
+++ b/manual/plugins/snake2.tex
@@ -15,15 +15,14 @@
\begin{table}[h!]
\begin{center}
-\begin{tabular}{|c|c|}
-\hline
-KEY & ACTION \\\hline
-UP/DOWN & (in menu) Set game speed \\\hline
-F1 & (in menu) Change starting maze \\\hline
-F3 & (in menu) Select game type (A or B) \\\hline
-UP/DOWN/LEFT/RIGHT & Steer the snake \\\hline
-PLAY & Pause the game \\\hline
-STOP & Exit the game \\\hline
+\begin{tabular}{@{}ll@{}}\toprule
+\textbf{Key} & \textbf{Action} \\\midrule
+UP/DOWN & (in menu) Set game speed \\
+F1 & (in menu) Change starting maze \\
+F3 & (in menu) Select game type (A or B) \\
+UP/DOWN/LEFT/RIGHT & Steer the snake \\
+PLAY & Pause the game \\
+STOP & Exit the game \\\bottomrule
\end{tabular}
\end{center}
\end{table}
diff --git a/manual/plugins/snow.tex b/manual/plugins/snow.tex
index cc7c82d..ab552c8 100644
--- a/manual/plugins/snow.tex
+++ b/manual/plugins/snow.tex
@@ -1,12 +1,9 @@
-
\subsection{Snow}
-{\centering\itshape
- [Warning: Image ignored] % Unhandled or unsupported graphics:
-%\includegraphics[width=4.15cm,height=2.35cm]{images/rockbox-manual-img55.png}
- \newline
-Have you ever seen snow falling?
-\par}
-
+\begin{figure}[h!]
+\begin{center}
+\includegraphics[width=4cm]{plugins/images/ss-snow-\genericimg.png}
+\end{center}
+\caption{Have you ever seen snow falling?}
+\end{figure}
This demo replicates snow falling on your screen. If you love winter,
you will love this demo. Or maybe not.
-
diff --git a/manual/plugins/sokoban.tex b/manual/plugins/sokoban.tex
index fec06ed..972afdf 100644
--- a/manual/plugins/sokoban.tex
+++ b/manual/plugins/sokoban.tex
@@ -13,15 +13,14 @@
The controls are:
\begin{table}[h!]
-\begin{tabular}{|c|c|}
-\hline
-KEY & ACTION \\\hline
-UP/DOWN/LEFT/RIGHT & Move the ``sokoban'' up, down, left or right \\\hline
-F1 & Back to previous level \\\hline
-F2 & Restart level \\\hline
-F3 & Go to next level \\\hline
-ON & Undo last movement \\\hline
-OFF & Exit sokoban \\\hline
+\begin{tabular}{@{}ll@{}}\toprule
+\textbf{Key} & \textbf{Action} \\\midrule
+UP/DOWN/LEFT/RIGHT & Move the ``sokoban'' up, down, left or right \\
+F1 & Back to previous level \\
+F2 & Restart level \\
+F3 & Go to next level \\
+ON & Undo last movement \\
+OFF & Exit sokoban \\\bottomrule
\end{tabular}
\end{table}
diff --git a/manual/plugins/star.tex b/manual/plugins/star.tex
index e113490..29b534f 100644
--- a/manual/plugins/star.tex
+++ b/manual/plugins/star.tex
@@ -15,21 +15,15 @@
wall to allow your filled circle to get to places on the screen it
could not otherwise reach. The block cannot take ``o''s.
-{\bfseries
-Keys:}
-
\begin{table}[h!]
\begin{center}
-\begin{tabular}{|c|c|}
-\hline
-KEY & ACTION \\\hline
-ON & Toggle control \\\hline
-F1 & Previous level \\\hline
-F2 & Reset level \\\hline
-F3 & Next level \\\hline
-OFF & Exit the game \\\hline
+\begin{tabular}{@{}ll@{}}\toprule
+\textbf{Key} & \textbf{Action} \\\midrule
+ON & Toggle control \\
+F1 & Previous level \\
+F2 & Reset level \\
+F3 & Next level \\
+OFF & Exit the game \\\bottomrule
\end{tabular}
\end{center}
\end{table}
-
-
diff --git a/manual/plugins/stopwatch.tex b/manual/plugins/stopwatch.tex
index 3d0ca8e..67b0fa6 100644
--- a/manual/plugins/stopwatch.tex
+++ b/manual/plugins/stopwatch.tex
@@ -10,14 +10,13 @@
\subsubsection{Keys are as follows:}
-\begin{table}[h!]
-\begin{tabular}{|c|c|c|c|}
-\hline
-PLAYER & RECORDER & ONDIO & FUNCTION \\\hline
-MENU & OFF & ONOFF & Quit Plugin \\\hline
-PLAY & PLAY & RIGHT & Start / stop \\\hline
-STOP & LEFT & LEFT & Reset timer \\\hline
-ON & ON & MODE & Take lap time \\\hline
-MINUS/PLUS & DOWN/UP & DOWN/UP & Scroll through lap times \\\hline
+\begin{center}
+\begin{tabular}{@{}ll@{}}\toprule
+\textbf{Key} & \textbf{Action}\\\midrule
+\opt{player}{Menu}\opt{recorder,recorderv2fm}{Off}\opt{ondio}{OnOff}\opt{h1xx,h300}{Stop}\opt{ipodcolor,ipodnano}{Menu} & Quit Plugin \\
+\opt{player,recorder,recorderv2fm}{Play}\opt{ondio}{Right}\opt{h1xx,h300}{Select}\opt{ipodcolor,ipodnano}{Play} & Start / stop \\
+\opt{player}{Stop}\opt{recorder,recorderv2fm,ondio}{Left}\opt{h1xx,h300}{Down}\opt{ipodcolor,ipodnano}{Unknown} & Reset timer \\
+\opt{player,recorder,recorderv2fm}{On}\opt{ondio}{Mode}\opt{h1xx,h300}{Play}\opt{ipodcolor,ipodnano}{Unknown} & Take lap time \\
+\opt{player,h1xx,h300,ipodcolor,ipodnano}{Left/Right}\opt{recorder,recorderv2fm}{Down/Up} & Scroll through lap times \\\bottomrule
\end{tabular}
-\end{table}
+\end{center}
diff --git a/manual/plugins/vumeter.tex b/manual/plugins/vumeter.tex
index 3ba49c2..781753e 100644
--- a/manual/plugins/vumeter.tex
+++ b/manual/plugins/vumeter.tex
@@ -14,14 +14,15 @@
and the meter scale can be changed.
\begin{table}[h!]
-\begin{tabular}{|c|c|c|}
-\hline
-RECORDER & ONDIO & FUNCTION \\\hline
-OFF & ONOFF & Save settings and quit \\\hline
-ON & MODE & Help \\\hline
-F1 & HOLD MODE & Settings \\\hline
-UP & UP & Raise Volume \\\hline
-DOWN & DOWN & Lower Volume \\\hline
+\begin{center}
+\begin{tabular}{@{}ll@{}}\toprule
+\textbf{Key} & \textbf{Action} \\\midrule
+\opt{recorder,recorderv2fm}{OFF}\opt{ondio}{ON/OFF}\opt{h1xx,h300}{Stop}\opt{ipodcolor,ipodnano}{Unknown} & Save settings and quit \\
+\opt{recorder,recorderv2fm}{ON}\opt{ondio}{MODE}\opt{h1xx,h300}{Play}\opt{ipodcolor,ipodnano}{Unknown} & Help \\
+\opt{recorder,recorderv2fm}{F1}\opt{ondio}{HOLD MODE}\opt{h1xx,h300,ipodcolor,ipodnano}{Unknown} & Settings \\
+UP & Raise Volume \\
+DOWN & Lower Volume \\\bottomrule
\end{tabular}
+\end{center}
\end{table}