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) | |
download | rockbox-26c6e7bff9a742e53a87cc63972feae14fee455b.tar.gz rockbox-26c6e7bff9a742e53a87cc63972feae14fee455b.zip |
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 @@ | |||
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}}} |