11

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.

3 Answers 3

4

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.

1

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.

4
  • 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. Sep 8, 2011 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, 2011 at 23:36
  • Thanks Sergey - Okular is cool - the annotations feature is really nice. Sep 9, 2011 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. Apr 11, 2013 at 21:49
1

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .