Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Z zathura
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 153
    • Issues 153
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pwmt
  • zathura
  • Issues
  • #105
Closed
Open
Created Sep 20, 2019 by Roland Puntaier@rpuntaie

zathura does not follow links to same or other pdf

I compared zathura with xpdf:

  • xpdf can follow links to same or other PDFs
  • zathura does NOT follow links to same or other PDFs

To reproduce:

  • a.rst
.. _`targetid`:

:target: goes here

See |targetid|.

.. |targetid| replace:: `target <a.pdf#targetid>`__

EOF
  • make pdf
    pandoc --standalone -f rst -t latex a.rst -o a.pdf
  • start zathura
    zathura a.pdf
  • F1 shows
    file://a.pdf#targetid

but expected:

    file:///a.pdf#targetid
  • f1 opens an empty zathura. Expected: jump to the target location.

Zathura should evaluate the URI before calling xdg-open:

  • split at #
  • remove file://
  • make absolute directory

If the file is the currently open file,

  • zathura should jump to the location.

If the file is different,

  • zathura should call xdg-open, but with 3 slashes in the file URL.
Assignee
Assign to
Time tracking