1

I'm writing in french, with AZERTY keyboard and I don't know why I not can find the apostrophe symbol ' in my PDF file ?

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[english,frenchb]{babel}

\begin{document}
\noindent
d'utile\\
l'importance\\
qu'il\\
s'efface
\end{document}

display

apostrophe

but when I try to find in my PDF file (CTRL+F) any word with apostrophe symbole (like: "d'utile", "l'importance",...), the search engine does not find the apostrophe.

  • 1
    I've got no problem with SumatraPDF, not Adobe Reader. – Werner May 4 '17 at 20:46
  • 2
    This is probably due to the fact you don't type the typographical apostrophe (« guillemet-apostrophe » U+2019), obtainable on an Azerty keyboard as Alt+0146. I guess you type U+0027, which you obtain under the 4 in the first row of the keyboard. – Bernard May 4 '17 at 21:14
  • @Bernard I can find "d'ut" without problems. But it could depend on the (unknown) pdf viewer and the (unknown) version of the fonts. – Ulrike Fischer May 4 '17 at 21:44
  • I'm using EVINCE for the pdf viewer in Linux. @Bernard, it is right, I type in my pdf search engine the straight dactylographical apostrophe (from the 4 touch of AZERTY keyboard, I'm doing this, because on my latex source file, I also type this same straight dactylographical apostrophe. – Anthony T. May 4 '17 at 21:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.