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

[FR] Create an md file with a list of outgoing links and backlinks of a pdf #230

Open
matar3 opened this issue Jun 16, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@matar3
Copy link

matar3 commented Jun 16, 2024

I know it is already possible to create an md file with all the annotations of a pdf file by using the command "Extract & copy annotations in this pdf" of pdf++ or by using the command "Extract pdf annotations on single file" of the plugin "Extract annotations" (btw the command of pdf++ doesn' extract the annotations that are text added by myself to the pdf in notes through foxit, whereas the other plugin works fine with them). Yet, i'd like now to ask for a new command with a focus on obsidian hyperlinks, both outgoing links and backlinks. I think that at the moment the biggest pitfall of pdfs, even with pdf++, is that we can't see a list of outgoing links in a pdf and backlinks: if we cite a pdf in a md file we can indeed see the link in the list of the outgoing links of that md file, but then in the pdf we can't see the backlink as part of a list of its backlinks (as it happens instead in md files, with the "linked mentions plugins" or with the backlink section in obsidian side bar). As it was suggested here #190 (reply in thread) a good workaround could be to create a md file with a list of outgoing links and backlinks relative to a specific pdf, but it is tedious and iterative to do that manually. Since it is already possible to write obsidian hyperlinks inside annotations in a pdf, and since pdf++ already recognizes that markdown (it is possible to click the link to open the target), now i'm following this workflow:

  • writing notes in the pdf with links to outer files (md files or even pdf files)
  • creating an md file with all annotations of the pdf, including the manually added notes, thus also including the notes containing hyperlinks to pdf pages of the same pdf, to pdf pages of other pdfs, or to md files.
  • extracting all hyperlinks from that md file (an easy command of "find" [[ . ]] ) and copying and pasting them in a new md file
  • reorganizing those hyperlinks in groups (mainly couples) according to a template like:
    ---this is the outgoing link " "
    ---these are the backlinks to that outgoing link " "
    What i'm asking here is to create a command called for ex. "Extract and copy all outgoing links from this pdf" to automatize all this workflow. I've seen you're already working on similar stuff like here [Feature] Add a comment template variable #225, and we all thank you very much for your engagement. Please let me know your opinion.
    Best regards
@matar3 matar3 added the enhancement New feature or request label Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant