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 13:56:42 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin)

Peter Dyballa <Peter_Dyballa@Web.DE> writes:

> Am 31.08.2007 um 18:38 schrieb Bill Clementson:
>
>>
>> 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.
>
> The reason is probably that pdftotext is used with the -raw option,
> which deletes all empty lines leading white space. There is another
> option: -layout.
>
> I think doc-view should check the number of pages first (pdfinfo
> <file> | grep -i pages | awk '{print $NF}'). If the number is greater
> 1 than -layout should be more appropriate ...
>
>
> BTW, -layout is bit faster!

I tried deleting the doc.txt file, changing the pdftotext parameter to
"-layout" and re-doing the search. Unfortunately, the results were the
save with the PCL pdf file.

- Bill





reply via email to

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