summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Levin <al.le@rockbox.org>2010-03-27 13:14:14 +0000
committerAlexander Levin <al.le@rockbox.org>2010-03-27 13:14:14 +0000
commitf2589546b36be40e0cc102cdc69a39b132b956b7 (patch)
treeafd1d3ef554300063cabeae56f105eb863324c7e
parent38c313557e8fa404f8f07cea6a73e24496e728d4 (diff)
downloadrockbox-f2589546b36be40e0cc102cdc69a39b132b956b7.zip
rockbox-f2589546b36be40e0cc102cdc69a39b132b956b7.tar.gz
rockbox-f2589546b36be40e0cc102cdc69a39b132b956b7.tar.bz2
rockbox-f2589546b36be40e0cc102cdc69a39b132b956b7.tar.xz
Fix the description of the %V WPS tag (last part of FS#11117)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25349 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--docs/CREDITS1
-rw-r--r--manual/preamble.tex12
2 files changed, 6 insertions, 7 deletions
diff --git a/docs/CREDITS b/docs/CREDITS
index 38a2eed..dc2ac19 100644
--- a/docs/CREDITS
+++ b/docs/CREDITS
@@ -534,6 +534,7 @@ Jens Theeß
Alexey Nemtsev
Pascal Below
Danny Attar
+Philipp Stephani
The libmad team
The wavpack team
diff --git a/manual/preamble.tex b/manual/preamble.tex
index 7969ca9..9398486 100644
--- a/manual/preamble.tex
+++ b/manual/preamble.tex
@@ -79,7 +79,6 @@
\usepackage{url}
\urlstyle{sf}
\usepackage{marvosym}
-\usepackage{ifthen}
\usepackage{rotating}
% pdf output: try pdf first, then png and jpg as file format
@@ -320,14 +319,13 @@
commandchars=\\\{\}%
}
-% Use the nopt command to exclude a certain defined feature from a sectio
+% Use the nopt command to exclude a certain defined feature from a section
% Example:
% \nopt{ondio}{This text will be excluded for ondios}
-\newcommand{\optnvalue}{0}
- \newcommand{\nopt}[2]{%
- \renewcommand{\optnvalue}{0}\opt{#1}{\renewcommand{\optnvalue}{1}}%
- \ifthenelse{\optnvalue > 0}{}{#2}%
- }
+\makeatletter
+\newcommand*\nopt[1]{\if\Opl@notlisted{#1}\expandafter\@firstofone
+ \else \expandafter\@gobble \fi}
+\makeatother
% Use the reference to handle get a flexible reference command
% usage \reference{ref_section}