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 emptyzathura
. 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.