From fe4d79d08a3b228994e69fa38b3e88565dab9475 Mon Sep 17 00:00:00 2001 From: bluebrother Date: Mon, 24 Sep 2007 22:39:24 +0000 Subject: [PATCH] Remove the full url path from links to the wiki and display the wiki name only instead. Add a note on how to manually access wiki pages. The links itself are still pointing to the wiki. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14847 a1c6a512-1295-4272-9138-f99709370657 --- manual/getting_started/main.tex | 8 +++++++- manual/preamble.tex | 6 +++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/manual/getting_started/main.tex b/manual/getting_started/main.tex index d85f4c489..254f86985 100644 --- a/manual/getting_started/main.tex +++ b/manual/getting_started/main.tex @@ -88,5 +88,11 @@ are used: } }{}% end ifpdfoutput +Links to the wiki are abbreviated by the name of the wiki page. Those names +are still linked so you can simply follow them like any other link in this +manual. If you want to acces a wiki page manually go to \url{\wikibaseurl} +and type the page name in the ``Go'' box at the top of the page. +\ifpdfoutput{Links to wiki pages are also indicated by the symbol \wikiicon +in front of the page name.}{} -\input{getting_started/installation.tex} \ No newline at end of file +\input{getting_started/installation.tex} diff --git a/manual/preamble.tex b/manual/preamble.tex index 6db6e5394..5b6e11094 100644 --- a/manual/preamble.tex +++ b/manual/preamble.tex @@ -254,7 +254,11 @@ % set link to the wiki. % Usage: \wikilink{WebHome} % with "WebHome" being the wiki page name -\newcommand{\wikilink}[1]{\url{http://www.rockbox.org/twiki/bin/view/Main/#1}} +\newcommand{\wikibaseurl}{http://www.rockbox.org/wiki/} +\ifpdfoutput{\newcommand{\wikiicon}{\Pointinghand}} + {\newcommand{\wikiicon}{}} +\newcommand{\wikilink}[1]{\wikiicon{}\href{\wikibaseurl#1}{#1}} +%\newcommand{\wikilink}[1]{\url{http://www.rockbox.org/wiki/#1}} % define environment "code" based on fancyvrb. % use it to set code the user should type / see on his screen. -- 2.11.4.GIT