emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Martin Leduc <mart_00@hotmail.com>
To: William Denton <wtd@pobox.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: fontenc makes pdf non-searchable
Date: Sat, 21 Mar 2015 18:56:42 +0000	[thread overview]
Message-ID: <BLU181-W135779E9DD339510A5E0699A0F0@phx.gbl> (raw)
In-Reply-To: <alpine.DEB.2.02.1503211221490.26756@shell.miskatonic.org>

[-- Attachment #1: Type: text/plain, Size: 1426 bytes --]

Thanks for your response Bill.

You can find a minimal example here, 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.

Martin 


> Date: Sat, 21 Mar 2015 12:24:31 -0400
> From: wtd@pobox.com
> To: mart_00@hotmail.com
> CC: emacs-orgmode@gnu.org
> Subject: Re: [O] fontenc makes pdf non-searchable
> 
> 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 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".
> 
> That seems odd to me.  Can you provide an ECM, a minimal complete example, that 
> causes this problem?
> 
> Bill
> -- 
> William Denton ↔  Toronto, Canada ↔  https://www.miskatonic.org/
 		 	   		  

[-- Attachment #2: Type: text/html, Size: 2204 bytes --]

  reply	other threads:[~2015-03-21 18:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-21  4:47 fontenc makes pdf non-searchable Martin Leduc
2015-03-21 16:24 ` William Denton
2015-03-21 18:56   ` Martin Leduc [this message]
2015-03-22 17:56     ` William Denton
2015-03-22 23:52       ` Martin Leduc
2015-03-23  7:18     ` Stefan Nobis
2015-03-23 16:07       ` J. David Boyd
2015-03-23 17:10         ` Stefan Nobis
2015-08-05  0:00 ` Bastien Guerry
2015-08-08  2:30   ` Martin Leduc
2015-08-08  8:48     ` Bastien
2015-03-23 22:50 Martin Leduc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BLU181-W135779E9DD339510A5E0699A0F0@phx.gbl \
    --to=mart_00@hotmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=wtd@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).