summaryrefslogtreecommitdiff
path: root/manual/preamble.tex
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2008-12-01 21:21:42 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2008-12-01 21:21:42 +0000
commitcee8f0178eafc8441ec1da9b1644eb8331863a5b (patch)
tree9fb1d8a29fd85814411db06c1cf2326b98a60855 /manual/preamble.tex
parente70096ea5cafedce01291a40a949bec94fa8b90b (diff)
downloadrockbox-cee8f0178eafc8441ec1da9b1644eb8331863a5b.tar.gz
rockbox-cee8f0178eafc8441ec1da9b1644eb8331863a5b.zip
Fix FS#9550 and FS#5721: don't use Palatino anymore and use the soul package for html output.
The Palatino font was responsible for words broken up in the PDF, resulting in small caps parts being not searchable. Using the soul package creates much better HTML output, not putting every small caps character into its own span element anymore. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19294 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'manual/preamble.tex')
-rw-r--r--manual/preamble.tex9
1 files changed, 7 insertions, 2 deletions
diff --git a/manual/preamble.tex b/manual/preamble.tex
index 3ac9edcf0e..ca8926758d 100644
--- a/manual/preamble.tex
+++ b/manual/preamble.tex
@@ -21,7 +21,8 @@
21 21
22\documentclass[a4paper,11pt]{scrreprt} 22\documentclass[a4paper,11pt]{scrreprt}
23\usepackage[utf8x]{inputenc} 23\usepackage[utf8x]{inputenc}
24\usepackage{palatino} 24% This manual used to use Palatino as font. This caused issues with small caps
25% (textsc), so do not use that font as default one anymore.
25 26
26\usepackage{tabularx} 27\usepackage{tabularx}
27\usepackage{multirow} 28\usepackage{multirow}
@@ -243,7 +244,11 @@
243 \endtabularx 244 \endtabularx
244} 245}
245 246
246\newcommand{\setting}[1]{\textsc{#1}} 247% When creating HTML, use the soul package.
248% This produces much nicer HTML code (textsc results in each character being
249% put in a separate <span>).
250\ifpdfoutput{\newcommand{\caps}[1]{\textsc{#1}}}{\usepackage{soul}}
251\newcommand{\setting}[1]{\caps{#1}}
247 252
248\newcommand{\config}[1]{\texttt{#1}} 253\newcommand{\config}[1]{\texttt{#1}}
249 254