Skip to content

Support '#page=<pagenum>' fragment to open document at page <pagenum>

Support the #page=<pagenum> fragment to specify which page to open the document at, in addition to the existing #<pagenum> syntax. For PDF, the #page=<pagenum> fragment is specified in RFC 8118, section 3.

This e.g. allows to open a PDF document at page 3 using this command, as requested in bug 406831:

okular "file:///path/to/file.pdf#page=3"

PS: This is a continuation of Phabricator change D20868. Sorry for the massive delay.

Merge request reports