help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: doc-view.el now allows searching


From: Bill Clementson
Subject: Re: doc-view.el now allows searching
Date: Fri, 31 Aug 2007 09:38:59 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin)

Hi Tassilo,

Tassilo Horn <tassilo@member.fsf.org> writes:

> Bill Clementson <billclem@gmail.com> writes:
>> Alternatively, as each matching page is displayed with "C-S-n",
>> perhaps you could display at the bottom of the page the matches on
>> that page with a certain amount of context - (e.g. - 10 words on
>> either side of each match).
>
> Now I display the line containing the match at the bottom.  It's
> possible that you have to delete the TXT files from the cache, because
> this required a new option to pdftotext, so that the lines in the PDF
> match the lines in the TXT file.

Great - that looks really nice. 

I tried some searches on a number of different files and they almost
all worked fine. However, when I tried searching Peter Seibel's
Practical Common Lisp PDF book (free download from Apress:
http://www.apress.com/free/index.html), there were mismatches between
the page that was displayed and the matching text. The page number
corresponded to the page number that was displayed; however, the
search term wasn't on the page. The line containing the match was
displayed correctly; however, it was for a page later in the
document. This seemed to happen for any searches I did of the PCL pdf
file.

First, I thought it might have something to do with the size of the
pdf file or blank pages not being counted; however, searches of the
sicp.pdf book all seemed to produce correct results, so I'm not sure
why the search functionality doesn't work properly in some instances.

- Bill





reply via email to

[Prev in Thread] Current Thread [Next in Thread]