Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am reading a PDF document in Ubuntu 11.04 using the default "Document Viewer". The document is more than 500 pages and it takes a while to complete a "Find ..." for a particular text. Is there a way to index the PDF documents on the above mentioned platform? I am looking for a functionality inbuilt into the reader itself.

share|improve this question
add comment

3 Answers

up vote 1 down vote accepted

I'm not sure any of the pdf readers support text indexing - probably because the indexing itself would be rather expensive and pdf files opened and closed 'ad-hoc'

However, I've done some testing and can see that okular - the default viewer from KDE - has much faster search than evince (the default viewer from Ubuntu). I.e. it takes maybe a second for okular to scan the whole 500-page document, while evince spends ~5 sec on the same task.

You can install it by typing

sudo apt-get install okular 

(or just search for it in the Software Center)

if this is the first KDE program on your machine it would require installing quite a bit of dependencies, but it may be well worth it - I'm finding KDE programs generally more capable then their Gnome counterparts... Okular supports pdf annotations, for example, which is also useful sometimes.

share|improve this answer
    
Sergey - I am using gnome. As you mentioned a lot of kde dependencies also need to be installed. How risky is it to install the kde dependencies? I don't want to get into the trouble of installing the whole OS again. Thanks for the help. –  Praveen Sripati Sep 8 '11 at 13:06
    
It's about as risky as crossing a road - millions of people do this every day but well, there's a small chance something may go wrong - just as with installing any other software. Actually, I think it's even totally normal to have Gnome, KDE and XFCE desktops installed at the same time and switch between them... –  Sergey Sep 8 '11 at 23:36
    
Thanks Sergey - Okular is cool - the annotations feature is really nice. –  Praveen Sripati Sep 9 '11 at 1:04
    
@PraveenSripati if you are worried about Okular's dependencies you might want to try out qpdfview. Pleae see my answer below for more details. –  Glutanimate Apr 11 '13 at 21:49
add comment

Alternate PDF viewer


Overview

A very lightweight and fast alternative to Okular that doesn't come with any of its KDE dependencies is qpdfview. It's still in beta but I found it to be just as stable as its big counterparts. Search performance is fantastic and at least on par with Okular.

Installation

Qpdfview ist not yet available in the official repositories but can be easily installed from the developer's PPA by typing:

sudo add-apt-repository ppa:b-eltzner/qpdfview && apt-get update
sudo apt-get install qpdfview

PDF indexing


Overview

I wasn't able to find an alternative to Adobe Acrobat's indexing capabilities on Linux and it appears that's because embedded indexes still aren't part of open PDF standards.

However, there are a number of very powerful desktop search engines out there that are both faster and more efficient in PDF indexing than Adobe's proprietary tools. Tracker has been mentioned already but there are other apps out there as well. You can find a very thorough comparison here.

share|improve this answer
add comment

Tracker can index your pdf documents. It is very fast and reliable.

If you don't use this great tool yet, you can configure it to only index your pdf documents: Alt+F2 then paste tracker-preferences go to "Locations" and choose the folder of your pdf.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.