From c5d3857715434c3376be0a5f818bcf5d222c5e69 Mon Sep 17 00:00:00 2001 From: Alex Parker Date: Mon, 29 Jun 2009 18:33:44 +0000 Subject: 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 --- manual/preamble.tex | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'manual/preamble.tex') 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 @@ % command to set the default table heading for button lists -\newcommand{\btnhead}{\textbf{Key} \opt{HAVE_REMOTE_KEYMAP}{% +\newcommand{\btnhead}{\textbf{Key} \opt{HAVEREMOTEKEYMAP}{% & \textbf{Remote Key}} & \textbf{Action} \\\midrule} % environment intended to be used with button maps % usage: \begin{btnmap}{caption}{label} Button & ButtonAction \\ \end{btnmap} @@ -312,7 +312,7 @@ % Cheers for the usenet helping me building this up :) % tabularx is set to be either two or three columns wide depending on whether -% HAVE_REMOTE_KEYMAP is defined in the platform file for the target in question. +% HAVEREMOTEKEYMAP is defined in the platform file for the target in question. % If it is, then every button table has three columns of the form % Main Unit Key & Remote Key & Description \\ @@ -326,11 +326,11 @@ \endcenter% } \center - \opt{HAVE_REMOTE_KEYMAP}{ + \opt{HAVEREMOTEKEYMAP}{ % here is the table width defined for 3 columns \tabularx{.9\textwidth}{>{\raggedright\arraybackslash}p{.2\textwidth}>{\raggedright\arraybackslash}p{.2\textwidth}X}\toprule } - \nopt{HAVE_REMOTE_KEYMAP}{ + \nopt{HAVEREMOTEKEYMAP}{ % here is the table width defined for 2 columns \tabularx{.75\textwidth}{>{\raggedright\arraybackslash}p{.22\textwidth}X}\toprule } -- cgit v1.2.3