summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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