summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Parker <rockbox@aeparker.com>2009-06-29 18:33:44 +0000
committerAlex Parker <rockbox@aeparker.com>2009-06-29 18:33:44 +0000
commitc5d3857715434c3376be0a5f818bcf5d222c5e69 (patch)
tree20b08f97d073fa81d545edf902ae8d5b51a623a5
parent8839f18cc8234857e1ec3e77cdfa1f8daec311d9 (diff)
downloadrockbox-c5d3857715434c3376be0a5f818bcf5d222c5e69.tar.gz
rockbox-c5d3857715434c3376be0a5f818bcf5d222c5e69.zip
Fix html manuals for targets with remote keymaps. For some reason using an \opt in preamble.tex with an underscore in the name breaks html manuals (but not pdf).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21566 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--manual/platform/h100.tex2
-rw-r--r--manual/preamble.tex8
-rw-r--r--manual/rockbox_interface/wps.tex12
3 files changed, 11 insertions, 11 deletions
diff --git a/manual/platform/h100.tex b/manual/platform/h100.tex
index fce673e543..19e4ef0677 100644
--- a/manual/platform/h100.tex
+++ b/manual/platform/h100.tex
@@ -8,7 +8,7 @@
8\edef\UseOption{\UseOption,HAVE_CAR_ADAPTER_MODE} 8\edef\UseOption{\UseOption,HAVE_CAR_ADAPTER_MODE}
9\edef\UseOption{\UseOption,iriver} 9\edef\UseOption{\UseOption,iriver}
10\edef\UseOption{\UseOption,IRIVER_RC_H100_PAD} 10\edef\UseOption{\UseOption,IRIVER_RC_H100_PAD}
11\edef\UseOption{\UseOption,HAVE_REMOTE_KEYMAP} 11\edef\UseOption{\UseOption,HAVEREMOTEKEYMAP}
12 12
13\newcommand{\playerman}{Iriver} 13\newcommand{\playerman}{Iriver}
14\newcommand{\playertype}{H100} 14\newcommand{\playertype}{H100}
diff --git a/manual/preamble.tex b/manual/preamble.tex
index 9d929e78b0..0d0082e47a 100644
--- a/manual/preamble.tex
+++ b/manual/preamble.tex
@@ -302,7 +302,7 @@
302 302
303 303
304% command to set the default table heading for button lists 304% command to set the default table heading for button lists
305\newcommand{\btnhead}{\textbf{Key} \opt{HAVE_REMOTE_KEYMAP}{% 305\newcommand{\btnhead}{\textbf{Key} \opt{HAVEREMOTEKEYMAP}{%
306 & \textbf{Remote Key}} & \textbf{Action} \\\midrule} 306 & \textbf{Remote Key}} & \textbf{Action} \\\midrule}
307% environment intended to be used with button maps 307% environment intended to be used with button maps
308% usage: \begin{btnmap}{caption}{label} Button & ButtonAction \\ \end{btnmap} 308% usage: \begin{btnmap}{caption}{label} Button & ButtonAction \\ \end{btnmap}
@@ -312,7 +312,7 @@
312% Cheers for the usenet helping me building this up :) 312% Cheers for the usenet helping me building this up :)
313 313
314% tabularx is set to be either two or three columns wide depending on whether 314% tabularx is set to be either two or three columns wide depending on whether
315% HAVE_REMOTE_KEYMAP is defined in the platform file for the target in question. 315% HAVEREMOTEKEYMAP is defined in the platform file for the target in question.
316% If it is, then every button table has three columns of the form 316% If it is, then every button table has three columns of the form
317% Main Unit Key & Remote Key & Description \\ 317% Main Unit Key & Remote Key & Description \\
318 318
@@ -326,11 +326,11 @@
326 \endcenter% 326 \endcenter%
327 } 327 }
328 \center 328 \center
329 \opt{HAVE_REMOTE_KEYMAP}{ 329 \opt{HAVEREMOTEKEYMAP}{
330 % here is the table width defined for 3 columns 330 % here is the table width defined for 3 columns
331 \tabularx{.9\textwidth}{>{\raggedright\arraybackslash}p{.2\textwidth}>{\raggedright\arraybackslash}p{.2\textwidth}X}\toprule 331 \tabularx{.9\textwidth}{>{\raggedright\arraybackslash}p{.2\textwidth}>{\raggedright\arraybackslash}p{.2\textwidth}X}\toprule
332 } 332 }
333 \nopt{HAVE_REMOTE_KEYMAP}{ 333 \nopt{HAVEREMOTEKEYMAP}{
334 % here is the table width defined for 2 columns 334 % here is the table width defined for 2 columns
335 \tabularx{.75\textwidth}{>{\raggedright\arraybackslash}p{.22\textwidth}X}\toprule 335 \tabularx{.75\textwidth}{>{\raggedright\arraybackslash}p{.22\textwidth}X}\toprule
336 } 336 }
diff --git a/manual/rockbox_interface/wps.tex b/manual/rockbox_interface/wps.tex
index 43ee436534..62d51b7424 100644
--- a/manual/rockbox_interface/wps.tex
+++ b/manual/rockbox_interface/wps.tex
@@ -58,28 +58,28 @@ your WPS (While Playing Screen).
58\begin{table} 58\begin{table}
59 \begin{btnmap}{}{} 59 \begin{btnmap}{}{}
60 \ActionWpsVolUp{} / \ActionWpsVolDown 60 \ActionWpsVolUp{} / \ActionWpsVolDown
61 \opt{HAVE_REMOTE_KEYMAP}{& \ActionRCWpsVolUp{} / \ActionRCWpsVolDown} 61 \opt{IRIVER_RC_H100_PAD}{& \ActionRCWpsVolUp{} / \ActionRCWpsVolDown}
62 & Volume up/down.\\ 62 & Volume up/down.\\
63 % 63 %
64 \ActionWpsSkipPrev 64 \ActionWpsSkipPrev
65 \opt{HAVE_REMOTE_KEYMAP}{& \ActionRCWpsSkipPrev} 65 \opt{IRIVER_RC_H100_PAD}{& \ActionRCWpsSkipPrev}
66 & Go to beginning of track, or if pressed while in the 66 & Go to beginning of track, or if pressed while in the
67 first seconds of a track, go to previous track.\\ 67 first seconds of a track, go to previous track.\\
68 % 68 %
69 \ActionWpsSeekBack 69 \ActionWpsSeekBack
70 \opt{HAVE_REMOTE_KEYMAP}{& \ActionRCWpsSeekBack} 70 \opt{IRIVER_RC_H100_PAD}{& \ActionRCWpsSeekBack}
71 & Rewind in track.\\ 71 & Rewind in track.\\
72 % 72 %
73 \ActionWpsSkipNext 73 \ActionWpsSkipNext
74 \opt{HAVE_REMOTE_KEYMAP}{& \ActionRCWpsSkipNext} 74 \opt{IRIVER_RC_H100_PAD}{& \ActionRCWpsSkipNext}
75 & Go to next track.\\ 75 & Go to next track.\\
76 % 76 %
77 \ActionWpsSeekFwd 77 \ActionWpsSeekFwd
78 \opt{HAVE_REMOTE_KEYMAP}{& \ActionRCWpsSeekFwd} 78 \opt{IRIVER_RC_H100_PAD}{& \ActionRCWpsSeekFwd}
79 & Fast forward in track.\\ 79 & Fast forward in track.\\
80 % 80 %
81 \ActionWpsPlay 81 \ActionWpsPlay
82 \opt{HAVE_REMOTE_KEYMAP}{& \ActionRCWpsPlay} 82 \opt{IRIVER_RC_H100_PAD}{& \ActionRCWpsPlay}
83 & Toggle play/pause.\\ 83 & Toggle play/pause.\\
84 % 84 %
85 \ActionWpsStop 85 \ActionWpsStop