From b9bfccc072fc394a352fb49e9859919838c439e5 Mon Sep 17 00:00:00 2001 From: bluebrother Date: Sat, 7 Apr 2007 22:48:11 +0000 Subject: [PATCH] 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 --- manual/appendix/wps_tags.tex | 10 ++++++---- manual/preamble.tex | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/manual/appendix/wps_tags.tex b/manual/appendix/wps_tags.tex index 7784bd941..2a0145c37 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 99dfb2f44..6db6e5394 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 -- 2.11.4.GIT