Zotero not picking up page labels in attachment PDF

I've got a 32-page PDF attachment which has page labels in it. When I open it with Zotero, it doesn't see the correct labels. Instead pages 1-13 are "-" and from 14 on the labels start at 1. The file has three different runs of names: p. 1 is "Cover", then numbered with digits, then on p. 26 "Plate X" until the end.

When using qpdf to create a smaller version of the file that has the same problem, I find that I can shorten the file from the end and eventually it will be ok. I can also remove some of the pages from the middle (just the 22nd page, for example) and it will be ok.

python (using pypdf), Adobe Reader, and macOS Preview all read the page labels correctly.

Happy to share the file, if that helps.
Sign In or Register to comment.