From mboxrd@z Thu Jan 1 00:00:00 1970 From: dboyd2@mmm.com (J. David Boyd) Subject: Re: fontenc makes pdf non-searchable Date: Mon, 23 Mar 2015 12:07:23 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ya4tF-0002aZ-07 for emacs-orgmode@gnu.org; Mon, 23 Mar 2015 12:07:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ya4tA-0004RI-78 for emacs-orgmode@gnu.org; Mon, 23 Mar 2015 12:07:44 -0400 Received: from plane.gmane.org ([80.91.229.3]:55776) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ya4tA-0004RB-0x for emacs-orgmode@gnu.org; Mon, 23 Mar 2015 12:07:40 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ya4t6-0000T7-FV for emacs-orgmode@gnu.org; Mon, 23 Mar 2015 17:07:37 +0100 Received: from 169.15.136.127 ([169.15.136.127]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Mar 2015 17:07:36 +0100 Received: from dboyd2 by 169.15.136.127 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Mar 2015 17:07:36 +0100 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 Stefan Nobis writes: > 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 (ä, ü,...) 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=0 > [2] http://ctan.org/pkg/biblatex And how did you determine that please? And how would it be switched? Dave