[Okular-devel] [Bug 311045] New: Search strings should be parsable from the command-line
Florian Moretz
comeniusmar at gmail.com
Sun Dec 2 21:30:06 UTC 2012
https://bugs.kde.org/show_bug.cgi?id=311045
Bug ID: 311045
Severity: wishlist
Version: 0.15.3
Priority: NOR
Assignee: okular-devel at kde.org
Summary: Search strings should be parsable from the
command-line
Classification: Unclassified
OS: Linux
Reporter: comeniusmar at gmail.com
Hardware: Ubuntu Packages
Status: UNCONFIRMED
Component: PDF backend
Product: okular
Evince offers a command-line argument that allows users to parse a search
string into the search field. For instance,
evince --find=searchterm document.pdf
will open the document with "searchterm" in the search field. Invoking the
search field - e.g. by hitting CTRL+F - then searches through the document for
"searchterm".
The key application of this feature is the integration of PDF viewers into
document indexers such as Recoll
(http://www.lesbonscomptes.com/recoll/release-1.18.html).
As of its newest release, Recoll supports the indexing of phrases in the
context of their position within the document. If a corresponding match is
found Recoll directly parses the page number and the stemmed search term to
evince. You can see the feature in action here:
https://www.youtube.com/watch?v=GeeIBP8PbGE
One important note: Evince only searches through the document after activating
its search field. This option is important as searching through large PDF
documents can be ressource heavy at times. If the instance of the search term
is obvious enough on the page, e.g. in case of a heading, a search might be
unnecessary. Giving the user the option to either use the automatic search or
manually scan through the page for the search term alleviates this.
Proposal:
Add a command-line option akin to the one in Evince, which allows parsing
search terms to Okular's search field. Optionally add a command line switch
that determines whether Okular immediately engages in a search upon opening the
document or only after activating the search field.
-------------------------------------------------------------------------------------------------------------------------
Summary:
Adding a command-line option to parse search strings into okular would
significantly improve its integration with powerful indexing tools such as
Recoll
Reproducible: Always
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list