links to annotations on pages with roman numeral pageLabels do not work

Zotero 7.0.30
Obsidian 1.10.6
Adobe Acrobat
Zotero Integration

I annotate PDFs using Acrobat. I use Zotero Integration to import those annotations from Zotero into Obsidian. This all works flawlessly, except when annotations are on pages with roman numeral pageLabels, typically frontmatter.

This is a snippet from my latest attempt: {%- elif annotation.annotatedText %}
{{annotation.annotatedText}}[(p. {{annotation.pageLabel}})]({{annotation.desktopURI}})

The link, and other variations I have tried, opens up the PDF to the correct page when the pageLabel is an arabic number. However, in all cases where the pageLabel is a roman numeral, it merely opens up the PDF, usually to its first physical page, with a dialog box stating "There is no page numbered 'NaN' (Not a Number) in this document."

Is there a solution for this issue?
Sign In or Register to comment.