# Backlinking and linking PDFs to PDFs - Roam-and-Obsidian style connections

**URL:** <https://discourse.devontechnologies.com/t/backlinking-and-linking-pdfs-to-pdfs-roam-and-obsidian-style-connections/69939>\
**Category:** DEVONthink\
**Tags:** devonthink3\
**Created:** [March 7, 2022, 3:42am UTC](https://discourse.devontechnologies.com/t/backlinking-and-linking-pdfs-to-pdfs-roam-and-obsidian-style-connections/69939 "2022-03-07T03:42:59Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![halloleo](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/halloleo/32/28940_2.png) [@halloleo](https://discourse.devontechnologies.com/u/halloleo)\
**Post date:** [March 7, 2022, 3:42am UTC](https://discourse.devontechnologies.com/t/backlinking-and-linking-pdfs-to-pdfs-roam-and-obsidian-style-connections/69939/1 "2022-03-07T03:42:59Z")

</div>

I want to up my document linking game. 🙂 Until now I have mainly organised my notes and documents via tags.

But I think the idea of _connected documents_ in Roam-and-Obsidian style is a powerful one. I realise tags as I use them _somewhat_ create “knowledge connections” as well (via their grouping aspect), but I think direct links between documents are another level of connectedness.

So Roam or Obsedian ias the way to go? I would like to stay in DEVONthink for my new “connected documents” approach. There are two features I deem important for me:: **back-links** and **links between PDFs**. So my questions are:

1. Is automatic back-linking possible in DEVONthink? ( E.g. I have a Markdown file linking wiki-style to a second Markdown file and in the second file I can see that the first file links to it.) - Even an add-on solution which maybe once a day creates the back-link in the background would be fine.

2. Is there a way in DEVONthink to link from a PDF to a PDF? (Maybe wiki links in the comment field)?

Thanks for suggestions! DEVONthink is so helpful for me - I don’t want use an additional tool if I can avoid it…

---

<div class="post-metadata">

**Author:** ![cgrunenberg](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/cgrunenberg/32/7172_2.png) [@cgrunenberg](https://discourse.devontechnologies.com/u/cgrunenberg)\
**Post date:** [March 7, 2022, 10:32am UTC](https://discourse.devontechnologies.com/t/backlinking-and-linking-pdfs-to-pdfs-roam-and-obsidian-style-connections/69939/2 "2022-03-07T10:32:49Z")

</div>

> [@halloleo](#):
>
> - Is automatic back-linking possible in DEVONthink? ( E.g. I have a Markdown file linking wiki-style to a second Markdown file and in the second file I can see that the first file links to it.) - Even an add-on solution which maybe once a day creates the back-link in the background would be fine.

See _Tools \> Inspectors \> Document \> Links_

> [@halloleo](#):
>
> - Is there a way in DEVONthink to link from a PDF to a PDF? (Maybe wiki links in the comment field)?

One possibility is to use rich text custom metadata and to add the links. Another one to directly add links to the PDF document (see _Link_ tool of editing bar).

---

<div class="post-metadata">

**Author:** ![mdbraber](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/mdbraber/32/5802_2.png) [@mdbraber](https://discourse.devontechnologies.com/u/mdbraber)\
**Post date:** [March 7, 2022, 12:12pm UTC](https://discourse.devontechnologies.com/t/backlinking-and-linking-pdfs-to-pdfs-roam-and-obsidian-style-connections/69939/3 "2022-03-07T12:12:12Z")

</div>

My approach is adding a Markdown annotation file to all the PDFs I have in my Resources database (mostly things like reports and captured webpages). I’ve got a series a Smart Rules that keep annotation files and PDFs in sync (e.g. when renaming or tagging; also to create automatic annotation links to files). Because each annotation file is just a Markdown document I can link between annotation files of documents, add excerpts, comment etc - including links to other document or other files in my Obsidian or DEVONthink database.

Here’s an example annotation file:

```markdown
---
date: 2021-12-31 08:01
title: Github - devonthink-hacks-Auto convert web page to PDF.applescript at main · mhucka-devonthink-hacks
url: https://github.com/mhucka/devonthink-hacks/blob/main/auto-convert-web-page-to-PDF/Auto%20convert%20web%20page%20to%20PDF.applescript
pdfurl: x-devonthink-item://19DA142C-5C9A-4C53-84A0-1DE960905CA9
annotationurl: x-devonthink-item://3D6FCC52-845A-4C62-8F6B-B630AA64E1A5
tags: []
---

2021-12-31 08:01 | [URL](https://github.com/mhucka/devonthink-hacks/blob/main/auto-convert-web-page-to-PDF/Auto%20convert%20web%20page%20to%20PDF.applescript) | [DT PDF](x-devonthink-item://19DA142C-5C9A-4C53-84A0-1DE960905CA9) | [DT annotation](x-devonthink-item://3D6FCC52-845A-4C62-8F6B-B630AA64E1A5) | [Obsidian annotation](obsidian://open?vault=Notes&file=Github%20-%20devonthink-hacks-Auto%20convert%20web%20page%20to%20PDF.applescript%20at%20main%20%C2%B7%20mhucka-devonthink-hacks.md)
	
# Github - devonthink-hacks-Auto convert web page to PDF.applescript at main · mhucka-devonthink-hacks

> Excerpt:: Script for DEVONthink to convert a webpage to PDF

Part of a series of interesting DEVONthink scripts by @mhucka, also active on the DEVONthink forums.

```

---

<div class="post-metadata">

**Author:** ![BLUEFROG](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/bluefrog/32/135_2.png) [@BLUEFROG](https://discourse.devontechnologies.com/u/BLUEFROG)\
**Post date:** [March 7, 2022, 1:30pm UTC](https://discourse.devontechnologies.com/t/backlinking-and-linking-pdfs-to-pdfs-roam-and-obsidian-style-connections/69939/4 "2022-03-07T13:30:07Z")

</div>

May I ask why you’re using the YAML headers when you are just repeating the data below it?

---

<div class="post-metadata">

**Author:** ![mdbraber](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/mdbraber/32/5802_2.png) [@mdbraber](https://discourse.devontechnologies.com/u/mdbraber)\
**Post date:** [March 7, 2022, 3:29pm UTC](https://discourse.devontechnologies.com/t/backlinking-and-linking-pdfs-to-pdfs-roam-and-obsidian-style-connections/69939/5 "2022-03-07T15:29:16Z")

</div>

Readability.

Frontmatter can be used for things like [DataView](https://blacksmithgu.github.io/obsidian-dataview/) in Obsidian, but most Markdown renders don’t show it (e.g. DT doesn’t). Therefore I show it in a nice, dense format on top so I can always reach / click it. There is an option with double colons (`::`) like I’m using with Excerpt to also use Dataview attributes with inline text. I could have also used that but it wouldn’t look as nice. But as these annotation files are automatically created and updates on things like importing, tagging, renaming etc. it’s no problem to duplicate that content (apart from the extra CPU cycles 😉 )

---

<div class="post-metadata">

**Author:** ![halloleo](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/halloleo/32/28940_2.png) [@halloleo](https://discourse.devontechnologies.com/u/halloleo)\
**Post date:** [March 8, 2022, 1:11am UTC](https://discourse.devontechnologies.com/t/backlinking-and-linking-pdfs-to-pdfs-roam-and-obsidian-style-connections/69939/6 "2022-03-08T01:11:19Z")

</div>

> [@cgrunenberg](#):
>
> See _Tools \> Inspectors \> Document \> Links_

This is cool! (I had searched the manual for “ **Back** -links”. You call it “ **Incoming** Links” which makes totally sense in its own right.)

DT3 rocks!

---

<div class="post-metadata">

**Author:** ![halloleo](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/halloleo/32/28940_2.png) [@halloleo](https://discourse.devontechnologies.com/u/halloleo)\
**Post date:** [March 8, 2022, 1:37am UTC](https://discourse.devontechnologies.com/t/backlinking-and-linking-pdfs-to-pdfs-roam-and-obsidian-style-connections/69939/7 "2022-03-08T01:37:14Z")

</div>

> [@mdbraber](#):
>
> Frontmatter can be used for things like [DataView](https://blacksmithgu.github.io/obsidian-dataview/) in Obsidian

Hey @mdbraber ! Sounds like you use Obsidian in conjunction with DEVONthink. That’s very interesting! – Do you use Obsidianon operating _on the same data_ as DEVONthink?

---

<div class="post-metadata">

**Author:** ![mdbraber](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/mdbraber/32/5802_2.png) [@mdbraber](https://discourse.devontechnologies.com/u/mdbraber)\
**Post date:** [March 8, 2022, 7:35am UTC](https://discourse.devontechnologies.com/t/backlinking-and-linking-pdfs-to-pdfs-roam-and-obsidian-style-connections/69939/8 "2022-03-08T07:35:49Z")

</div>

Yes, I’m indexing my Notes vault in DEVONthink, as well as I’m symlinking my Annotations folder from DT to Obsidian

---

<div class="post-metadata">

**Author:** ![halloleo](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/halloleo/32/28940_2.png) [@halloleo](https://discourse.devontechnologies.com/u/halloleo)\
**Post date:** [March 9, 2022, 1:36am UTC](https://discourse.devontechnologies.com/t/backlinking-and-linking-pdfs-to-pdfs-roam-and-obsidian-style-connections/69939/9 "2022-03-09T01:36:57Z")

</div>

> [@mdbraber](#):
>
> I’m indexing my Notes vault in DEVONthink

Thanks. That would be then an option then for me too.

Just _another_ tool to work with. (Sigh…) I will think about it.

---

<div class="post-metadata">

**Author:** ![mdbraber](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/mdbraber/32/5802_2.png) [@mdbraber](https://discourse.devontechnologies.com/u/mdbraber)\
**Post date:** [March 10, 2022, 10:36am UTC](https://discourse.devontechnologies.com/t/backlinking-and-linking-pdfs-to-pdfs-roam-and-obsidian-style-connections/69939/10 "2022-03-10T10:36:56Z")

</div>

You don’t have to. You could use DT for writing Markdown as well (and even linking). It’s just that I prefer Obsidian for writing notes / text.

---

<div class="post-metadata">

**Author:** ![system](https://devontech-discourse.s3.dualstack.us-east-1.amazonaws.com/uploads/original/2X/4/4e6ff70c96be2eb307a274d890bba8d71ba671b3.png) [@system](https://discourse.devontechnologies.com/u/system)\
**Post date:** [March 9, 2025, 10:37am UTC](https://discourse.devontechnologies.com/t/backlinking-and-linking-pdfs-to-pdfs-roam-and-obsidian-style-connections/69939/11 "2025-03-09T10:37:48Z")

</div>

This topic was automatically closed 1095 days after the last reply. New replies are no longer allowed.
