I want to merge PDF and keep the link to named destination. I'm able to recreate the link but in order that it works, I need also to have the named destination existing in the output PDF. I could do it with pypdf but I would like to do it with pymupdf. In order to insert the link, I use these lines: for l in page.get_links(): if l["kind"] == pymupdf.LINK_NAMED: pageoutput = outpdf[ref_newpage] pageoutput.insert_link(l) => the link is created at the correct page/position but when I click on it, nothing happens. If I open my PDF with PDF-XChange Editor, the input PDF has destinations but the output have none. Continue reading...