fuxialexander / org-pdftools

A custom org link type for pdf-tools
GNU General Public License v3.0
331 stars 35 forks source link

Mark exported notes to avoid exporting them again #86

Open lytex opened 2 years ago

lytex commented 2 years ago

The workflow I follow when taking notes on physical books is:

  1. Each time I write down or underline something on a given page, I write down the number page on a suitable location (e.g. the first completely blank page)
  2. When I move that note to org mode, I cross out the page number to signal it's exported, but keeping the note/underline crossed out

One recurring issue with org-pdftools is that when I export some piece of content, I keep taking notes and either I generate the skeleton again and have to manually merge the two org-mode trees, or simply I copy the relevant text when I reread the book/article and see it's not in the org mode file.

An easy solution is to simply delete the highlights/notes when I export them, but I want to keep them on the pdf even if they are already exported. Also exporting your notes frequently (daily for example) is easier if you don't have to delete them each time.

For example, it could be possible to add a "EXPORTED" text to each note/underline (or a custom text defined by the user, which could be nil so that no text is added when ) so that if it's present, the note will not be exported.

That would solve the export issue (only export new highlights), but merging the two trees isn't going to be easy, and I think merging is a process that ultimately requires a human.

What are your thoughts on that?