rename the rockref macro to reference
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10392 a1c6a512-1295-4272-9138-f99709370657
diff --git a/manual/preamble.tex b/manual/preamble.tex
index d79655a..e03b776 100644
--- a/manual/preamble.tex
+++ b/manual/preamble.tex
@@ -250,7 +250,6 @@
commandchars=\\\{\}%
}
-
% Use the nopt command to exclude a certain defined feature from a sectio
% Example:
% \nopt{ondio}{This text will be excluded for ondios}
@@ -260,12 +259,10 @@
\ifthenelse{\optnvalue > 0}{}{#2}
}
-
-
-% Use the rockref to handle get a flexible reference command
-% usage \rockref{ref_section}
+% Use the reference to handle get a flexible reference command
+% usage \reference{ref_section}
\ifpdfoutput{
- \newcommand{\rockref}[1]{%
+ \newcommand{\reference}[1]{%
section \ref{#1} (page \pageref{#1})
}}
-{\newcommand{\rockref}[1]{section \ref{#1}}}
+{\newcommand{\reference}[1]{section \ref{#1}}}