I'm typesetting a book in French, and I noticed that diacritics broke the search function of Adobe reader. For example, if I write "Numérotation" in my latex document, then Adobe Reader won't find any matches for either "Numerotation" or "Numérotation", since the accent sign is written to the pdf document separately from the "e".
Similarly, if I write "Affect", then Adobe reader won't find any matches for "Affect" : both "f"s are contracted into one character.
How can I ensure that the pdfs generated by pdflatex are fully searchable?
EDIT: Some clarifications:
Thanks for the answers. I currently have two packages loaded :
\usepackage[T1]{fontenc}
\usepackage{ae,aecompl,aeguill}
Adding \usepackage{cmap} doesn't help. Removing ae does help, but the the fonts are bitmap ones, and look terrible.
Final note: removing ae doesn't solve the double-f (ff) problem.
cmap, i.e. including\usepackage{cmap}in your preamble, help? – N.N. Oct 10 '11 at 11:15\usepackage[T1]{fontenc}(and if the fonts get fuzzy install the cm-super-package). – Ulrike Fischer Oct 10 '11 at 11:33\usepackage[T1]{fontenc}– Clément Oct 10 '11 at 13:00cm-super; personally i preferlmodern.stywhich is (a) smaller, and (b) very slightly better shaped; so\usepackage[T1]{fontenc}\usepackage{lmodern}– wasteofspace Feb 08 '14 at 11:54