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
This commit is contained in:
parent
e70096ea5c
commit
cee8f0178e
2 changed files with 8 additions and 3 deletions
|
@ -123,7 +123,7 @@ Changes in version 2.5
|
|||
People that have contributed to the project, one way or another. Friends!
|
||||
%
|
||||
\begin{multicols}{2}
|
||||
\noindent\textsc{\small{\input{CREDITS.tex}}}
|
||||
\noindent\caps{\small{\input{CREDITS.tex}}}
|
||||
\end{multicols}
|
||||
|
||||
\chapter{Licenses}
|
||||
|
|
|
@ -21,7 +21,8 @@
|
|||
|
||||
\documentclass[a4paper,11pt]{scrreprt}
|
||||
\usepackage[utf8x]{inputenc}
|
||||
\usepackage{palatino}
|
||||
% This manual used to use Palatino as font. This caused issues with small caps
|
||||
% (textsc), so do not use that font as default one anymore.
|
||||
|
||||
\usepackage{tabularx}
|
||||
\usepackage{multirow}
|
||||
|
@ -243,7 +244,11 @@
|
|||
\endtabularx
|
||||
}
|
||||
|
||||
\newcommand{\setting}[1]{\textsc{#1}}
|
||||
% When creating HTML, use the soul package.
|
||||
% This produces much nicer HTML code (textsc results in each character being
|
||||
% put in a separate <span>).
|
||||
\ifpdfoutput{\newcommand{\caps}[1]{\textsc{#1}}}{\usepackage{soul}}
|
||||
\newcommand{\setting}[1]{\caps{#1}}
|
||||
|
||||
\newcommand{\config}[1]{\texttt{#1}}
|
||||
|
||||
|
|
Loading…
Reference in a new issue