Hyperlink to a specific PDF page?

I know how to add a link to a PDF document. When I click on it, it opens it with my default PDF reader.
How can I choose at which page to open this link?

Thanks!

In theory, it would only be possible using a fragment part of URI (i.e., the string after #), and would depend on the PDF viewer’s ability to handle the fragment (and the syntax it expects, which might be application-dependent); but e.g. on Windows, this would be impossible at all, since fragments are stripped before launching the application.

Hello,

as far as I understand you can’t achieve that (not talking about macros):

  • Standard PDF readers open specific pages by using an option + argument (okular: --page <number>; evince: --page-index=NUMMER
  • You can’t pass an option + argument to the standard PDF viewer via Hyperlink feature of Calc

The only way this could work would be to find a PDF viewer supporting a url#<page> nomenclature. I’m not aware of any of the PDF viewers on Linux having this support.

“not talking about macros” Do you have an idea with macro? I can code a macro (I’ve already dipped into it) but I can’t figure how for this case.