XeTeX ⇒ Ligatures and search
Ligatures and search
Anybody have a solution?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: Ligatures and search
Re: Ligatures and search
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: Ligatures and search
Ligatures and search
Code: Select all
\documentclass[a4paper]{article}
\usepackage{xltxtra}
\setmainfont[Mapping=tex-text]{Adobe Garamond Pro}
\begin{document}
This is a problem.
\end{document}
Ligatures and search
Code: Select all
\documentclass{article}
\usepackage{fontspec}
\setmainfont[Mapping=text-tex]{Adobe Caslon Pro}
\begin{document}
The affluent affinity for fishing off the flank of the fjord \ldots
\end{document}
I then switched to Sorts Mill Goudy and evince couldn't see any of the ligatures.
(I chose Sorts Mill Goudy since it's one of the few freely available opentype fonts out there that has ligatures. I figured some people reading this might want to test for themselves even if they don't have access to the expensive Pro fonts. It does not have a Th-ligature though.)
(P.S. Testing some more, Okular seems to have more problems than evince, so this is viewer-specific too.

Re: Ligatures and search
Re: Ligatures and search
Is it possible to invisibly associate the components with the ligated characters in the same way OCR text can be associated with scanned documents?