From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Leduc Subject: fontenc makes pdf non-searchable Date: Sat, 21 Mar 2015 04:47:28 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_8349e936-8bc2-44e4-b4aa-c9bcb3116792_" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZBJt-0000XQ-2r for emacs-orgmode@gnu.org; Sat, 21 Mar 2015 00:47:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZBJp-00080w-Qa for emacs-orgmode@gnu.org; Sat, 21 Mar 2015 00:47:33 -0400 Received: from blu004-omc1s33.hotmail.com ([65.55.116.44]:62456) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZBJp-00080p-MD for emacs-orgmode@gnu.org; Sat, 21 Mar 2015 00:47:29 -0400 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" --_8349e936-8bc2-44e4-b4aa-c9bcb3116792_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all=2C I'm using org-mode to write a paper and export it to a pdf. It compiles j= ust fine.=20 However=2C when opening the experted pdf (with evince or okular) and search= ing for a word=2C the output from the search function is a list of words wi= th apparently incorrect character encoding.=20 I get the same result when compiling directly the exported tex file. Howeve= r=2C if I remove the line: \usepackage[T1]{fontenc} the compiled pdf becomes correctly interpreted by the search function. Acco= rding to the documentation of the org-article latex class=2C "There=0A= is no facility to disable loading fontenc". What should I do to make the pdf searchable with the org exporter ? Thanks=2C Martin = --_8349e936-8bc2-44e4-b4aa-c9bcb3116792_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi all=2C
 =3B I'm using = org-mode to write a paper and export it to a pdf. It compiles just fine.
However=2C when opening the experted pdf (with evince or okular) and = searching for a word=2C the output from the search function is a list of wo= rds with apparently incorrect character encoding.

I get the same re= sult when compiling directly the exported tex file. However=2C if I remove = the line:

\usepackage[T1]{fontenc}

the compiled pdf becomes c= orrectly interpreted by the search function. According to the documentation= of the org-article latex class=2C "There=0A= is no facility to disable loading fontenc".

What should I do to make= the pdf searchable with the org exporter ?

Thanks=2C
Martin
<= br>
= --_8349e936-8bc2-44e4-b4aa-c9bcb3116792_-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: William Denton Subject: Re: fontenc makes pdf non-searchable Date: Sat, 21 Mar 2015 12:24:31 -0400 (EDT) Message-ID: References: Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="658601964-1241096964-1426955071=:26756" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50542) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZMCU-0000fs-3o for emacs-orgmode@gnu.org; Sat, 21 Mar 2015 12:24:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZMCQ-0002yM-Qg for emacs-orgmode@gnu.org; Sat, 21 Mar 2015 12:24:38 -0400 Received: from shell.miskatonic.org ([65.39.236.119]:44828) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZMCQ-0002wx-NR for emacs-orgmode@gnu.org; Sat, 21 Mar 2015 12:24:34 -0400 In-Reply-To: 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" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --658601964-1241096964-1426955071=:26756 Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable On 21 March 2015, Martin Leduc wrote: > I'm using org-mode to write a paper and export it to a pdf. It compiles= just fine. > > However, when opening the experted pdf (with evince or okular) and sear= ching 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. Ho= wever, 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". That seems odd to me. Can you provide an ECM, a minimal complete example= , that=20 causes this problem? Bill --=20 William Denton =E2=86=94 Toronto, Canada =E2=86=94 https://www.miskaton= ic.org/ --658601964-1241096964-1426955071=:26756-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Leduc Subject: Re: fontenc makes pdf non-searchable Date: Sat, 21 Mar 2015 18:56:42 +0000 Message-ID: References: , Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_3c6e66ad-c2bb-4d29-974e-53bd894068c5_" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZOZk-0002cV-AB for emacs-orgmode@gnu.org; Sat, 21 Mar 2015 14:56:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZOZg-0002JS-0J for emacs-orgmode@gnu.org; Sat, 21 Mar 2015 14:56:48 -0400 Received: from blu004-omc4s11.hotmail.com ([65.55.111.150]:60383) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZOZf-0002JO-Sw for emacs-orgmode@gnu.org; Sat, 21 Mar 2015 14:56:43 -0400 In-Reply-To: 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: William Denton Cc: "emacs-orgmode@gnu.org" --_3c6e66ad-c2bb-4d29-974e-53bd894068c5_ Content-Type: text/plain; charset="ks_c_5601-1987" Content-Transfer-Encoding: base64 VGhhbmtzIGZvciB5b3VyIHJlc3BvbnNlIEJpbGwuDQoNCllvdSBjYW4gZmluZCBhIG1pbmltYWwg ZXhhbXBsZSBoZXJlLCB3aXRoIHRoZSBvcmcgZmlsZSwgYW5kIHRoZSB0ZXggYW5kIHBkZiBmaWxl cyBnZW5lcmF0ZWQgZnJvbSBpdC4gRmlydHMgdHJ5IHRvIHNlYXJjaCB3aXRoaW4gdGhlIHBkZi4g SXQgZG9lcyBub3Qgd29yayAoYXQgbGVhc3Qgb24gbXkgc2lkZSkgVG8gc29sdmUgdGhlIHByb2Js ZW0sIHJlbW92ZSB0aGUgbGluZSB3aXRoIA0KXHVzZXBhY2thZ2VbVDFde2ZvbnRlbmN9DQoNCmlu IHRoZSB0ZXggZmlsZSwgYW5kIGNvbXBpbGUgaXQuIEl0IHNob3VsZCBub3cgc2VhcmNoIG5vcm1h bGx5Lg0KDQpNYXJ0aW4gDQoNCg0KPiBEYXRlOiBTYXQsIDIxIE1hciAyMDE1IDEyOjI0OjMxIC0w NDAwDQo+IEZyb206IHd0ZEBwb2JveC5jb20NCj4gVG86IG1hcnRfMDBAaG90bWFpbC5jb20NCj4g Q0M6IGVtYWNzLW9yZ21vZGVAZ251Lm9yZw0KPiBTdWJqZWN0OiBSZTogW09dIGZvbnRlbmMgbWFr ZXMgcGRmIG5vbi1zZWFyY2hhYmxlDQo+IA0KPiBPbiAyMSBNYXJjaCAyMDE1LCBNYXJ0aW4gTGVk dWMgd3JvdGU6DQo+IA0KPiA+IEknbSB1c2luZyBvcmctbW9kZSB0byB3cml0ZSBhIHBhcGVyIGFu ZCBleHBvcnQgaXQgdG8gYSBwZGYuIEl0IGNvbXBpbGVzIGp1c3QgZmluZS4NCj4gPg0KPiA+IEhv d2V2ZXIsIHdoZW4gb3Blbmlu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mIHRoZSBvcmctYXJ0aWNsZSBsYXRleCBjbGFzcywgIlRoZXJl IGlzIG5vIGZhY2lsaXR5IHRvIGRpc2FibGUgbG9hZGluZyBmb250ZW5jIi48YnI+Jmd0OyA8YnI+ Jmd0OyBUaGF0IHNlZW1zIG9kZCB0byBtZS4gIENhbiB5b3UgcHJvdmlkZSBhbiBFQ00sIGEgbWlu aW1hbCBjb21wbGV0ZSBleGFtcGxlLCB0aGF0IDxicj4mZ3Q7IGNhdXNlcyB0aGlzIHByb2JsZW0/ PGJyPiZndDsgPGJyPiZndDsgQmlsbDxicj4mZ3Q7IC0tIDxicj4mZ3Q7IFdpbGxpYW0gRGVudG9u IDxpbWcgc3JjPSJodHRwczovL2EuZ2Z4Lm1zL2Vtb2ppXzAyMTk0LnBuZyIgY2xhc3M9IkVtb2pp JDAyMTk0JEFDMiBSZW5kZXJlZEVtb2ppIiB0aXRsZT0iRmxlY2hlIGRyb2l0ZSBldCBnYXVjaGUi IGFsdD0iRmxlY2hlIGRyb2l0ZSBldCBnYXVjaGUiPiAgVG9yb250bywgQ2FuYWRhIDxpbWcgc3Jj PSJodHRwczovL2EuZ2Z4Lm1zL2Vtb2ppXzAyMTk0LnBuZyIgY2xhc3M9IkVtb2ppJDAyMTk0JEFD MiBSZW5kZXJlZEVtb2ppIiB0aXRsZT0iRmxlY2hlIGRyb2l0ZSBldCBnYXVjaGUiIGFsdD0iRmxl Y2hlIGRyb2l0ZSBldCBnYXVjaGUiPiAgaHR0cHM6Ly93d3cubWlza2F0b25pYy5vcmcvPGJyPjwv ZGl2PiAJCSAJICAgCQkgIDwvZGl2PjwvYm9keT4NCjwvaHRtbD4= --_3c6e66ad-c2bb-4d29-974e-53bd894068c5_-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: William Denton Subject: Re: fontenc makes pdf non-searchable Date: Sun, 22 Mar 2015 13:56:45 -0400 (EDT) Message-ID: References: , Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="658601964-1221323325-1427041764=:21803" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47627) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZk7H-0000OI-Eo for emacs-orgmode@gnu.org; Sun, 22 Mar 2015 13:56:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZk7E-00054R-4o for emacs-orgmode@gnu.org; Sun, 22 Mar 2015 13:56:51 -0400 Received: from shell.miskatonic.org ([65.39.236.119]:56295) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZk7E-00054N-1M for emacs-orgmode@gnu.org; Sun, 22 Mar 2015 13:56:48 -0400 In-Reply-To: Content-ID: 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" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --658601964-1221323325-1427041764=:21803 Content-Type: TEXT/PLAIN; CHARSET=UTF-8; format=flowed Content-ID: Content-Transfer-Encoding: quoted-printable On 21 March 2015, Martin Leduc wrote: > 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} > > in the tex file, and compile it. It should now search normally. "It works for me" is all I can say, which isn't too helpful. Everything = happens=20 as it should, and I can search the PDF (in evince). Maybe it's something= with=20 your LaTeX setup? Sorry I can't suggest anything more. Bill [1] https://www.dropbox.com/sh/7s6di4en5ljbkcq/AAAzyQeg6VkMHnC1X9dQTg6ua?= dl=3D0 --=20 William Denton =E2=86=94 Toronto, Canada =E2=86=94 https://www.miskaton= ic.org/ --658601964-1221323325-1427041764=:21803-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Leduc Subject: Re: fontenc makes pdf non-searchable Date: Sun, 22 Mar 2015 23:52:05 +0000 Message-ID: References: , , Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_81270388-b51c-4362-a830-b418e1090c83_" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZpf8-0000dT-Ky for emacs-orgmode@gnu.org; Sun, 22 Mar 2015 19:52:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZpf5-00031q-Dc for emacs-orgmode@gnu.org; Sun, 22 Mar 2015 19:52:10 -0400 Received: from blu004-omc4s17.hotmail.com ([65.55.111.156]:55194) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZpf5-00031P-9F for emacs-orgmode@gnu.org; Sun, 22 Mar 2015 19:52:07 -0400 In-Reply-To: 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: William Denton Cc: "emacs-orgmode@gnu.org" --_81270388-b51c-4362-a830-b418e1090c83_ Content-Type: text/plain; charset="ks_c_5601-1987" Content-Transfer-Encoding: base64 SGV5ICBmaW5hbGx5IHlvdXIgcmVzcG9uc2UgaGVscGVkIG1lIGEgbG90LCB0aGF0IGlzIHRoZSBw cm9ibGVtIHdhcyBwcm9iYWJseSBvbiBteSBzaWRlLg0KDQpJIHNvbHZlZCBpdCBieSBpbnN0YWxs aW5nIHRoZSBwYWNrYWdlIGNtLXN1cGVyLCBhcyBzdWdnZXN0ZWQgaGVyZS4gSSBzdGlsbCBjYW4n dCBzZWFyY2ggaW4gdGhlIHBkZiBJIGdhdmUgeW91IChhbmQgc3RpbGwgd29uZGVyaW5nIHdoeSBZ T1UgY2FuKSwgYnV0IHJlLWV4c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mNlKS4gIE1heWJlIGl0J3Mgc29tZXRoaW5nIHdpdGggDQo+IHlvdXIgTGFUZVgg c2V0dXA/ICBTb3JyeSBJIGNhbid0IHN1Z2dlc3QgYW55dGhpbmcgbW9yZS4NCj4gDQo+IEJpbGwN Cj4gDQo+IFsxXSBodHRwczovL3d3dy5kcm9wYm94LmNvbS9zaC83czZkaTRlbjVsamJrY3EvQUFB enlRZWc2VmtNSG5DMVg5ZFFUZzZ1YT9kbD0wDQo+IA0KPiAtLSANCj4gV2lsbGlhbSBEZW50b24g oeogIFRvcm9udG8sIENhbmFkYSCh6iAgaHR0cHM6Ly93d3cubWlza2F0b25pYy5vcmcvDQogCQkg CSAgIAkJICA= --_81270388-b51c-4362-a830-b418e1090c83_ Content-Type: text/html; charset="ks_c_5601-1987" Content-Transfer-Encoding: base64 PGh0bWw+DQo8aGVhZD4NCjxzdHlsZT48IS0tDQouaG1tZXNzYWdlIFANCnsNCm1hcmdpbjowcHg7 DQpwYWRkaW5nOjBweA0KfQ0KYm9keS5obW1lc3NhZ2UNCnsNCmZvbnQtc2l6ZTogMTJwdDsNCmZv bnQtZmFtaWx5OkNhbGlicmkNCn0NCi0tPjwvc3R5bGU+PC9oZWFkPg0KPGJvZHkgY2xhc3M9J2ht bWVzc2FnZSc+PGRpdiBkaXI9J2x0cic+SGV5Jm5ic3A7IGZpbmFsbHkgeW91ciByZXNwb25zZSBo ZWxwZWQgbWUgYSBsb3QsIHRoYXQgaXMgdGhlIHByb2JsZW0gd2FzIHByb2JhYmx5PHNwYW4+IDwv c3Bhbj5vbiBteSBzaWRlLjxzcGFuPjwvc3Bhbj48YnI+PGJyPkkgc29sdmVkIGl0IGJ5IGluc3Rh bGxpbmcgdGhlIHBhY2thZ2UgPGNvZGU+Y20tc3VwZXIsIGFzIHN1Z2dlc3RlZCA8YSBocmVmPSJo dHRwOi8vd3d3Lm1vbnBlcnJ1cy5uZXQvbWFydGluL3Byb2R1Y2luZytzZWFyY2hhYmxlK2FuZCtj b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B0aXRsZT0iRmxlY2hlIGRyb2l0ZSBldCBnYXVjaGUiIGFsdD0i RmxlY2hlIGRyb2l0ZSBldCBnYXVjaGUiPiAgaHR0cHM6Ly93d3cubWlza2F0b25pYy5vcmcvPGJy PjwvZGl2PiAJCSAJICAgCQkgIDwvZGl2PjwvYm9keT4NCjwvaHRtbD4= --_81270388-b51c-4362-a830-b418e1090c83_-- 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. 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 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 18:10:55 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54014) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ya5se-0004kI-9I for emacs-orgmode@gnu.org; Mon, 23 Mar 2015 13:11:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ya5sY-0007mU-7w for emacs-orgmode@gnu.org; Mon, 23 Mar 2015 13:11:12 -0400 Received: from basilikum.nobis-admin.de ([89.238.71.130]:40355) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ya5sX-0007mE-Vx for emacs-orgmode@gnu.org; Mon, 23 Mar 2015 13:11:06 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by basilikum.nobis-admin.de (Postfix) with ESMTP id 44ACB7E5338 for ; Mon, 23 Mar 2015 18:11:04 +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 x8dcb2Ldx_YX for ; Mon, 23 Mar 2015 18:10:55 +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 18:10:55 +0100 (CET) In-Reply-To: (J. David Boyd's message of "Mon, 23 Mar 2015 12:07:23 -0400") 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 dboyd2@mmm.com (J. David Boyd) writes: > And how did you determine that please? I assume you mean how I determined that the PDF has been produced by dvips and Ghostscript. In this case: I've just looked into the document information of the PDF file. For example with Acrobat Reader I just press CMD+D, with Apple Preview its CMD+I (look out in the menus for document information or properties). In this document information there is somewhere a line like "PDF creator". If the PDF is created with pdftex or pdflatex, this line should read something like "pdfTeX-1.40.15". Each PDF viewer shows a different degree of details about the file. For example with Apple Preview I do not see the used fonts, these are only shown by Acrobat Reader (or command line tools like pdffonts from xpdf). > And how would it be switched? The default settings of org-mode uses pdflatex. The compilation process is configurable via the variable org-latex-pdf-process. I don't know why and how Martin used dvips+gs. Maybe he just generated the tex file with org and used another tool for generating PDF. Or maybe he customized org-latex-pdf-process. -- Until the next mail..., Stefan. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Leduc Subject: Re: fontenc makes pdf non-searchable Date: Mon, 23 Mar 2015 22:50:13 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_d224daea-29fd-4a84-b078-df8c25c0f484_" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaBAo-0003jW-Hj for emacs-orgmode@gnu.org; Mon, 23 Mar 2015 18:50:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YaBAl-0004tA-23 for emacs-orgmode@gnu.org; Mon, 23 Mar 2015 18:50:18 -0400 Received: from blu004-omc4s9.hotmail.com ([65.55.111.148]:54621) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaBAk-0004t6-Tr for emacs-orgmode@gnu.org; Mon, 23 Mar 2015 18:50:14 -0400 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: Stefan Nobis Cc: "emacs-orgmode@gnu.org" --_d224daea-29fd-4a84-b078-df8c25c0f484_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable You're right=2C I customized org-latex-pdf-process=2C which now call a scri= pt that basically does latex/dvips/ps2pdf.=20 I cannot use pdflatex since my figures are from eps images. Martin dboyd2 mmm.com (J. David Boyd) writes:=0A= =0A= > And how did you determine that please?=0A= =0A= I assume you mean how I determined that the PDF has been produced by=0A= dvips and Ghostscript. In this case: I've just looked into the=0A= document information of the PDF file. For example with Acrobat Reader=0A= I just press CMD+D=2C with Apple Preview its CMD+I (look out in the=0A= menus for document information or properties).=0A= =0A= In this document information there is somewhere a line like "PDF=0A= creator". If the PDF is created with pdftex or pdflatex=2C this line=0A= should read something like "pdfTeX-1.40.15".=0A= =0A= Each PDF viewer shows a different degree of details about the file.=0A= For example with Apple Preview I do not see the used fonts=2C these are=0A= only shown by Acrobat Reader (or command line tools like pdffonts from=0A= xpdf).=0A= =0A= > And how would it be switched?=0A= =0A= The default settings of org-mode uses pdflatex. The compilation=0A= process is configurable via the variable org-latex-pdf-process.=0A= =0A= I don't know why and how Martin used dvips+gs. Maybe he just generated=0A= the tex file with org and used another tool for generating PDF. Or=0A= maybe he customized org-latex-pdf-process.=0A= =0A= -- =0A= Until the next mail...=2C=0A= Stefan. = --_d224daea-29fd-4a84-b078-df8c25c0f484_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
You're right=2C I customize=
d org-latex-pdf-process=2C which now call a script that basically does late=
x/dvips/ps2pdf. 
I cannot use pdflatex since my figures are from eps ima= ges.

Martin


dboyd2 <=3Bat>=3B mmm.com (J. David Boyd)= writes:=0A= =0A= >=3B And how did you determine that please?=0A= =0A= I assume you mean how I determined that the PDF has been produced by=0A= dvips and Ghostscript. In this case: I've just looked into the=0A= document information of the PDF file. For example with Acrobat Reader=0A= I just press CMD+D=2C with Apple Preview its CMD+I (look out in the=0A= menus for document information or properties).=0A= =0A= In this document information there is somewhere a line like "PDF=0A= creator". If the PDF is created with pdftex or pdflatex=2C this line=0A= should read something like "pdfTeX-1.40.15".=0A= =0A= Each PDF viewer shows a different degree of details about the file.=0A= For example with Apple Preview I do not see the used fonts=2C these are=0A= only shown by Acrobat Reader (or command line tools like pdffonts from=0A= xpdf).=0A= =0A= >=3B And how would it be switched?=0A= =0A= The default settings of org-mode uses pdflatex. The compilation=0A= process is configurable via the variable org-latex-pdf-process.=0A= =0A= I don't know why and how Martin used dvips+gs. Maybe he just generated=0A= the tex file with org and used another tool for generating PDF. Or=0A= maybe he customized org-latex-pdf-process.=0A= =0A= -- =0A= Until the next mail...=2C=0A= Stefan.
= --_d224daea-29fd-4a84-b078-df8c25c0f484_-- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Leduc Subject: Re: fontenc makes pdf non-searchable Date: Sat, 8 Aug 2015 02:30:14 +0000 Message-ID: References: , <87r3nizjrf.fsf@free.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_5f98a4b3-7c95-4175-8a30-5f1a157af420_" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53291) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNtts-0007xE-Dd for emacs-orgmode@gnu.org; Fri, 07 Aug 2015 22:30:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNttr-0001Rr-Af for emacs-orgmode@gnu.org; Fri, 07 Aug 2015 22:30:20 -0400 In-Reply-To: <87r3nizjrf.fsf@free.fr> 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: Bastien Guerry Cc: "emacs-orgmode@gnu.org" --_5f98a4b3-7c95-4175-8a30-5f1a157af420_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Bastien=2C thanks a lot for your response but I finally solved the issu= e by installing the package cm-super. Cheers=2C Martin > From: bzg@gnu.org > To: mart_00@hotmail.com > CC: emacs-orgmode@gnu.org > Subject: Re: fontenc makes pdf non-searchable > Date: Wed=2C 5 Aug 2015 02:00:52 +0200 >=20 > Hi Martin=2C >=20 > Martin Leduc writes: >=20 > > However=2C when opening the experted pdf (with evince or okular) and > > searching for a word=2C 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=2C 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=2C "There is no facility to disable loading fontenc". > > > > What should I do to make the pdf searchable with the org exporter ? >=20 > I would try to remove the relevant entry from > `org-latex-default-packages-alist'. Did you try this? >=20 > --=20 > Bastien = --_5f98a4b3-7c95-4175-8a30-5f1a157af420_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi Bastien=2C =3B thanks a l= ot for your response but I finally solved the issue by installing the packa= ge cm-super.
Cheers=2C
Martin

>=3B From: b= zg@gnu.org
>=3B To: mart_00@hotmail.com
>=3B CC: emacs-orgmode@gn= u.org
>=3B Subject: Re: fontenc makes pdf non-searchable
>=3B Dat= e: Wed=2C 5 Aug 2015 02:00:52 +0200
>=3B
>=3B Hi Martin=2C
&g= t=3B
>=3B Martin Leduc <=3Bmart_00@hotmail.com>=3B writes:
>= =3B
>=3B >=3B However=2C when opening the experted pdf (with evince= or okular) and
>=3B >=3B searching for a word=2C the output from th= e search function is a list
>=3B >=3B of words with apparently incor= rect character encoding.
>=3B >=3B
>=3B >=3B I get the same r= esult when compiling directly the exported tex file.
>=3B >=3B Howev= er=2C if I remove the line:
>=3B >=3B
>=3B >=3B \usepackage[T= 1]{fontenc}
>=3B >=3B
>=3B >=3B the compiled pdf becomes corr= ectly interpreted by the search
>=3B >=3B function. According to the= documentation of the org-article latex
>=3B >=3B class=2C "There is= no facility to disable loading fontenc".
>=3B >=3B
>=3B >=3B= What should I do to make the pdf searchable with the org exporter ?
>= =3B
>=3B I would try to remove the relevant entry from
>=3B `org= -latex-default-packages-alist'. Did you try this?
>=3B
>=3B -- =
>=3B Bastien
= --_5f98a4b3-7c95-4175-8a30-5f1a157af420_-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: fontenc makes pdf non-searchable Date: Sat, 08 Aug 2015 10:48:15 +0200 Message-ID: <87lhdmcgj4.fsf@gnu.org> References: <87r3nizjrf.fsf@free.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37839) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNzno-00014M-Ep for emacs-orgmode@gnu.org; Sat, 08 Aug 2015 04:48:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNznj-0001uz-GV for emacs-orgmode@gnu.org; Sat, 08 Aug 2015 04:48:28 -0400 Received: from so1.mailgun.net ([198.61.254.11]:45998) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNznj-0001uU-1v for emacs-orgmode@gnu.org; Sat, 08 Aug 2015 04:48:23 -0400 In-Reply-To: (Martin Leduc's message of "Sat, 8 Aug 2015 02:30:14 +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" Martin Leduc writes: > Hi Bastien, thanks a lot for your response but I finally solved the > issue by installing the package cm-super. Thanks for confirming! -- Bastien