When using Skim I can export any kind of pdf annotations, including highlighted text, to a file.

Is it possible to do the same thing with pdf-tools in Emacs?

  • I have not tried this but check out this blog post on taking notes with pdf-tools and org-mode. – Kaushal Modi Jul 21 '16 at 14:54
  • I put the code from the blog post in my init.el and then run M-x pdf-annot-markups-as-org-text. It asks for a pdf. I used a pdf with my highlighted annotations but the answer was wrong type argument. Nevertheless I think the answer to my question may be in this blog post. – sbac Jul 21 '16 at 15:33

I don't know if it is possible with pdf-tools, but it is possible with org-noter (https://github.com/weirdNox/org-noter).

Here is a little demonstration:

enter image description here

You call org-noter in the pdf buffer. Then use the org-noter-create-skeleton function to exoprt the highlights to the org-noter notes file.

  • 1
    When I try org-noter-create-skeleton I receive the message that this command is only possible with pdf-tools. – sbac Apr 21 '19 at 14:29
  • @sbac I ran into this too. By default, org-noter will use DocView. You need to take the extra step to package-install pdf tools. github.com/politza/pdf-tools – incandescentman Sep 4 '20 at 18:36
  • To be clear it exports things in the hierarchy "Highlight on page N" -> Contents, Comment. That works fine! It's too bad that "contents" does not mean the same thing in the pdf-annot-list-format... there, Currently supported properties are page, type, label, date and contents... but these contents represent the comment! – Joe Corneli Oct 14 '20 at 11:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.