summaryrefslogtreecommitdiffstats
path: root/manual
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2007-04-07 22:48:11 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2007-04-07 22:48:11 +0000
commiteef96946e1e962473e9049005eec2b2d0b2f8463 (patch)
tree7a38423a2ba554e1a08bcbe4d38bae441ae1c254 /manual
parent7b1e827f0cf6930a61671c1c26aab8ed662b4134 (diff)
downloadrockbox-eef96946e1e962473e9049005eec2b2d0b2f8463.tar.gz
rockbox-eef96946e1e962473e9049005eec2b2d0b2f8463.zip
WPS tags: The player doesn't have peak meters. Fix a glitch in \nopt which introduced a stray protected space.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13061 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'manual')
-rw-r--r--manual/appendix/wps_tags.tex10
-rw-r--r--manual/preamble.tex2
2 files changed, 7 insertions, 5 deletions
diff --git a/manual/appendix/wps_tags.tex b/manual/appendix/wps_tags.tex
index 7784bd941e..2a0145c371 100644
--- a/manual/appendix/wps_tags.tex
+++ b/manual/appendix/wps_tags.tex
@@ -86,13 +86,15 @@ Example for the \config{\%dN} commands: If the path is
& You can set the height, position and width of the progressbar %
(in pixels): \config{\%pb{\textbar}height{\textbar}leftpos%
{\textbar}rightpos{\textbar}}} \\
- \opt{player}{
+ \opt{player}{%
\config{\%pf} & Full-line progress bar \& time display\\
- }
+ }%
\config{\%pc} & Current Time In Song\\
\config{\%pe} & Total Number of Playlist Entries\\
- \config{\%pm} & Peak Meter (Recorder only) The entire line is used as%
- volume peak meter.\\
+ \nopt{player}{%
+ \config{\%pm} & Peak Meter. The entire line is used as %
+ volume peak meter.\\%
+ }%
\config{\%pn} & Playlist Name (Without path or extension)\\
\config{\%pp} & Playlist Position\\
\config{\%pr} & Remaining Time In Song\\
diff --git a/manual/preamble.tex b/manual/preamble.tex
index 99dfb2f44c..6db6e5394b 100644
--- a/manual/preamble.tex
+++ b/manual/preamble.tex
@@ -288,7 +288,7 @@
\newcommand{\optnvalue}{0}
\newcommand{\nopt}[2]{%
\renewcommand{\optnvalue}{0}\opt{#1}{\renewcommand{\optnvalue}{1}}%
- \ifthenelse{\optnvalue > 0}{}{#2}
+ \ifthenelse{\optnvalue > 0}{}{#2}%
}
% Use the reference to handle get a flexible reference command