summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2006-05-28 15:49:17 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2006-05-28 15:49:17 +0000
commit0f661ab26c0cb674bee8b4601ad732079cedef70 (patch)
treee73c87efc5c2b68789aa25703268f96c01bf85fe
parent0898d381d314ad3aad05608f05751e441e827464 (diff)
downloadrockbox-0f661ab26c0cb674bee8b4601ad732079cedef70.zip
rockbox-0f661ab26c0cb674bee8b4601ad732079cedef70.tar.gz
rockbox-0f661ab26c0cb674bee8b4601ad732079cedef70.tar.bz2
rockbox-0f661ab26c0cb674bee8b4601ad732079cedef70.tar.xz
Fix spurious spaces in wiki links by introducing a wiki link macro. Fixes FS#5450
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10007 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--manual/main_menu/main.tex14
-rw-r--r--manual/preamble.tex8
2 files changed, 16 insertions, 6 deletions
diff --git a/manual/main_menu/main.tex b/manual/main_menu/main.tex
index e6f3d24..639060e 100644
--- a/manual/main_menu/main.tex
+++ b/manual/main_menu/main.tex
@@ -98,12 +98,16 @@ that typically changes the WPS
\opt{h1xx,h300,x5}{and remote WPS}, font used and on some platforms
additional information such as background image and text colours.
-There are a number of themes that ship with Rockbox. If none of
+There are a number of themes that ship with Rockbox. If none of
these suit your needs, many more can be downloaded from
-\url{www.rockbox.org/twiki/bin/view/Main/\opt{RECORDER_PAD}{/WpsArchos}
-\opt{h1xx}{WpsIriverH100}\opt{h300,ipodcolor}{WpsIriverH300}
-\opt{ipodvideo}{WpsIpod5g}\opt{ipodnano}{WpsIpodNano}
-\opt{ipodmini}{WpsIpodMini}\opt{x5}{WpsIaudioX5}}.
+\opt{RECORDER_PAD}{\wikilink{WpsArchos}}%
+\opt{h1xx}{\wikilink{WpsIriverH100}}%
+\opt{h300,ipodcolor}{\wikilink{WpsIriverH300}}%
+\opt{ipodvideo}{\wikilink{WpsIpod5g}}%
+\opt{ipodnano}{\wikilink{WpsIpodNano}}%
+\opt{ipodmini}{\wikilink{WpsIpodMini}}%
+\opt{x5}{\wikilink{WpsIaudioX5}}%
+.
Some of the downloads from this site will actually be standalone WPS files,
others will be full-blown themes.
diff --git a/manual/preamble.tex b/manual/preamble.tex
index fd1e321..595b17e 100644
--- a/manual/preamble.tex
+++ b/manual/preamble.tex
@@ -202,4 +202,10 @@
\newcommand{\setting}[1]{\textsc{#1}}
-\newcommand{\config}[1]{\texttt{#1}} \ No newline at end of file
+\newcommand{\config}[1]{\texttt{#1}}
+
+% 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}}
+