The page number of the link pointing to the pdf in the exported notes is incorrect but correct in an

I use zotero integration to export notes and annotations from zotero to obsidian, but I found that the page number of the link pointing to the pdf in the note is incorrect, I believe the number is the page number of the journal.

As shown below, the numbers of the note and annotation are the page number of the journal——282 . But in the pdf, it's the page number 2.

![QQ截图20231001192842](https://github.com/mgmeyers/obsidian-zotero-integration/assets/60170221/9c388c7a-45d5-460d-9df7-31579d78032b)

After importing the note and annotation of the same pdf, the note's page number remain on 282, but the page number of annotation turn to 2 which is correct on pdf.
```
# note:
[Go to annotation](zotero://open-pdf/library/items/S8GXSGC5?page=-&annotation=undefined) “Materials and methods” ([Jannasch 和 Wirsen, 1984, pp. -](zotero://select/library/items/U6BJAE5L))

# annotation:
Materials and methods [(p.2)](zotero://open-pdf/library/items/S8GXSGC5?page=2&annotation=7CZ8YFIQ)
```

Moreover, if I export the note via zotero, the page numbers are correct.
```
“Materials and methods” ([Jannasch 和 Wirsen, 1984, pp. -](zotero://select/library/items/U6BJAE5L)) ([pdf](zotero://open-pdf/library/items/S8GXSGC5?page=2))
```
However, I believe that this should not be a problem with zotero integration problem, but one with zotero, as I found that the note is provided by a single key called {{markdownNotes}}.

Does anyone know how to solve this problem?


Sign In or Register to comment.