Deep linking within files

You could try this script but I’m not sure if it works reliably with PDFs