XeTeX ⇒ Ligatures and search
Ligatures and search
Anybody have a solution?
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
-
- 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?