Skip to content

Improve support for Adobe PDF open parameters

Nelson Ben requested to merge uri_page_fragment into main

This commit adds partial support for Adobe PDF open parameters, specifically we added the page and nameddest parameters, which are similar to Evince's --named-dest and --page-label commandline options respectively.

Some examples of the new parameters supported:

Evince previously only supported a number-only parameter for opening a page upon loading the document, eg:

This support is kept.

Evince already supported passing a file URI in addition to a filename, but the number-only page parameter didn't work when using it in a URI (as described in #2044 (closed)) nor did it work when opening a pdf URI from within an existant pdf (see this testcase pdf).

So, this commit fixes those issues and also updates the Evince man page to:

  • Inform of new page and nameddest open parameters.
  • Inform that a file URI can also be passed.
  • Fix dead links.

Fixes #2044 (closed)

Edited by Nelson Ben

Merge request reports

Loading