forked from len0rd/rockbox
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
This commit is contained in:
parent
7b1e827f0c
commit
eef96946e1
2 changed files with 7 additions and 5 deletions
|
|
@ -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 %
|
& You can set the height, position and width of the progressbar %
|
||||||
(in pixels): \config{\%pb{\textbar}height{\textbar}leftpos%
|
(in pixels): \config{\%pb{\textbar}height{\textbar}leftpos%
|
||||||
{\textbar}rightpos{\textbar}}} \\
|
{\textbar}rightpos{\textbar}}} \\
|
||||||
\opt{player}{
|
\opt{player}{%
|
||||||
\config{\%pf} & Full-line progress bar \& time display\\
|
\config{\%pf} & Full-line progress bar \& time display\\
|
||||||
}
|
}%
|
||||||
\config{\%pc} & Current Time In Song\\
|
\config{\%pc} & Current Time In Song\\
|
||||||
\config{\%pe} & Total Number of Playlist Entries\\
|
\config{\%pe} & Total Number of Playlist Entries\\
|
||||||
\config{\%pm} & Peak Meter (Recorder only) The entire line is used as%
|
\nopt{player}{%
|
||||||
volume peak meter.\\
|
\config{\%pm} & Peak Meter. The entire line is used as %
|
||||||
|
volume peak meter.\\%
|
||||||
|
}%
|
||||||
\config{\%pn} & Playlist Name (Without path or extension)\\
|
\config{\%pn} & Playlist Name (Without path or extension)\\
|
||||||
\config{\%pp} & Playlist Position\\
|
\config{\%pp} & Playlist Position\\
|
||||||
\config{\%pr} & Remaining Time In Song\\
|
\config{\%pr} & Remaining Time In Song\\
|
||||||
|
|
|
||||||
|
|
@ -288,7 +288,7 @@
|
||||||
\newcommand{\optnvalue}{0}
|
\newcommand{\optnvalue}{0}
|
||||||
\newcommand{\nopt}[2]{%
|
\newcommand{\nopt}[2]{%
|
||||||
\renewcommand{\optnvalue}{0}\opt{#1}{\renewcommand{\optnvalue}{1}}%
|
\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
|
% Use the reference to handle get a flexible reference command
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue