This is either a question or an encouragement, depending on the situation. If a pdf typeset with latex and made into a pdf with ps2pdf contains the word "final", searching for that word in the pdf with Acrobat Reader yields no hit.
The reason is that the pdf file is typeset with a "fi" ligature, and the search algorithm does not know that "final" should also search for the "fi" ligature. On the other hand, if the same ps file is distilled with Acrobat Distiller, the search works. Distiller somehow is more capable.
Can this be achieved with ps2pdf already now (it was not possible a few years ago)? Or will it be possible at least one day in the future?
I use the newest 2014 texlive distribution, OSX, the MinionPro font and package with T1 fontenc and utf8 inputenc, the Myriad font, 50 other packages, and work along the dvi -> ps -> pdf route. This is the minimal example:
\documentclass{book}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{MinionPro}
\begin{document}
Almost final.
\end{document}
By the way, this MinionPro problem is indeed solved with glyphtounicode.tex for MinionPro if the dvips/ps2pdf route is avoided, and the pdf is produced directly. The problem only appears if intermediate postscript is produced. Therefore another way out, in principle, would be to find successor packages for pstricks and psfrag, which also allow to use my hundreds of eps images, and that work with pdflatex. However, the package experts explained that this is not possible yet.
\documentclass{article}\begin{document}final\end{document}
withlatex-dvips-ps2pdf
, the search forfinal
in Adobe Reader is successful. – egreg Jan 22 '15 at 17:16glyphtounicode.tex
is distributed withpdftex
as part of the TeXLive distribution. In a standard installation on Linux it is at/usr/local/texlive/2014/texmf-dist/tex/generic/pdftex/glyphtounicode.tex
. – musarithmia Jan 22 '15 at 18:01auto-pst-pdf
is a package which lets you usepstricks
and so in pdfLaTeX. Doesn't it work in this case? – Manuel Jan 26 '15 at 13:32