summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 38a2eedc20..dc2ac19831 100644
--- a/docs/CREDITS
+++ b/docs/CREDITS
@@ -534,6 +534,7 @@ Jens Theeß
534Alexey Nemtsev 534Alexey Nemtsev
535Pascal Below 535Pascal Below
536Danny Attar 536Danny Attar
537Philipp Stephani
537 538
538The libmad team 539The libmad team
539The wavpack team 540The wavpack team
diff --git a/manual/preamble.tex b/manual/preamble.tex
index 7969ca98c2..9398486168 100644
--- a/manual/preamble.tex
+++ b/manual/preamble.tex
@@ -79,7 +79,6 @@
79\usepackage{url} 79\usepackage{url}
80\urlstyle{sf} 80\urlstyle{sf}
81\usepackage{marvosym} 81\usepackage{marvosym}
82\usepackage{ifthen}
83\usepackage{rotating} 82\usepackage{rotating}
84 83
85% pdf output: try pdf first, then png and jpg as file format 84% pdf output: try pdf first, then png and jpg as file format
@@ -320,14 +319,13 @@
320 commandchars=\\\{\}% 319 commandchars=\\\{\}%
321 } 320 }
322 321
323% Use the nopt command to exclude a certain defined feature from a sectio 322% Use the nopt command to exclude a certain defined feature from a section
324% Example: 323% Example:
325% \nopt{ondio}{This text will be excluded for ondios} 324% \nopt{ondio}{This text will be excluded for ondios}
326\newcommand{\optnvalue}{0} 325\makeatletter
327 \newcommand{\nopt}[2]{% 326\newcommand*\nopt[1]{\if\Opl@notlisted{#1}\expandafter\@firstofone
328 \renewcommand{\optnvalue}{0}\opt{#1}{\renewcommand{\optnvalue}{1}}% 327 \else \expandafter\@gobble \fi}
329 \ifthenelse{\optnvalue > 0}{}{#2}% 328\makeatother
330 }
331 329
332% Use the reference to handle get a flexible reference command 330% Use the reference to handle get a flexible reference command
333% usage \reference{ref_section} 331% usage \reference{ref_section}