From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Guerry Subject: Re: fontenc makes pdf non-searchable Date: Wed, 05 Aug 2015 02:00:52 +0200 Message-ID: <87r3nizjrf.fsf@free.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60438) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMmWt-00051r-OX for emacs-orgmode@gnu.org; Tue, 04 Aug 2015 20:26:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZMmWq-0008T6-Hm for emacs-orgmode@gnu.org; Tue, 04 Aug 2015 20:25:59 -0400 Received: from so1.mailgun.net ([198.61.254.11]:49580) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMmWq-0008Oy-Eh for emacs-orgmode@gnu.org; Tue, 04 Aug 2015 20:25:56 -0400 In-Reply-To: (Martin Leduc's message of "Sat, 21 Mar 2015 04:47:28 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Martin Leduc Cc: "emacs-orgmode@gnu.org" Hi Martin, Martin Leduc writes: > However, when opening the experted pdf (with evince or okular) and > searching for a word, the output from the search function is a list > of words with apparently incorrect character encoding. > > I get the same result when compiling directly the exported tex file. > However, if I remove the line: > > \usepackage[T1]{fontenc} > > the compiled pdf becomes correctly interpreted by the search > function. According to the documentation of the org-article latex > class, "There is no facility to disable loading fontenc". > > What should I do to make the pdf searchable with the org exporter ? I would try to remove the relevant entry from `org-latex-default-packages-alist'. Did you try this? -- Bastien