From 2b09a0972ebcc15ecc5fce4661f3dac34a1d128f Mon Sep 17 00:00:00 2001 From: alle Date: Sat, 27 Mar 2010 13:14:14 +0000 Subject: [PATCH] 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 --- docs/CREDITS | 1 + manual/preamble.tex | 12 +++++------- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/docs/CREDITS b/docs/CREDITS index 38a2eedc2..dc2ac1983 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 7969ca98c..939848616 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} -- 2.11.4.GIT