PKM-er/obsidian-zotlit

Infer saving directory in the Obsidian Vault from Zotero's collection hierarchy

Opened this issue · 0 comments

Hello ZotLit-Community,

I was playing around with the settings and templates of the ZotLit plugin lately. I wanted the plugin to dynamically infer the saving directory for the created literature note in the Obsidian vault from the collection hierarchy in Zotero the paper is in.

Unfortunately, settings only allow me to set the saving directory globally. For my workflow both the global setting as well as the dynamic inference would be appreciated:

  • Global saving directory prevents mixing literature notes with other personal notes created in Obsidian.
  • Global saving directory + collection hierarchy (dynamically inferred) would allow to mirror Zotero's literature structure and makes searching papers in Obsidian's file explorer much more convenient.

Also, I haven't been able to adjust the templates in such a way to support dynamic path inference. I'm not sure if this is even possible via template files. Also tried to insert the collection hierarchy as a folder path into the name of the literature note, but this didn't work as slashes cause errors. This problem has been stated in #207 (stale) already.

Has anyone been able to make it dynamic via template file?
Or would this be an enhancing feature?

Thanks in advance for your time.