Obsidian note link to PDF in DT opens PDF at [page-requested+1]

GIVEN that I’m reading a PDF in DT AND want to return to the page I’m reading later
WHEN I create an appropriate link in an Obsidian note AND I click on it
THEN DT displays the correct PDF one page after the page I specified

Example:
[Test Link](x-devonthink-item://F234FD76-D5E8-4F32-8E3D-3AB49213F9B4?page=3) is an MD note link to page 3 of a PDF in DT that will open at page 4, not page 3.

I’ve tried this on several PDFs and seen the same behaviour.

The same link structure does work in Zotero, which makes me wonder if there’s a (n-1) issue here.

1 Like

And another thing, there doesn’t seem to be any logic as to whether or not DT opens the linked file in a separate window. Some files do, others stay in the main preview pane.

What are the settings to control this behaviour?

1 Like

The index is zero-based, therefore page=0 is the first page.

2 Likes

There is nothing new in this behavior.
If the document is already open in a main or document window, that will be be shown.
If not, by default it will be opened in a document window.

1 Like

Thanks… I did wonder if this was the case.

Thanks.