summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmanual/configure_rockbox/system_options.tex2
-rw-r--r--manual/preamble.tex10
2 files changed, 12 insertions, 0 deletions
diff --git a/manual/configure_rockbox/system_options.tex b/manual/configure_rockbox/system_options.tex
index 155fb6d078..17566e740b 100755
--- a/manual/configure_rockbox/system_options.tex
+++ b/manual/configure_rockbox/system_options.tex
@@ -25,12 +25,14 @@
Options relating to the hard disk.
\begin{description}
+ \nopt{ondio}{
\item [Disk Spindown: ]Rockbox has a timer that makes it spin down the
hard disk after it is idle for a certain amount of time. This setting
controls the amount of time between the last user activity and the time
that the disk spins down. This idle time is only affected by user
activity, like navigating through file browser. When the hard disk spins
up to fill mp3 buffer, it automatically spins down afterwards.
+ }
\opt{recorder,h1xx,h300}{
\item [Disk Poweroff: ]This setting controls whether the disk is powered
off or only set to ``sleep'' when spun down. If this setting is YES,
diff --git a/manual/preamble.tex b/manual/preamble.tex
index 69cf5aa244..7b1927cee5 100644
--- a/manual/preamble.tex
+++ b/manual/preamble.tex
@@ -49,6 +49,7 @@
\usepackage{url}
\urlstyle{sf}
\usepackage{marvosym}
+\usepackage{ifthen}
% new \ifpdf to check if running in pdf mode. Helps for html generation.
\newif\ifpdf\ifx\pdfoutput\undefined\pdffalse\else\pdfoutput=1\pdftrue\fi
@@ -239,3 +240,12 @@
commandchars=\\\{\}%
}
+
+% Use the nopt command to exclude a certain defined feature from a sectio
+% 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}
+ }