The enum for `LINK_NAMED` was missing from the `dest.kind`: https://pymupdf.readthedocs.io/en/latest/vars/#linkdest-kinds It seems that EPUB documents use `LINK_NAMED` in their ToC.