Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file link #253

Open
lidans5 opened this issue Nov 20, 2023 · 2 comments
Open

file link #253

lidans5 opened this issue Nov 20, 2023 · 2 comments

Comments

@lidans5
Copy link

lidans5 commented Nov 20, 2023

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@lidans5
Copy link
Author

lidans5 commented Nov 20, 2023

I'm using Jabref or citavi for citations, I have many files linked in these programs, Do you think there is a wat that when importing the citation the link to the file will be kept and imported to?

@orionpilot
Copy link

I am not sure if a direct file link will be included in the plugin itself due to the different possible reference managers and their respective filesystems. However, as I also use JabRef, I wanted to share what I did to get around this. I wrote my own templater script that runs with the citations template that accomplishes the file linking. It reads the name of the file I am searching for, then searches the PDF library for the same file name and returns a link to that file to include in the literature note. The issue with my solution is if the file name changes, the link won't update, so its not perfect. Only adding it the citations template makes it only run when the literature note is created. I had to create different template to run with templater to be able to re-run the linking script after a note has been created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants