Export Inkscape SVGs to PDF while preserving hyperlinks (including internally linked fragment links).
Install it from AUR: yay -S svglinkify-git
This script depends on recent versions of:
Once you've created an SVG with hyperlinks, run:
./svglinkify.py input.svg output.pdf
See the demo video.