summaryrefslogtreecommitdiff
path: root/manual/preamble.tex
diff options
context:
space:
mode:
Diffstat (limited to 'manual/preamble.tex')
-rw-r--r--manual/preamble.tex11
1 files changed, 4 insertions, 7 deletions
diff --git a/manual/preamble.tex b/manual/preamble.tex
index d79655a540..e03b776d8f 100644
--- a/manual/preamble.tex
+++ b/manual/preamble.tex
@@ -250,7 +250,6 @@
250 commandchars=\\\{\}% 250 commandchars=\\\{\}%
251 } 251 }
252 252
253
254% Use the nopt command to exclude a certain defined feature from a sectio 253% Use the nopt command to exclude a certain defined feature from a sectio
255% Example: 254% Example:
256% \nopt{ondio}{This text will be excluded for ondios} 255% \nopt{ondio}{This text will be excluded for ondios}
@@ -260,12 +259,10 @@
260 \ifthenelse{\optnvalue > 0}{}{#2} 259 \ifthenelse{\optnvalue > 0}{}{#2}
261 } 260 }
262 261
263 262% Use the reference to handle get a flexible reference command
264 263% usage \reference{ref_section}
265% Use the rockref to handle get a flexible reference command
266% usage \rockref{ref_section}
267\ifpdfoutput{ 264\ifpdfoutput{
268 \newcommand{\rockref}[1]{% 265 \newcommand{\reference}[1]{%
269 section \ref{#1} (page \pageref{#1}) 266 section \ref{#1} (page \pageref{#1})
270}} 267}}
271{\newcommand{\rockref}[1]{section \ref{#1}}} 268{\newcommand{\reference}[1]{section \ref{#1}}}