diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2008-12-01 21:21:42 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2008-12-01 21:21:42 +0000 |
commit | cee8f0178eafc8441ec1da9b1644eb8331863a5b (patch) | |
tree | 9fb1d8a29fd85814411db06c1cf2326b98a60855 | |
parent | e70096ea5cafedce01291a40a949bec94fa8b90b (diff) | |
download | rockbox-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
-rw-r--r-- | manual/appendix/appendix.tex | 2 | ||||
-rw-r--r-- | manual/preamble.tex | 9 |
2 files changed, 8 insertions, 3 deletions
diff --git a/manual/appendix/appendix.tex b/manual/appendix/appendix.tex index c94ca878b9..e15232bb56 100644 --- a/manual/appendix/appendix.tex +++ b/manual/appendix/appendix.tex | |||
@@ -123,7 +123,7 @@ Changes in version 2.5 | |||
123 | People that have contributed to the project, one way or another. Friends! | 123 | People that have contributed to the project, one way or another. Friends! |
124 | % | 124 | % |
125 | \begin{multicols}{2} | 125 | \begin{multicols}{2} |
126 | \noindent\textsc{\small{\input{CREDITS.tex}}} | 126 | \noindent\caps{\small{\input{CREDITS.tex}}} |
127 | \end{multicols} | 127 | \end{multicols} |
128 | 128 | ||
129 | \chapter{Licenses} | 129 | \chapter{Licenses} |
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 | ||