From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Nobis Subject: Re: fontenc makes pdf non-searchable Date: Mon, 23 Mar 2015 08:18:56 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35744) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZwdi-0006FQ-Hw for emacs-orgmode@gnu.org; Mon, 23 Mar 2015 03:19:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZwdd-0005Qz-PP for emacs-orgmode@gnu.org; Mon, 23 Mar 2015 03:19:10 -0400 Received: from basilikum.nobis-admin.de ([89.238.71.130]:37233) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZwdd-0005Qt-Gb for emacs-orgmode@gnu.org; Mon, 23 Mar 2015 03:19:05 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by basilikum.nobis-admin.de (Postfix) with ESMTP id 934117E0172 for ; Mon, 23 Mar 2015 08:19:03 +0100 (CET) Received: from basilikum.nobis-admin.de ([127.0.0.1]) by localhost (basilikum.nobis-admin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jsRWrQzTXDlH for ; Mon, 23 Mar 2015 08:18:57 +0100 (CET) Received: from karotte.fritz.box (f049140141.adsl.alicedsl.de [78.49.140.141]) by basilikum.nobis-admin.de (Postfix) with ESMTPSA for ; Mon, 23 Mar 2015 08:18:57 +0100 (CET) In-Reply-To: (Martin Leduc's message of "Sat, 21 Mar 2015 18:56:42 +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: emacs-orgmode@gnu.org Martin Leduc writes: > You can find a minimal example here[1], with the org file, and the > tex and pdf files generated from it. Firts try to search within the > pdf. It does not work (at least on my side) To solve the problem, > remove the line with \usepackage[T1]{fontenc} Your PDF is not generated with pdflatex (or a newer engine like lualatex), but with dvips and Ghostscript. Thus the fonts are not PS Type 1 fonts, but Type 3 fonts (bitmap instead of vector; therefore scaling/zooming will result in bad quality). I'm not quite sure if this is also the root cause of the inability to search. But if i recompile your tex-file (from [1]) with pdflatex, I get Type 1 fonts and have no problems with searching. Therefore I would suggest to switch the engine to pdflatex. Another hint: You should try the Latin Modern font (put a "\usepackage{lmodern}" after loading fontenc) -- it's the (technically) modern variant of Computer Modern (the old TeX default font). Lati Modern is available as OpenType font and has less problems with Unicode and special characters like german umlauts (=C3=A4, =C3=BC,...= ) or other non-ASCII letters. And maybe you should also have a look at biblatex[2] (as a much more flexible alternative to natbib). [1] https://www.dropbox.com/sh/7s6di4en5ljbkcq/AAAzyQeg6VkMHnC1X9dQTg6ua?dl= =3D0 [2] http://ctan.org/pkg/biblatex --=20 Until the next mail..., Stefan.