diff options
author | Martin Arver <martin.arver@gmail.com> | 2006-08-01 11:57:38 +0000 |
---|---|---|
committer | Martin Arver <martin.arver@gmail.com> | 2006-08-01 11:57:38 +0000 |
commit | 26c6e7bff9a742e53a87cc63972feae14fee455b (patch) | |
tree | f7ab96aece80bc8956c89af9c8e9e5c654704963 /manual/preamble.tex | |
parent | d6c381508ec4b98394e087b40a537e40d03c239c (diff) |
rename the rockref macro to reference
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10392 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'manual/preamble.tex')
-rw-r--r-- | manual/preamble.tex | 11 |
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 @@ 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}}} |