[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
- Re: doc-view.el now allows searching, (continued)
- Re: doc-view.el now allows searching (was: doc-view.el --- View PDF/PostStript/DVI files in Emacs), Joost Kremers, 2007/08/31
- Re: doc-view.el now allows searching, Tassilo Horn, 2007/08/31
- Re: doc-view.el now allows searching, Joost Kremers, 2007/08/31
- Re: doc-view.el now allows searching, Joost Kremers, 2007/08/31
- Re: doc-view.el now allows searching, Tassilo Horn, 2007/08/31
- Message not available
- Re: doc-view.el now allows searching, Tassilo Horn, 2007/08/31
- Re: doc-view.el now allows searching, Bill Clementson, 2007/08/31
- Re: doc-view.el now allows searching, Peter Dyballa, 2007/08/31
- Re: doc-view.el now allows searching,
Bill Clementson <=
- Message not available
- Re: doc-view.el now allows searching, Tassilo Horn, 2007/08/31
- Message not available
- Re: doc-view.el now allows searching, Tassilo Horn, 2007/08/31
- Re: doc-view.el now allows searching, Bill Clementson, 2007/08/31
- Message not available
- Re: doc-view.el now allows searching, Tassilo Horn, 2007/08/31
- Re: doc-view.el now allows searching, Bill Clementson, 2007/08/31
- Message not available
- Re: doc-view.el --- View PDF/PostStript/DVI files in Emacs, Tassilo Horn, 2007/08/30
- Re: doc-view.el --- View PDF/PostStript/DVI files in Emacs, Tassilo Horn, 2007/08/30
- Re: doc-view.el --- View PDF/PostStript/DVI files in Emacs, Daniel Jensen, 2007/08/30
- Re: doc-view.el --- View PDF/PostStript/DVI files in Emacs, Tassilo Horn, 2007/08/30
- Re: doc-view.el --- View PDF/PostStript/DVI files in Emacs, Xavier Maillard, 2007/08/29