From 26c6e7bff9a742e53a87cc63972feae14fee455b Mon Sep 17 00:00:00 2001 From: Martin Arver Date: Tue, 1 Aug 2006 11:57:38 +0000 Subject: rename the rockref macro to reference git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10392 a1c6a512-1295-4272-9138-f99709370657 --- manual/preamble.tex | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'manual/preamble.tex') 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}}} -- cgit v1.2.3