Any pdf/epub reading notes to logseq workflow recommendation?

Hi everybody,
I am a big fan of reading and taking notes and I am new to Logseq.

  1. Recently I am working on moving my local notes to Logseq but I have some format issues.
    When the note is pdf, if I just copy texts to Log, every paragraph is merged.
    When the note is .md, I cannot import it directly.
    When the note is text, sometimes, all paragraphs are merged.

  2. So I go back to see what can I do with my pdf/epub viewer.
    I use Calibre to export my annotations to plain text or a .md file.
    So I loop back to step 1)

Does anyone know how to fix this?
Or maybe is there any other good pdf/epub-> reading notes-> Logseq workflow recommendation?

2 Likes

Hi, (posting this again to all threads related to pdf annotations)

I was very frustrated by Logseq’s lack of pdf annotation import so I forked pdfannots to create a proof of concept to import pdf annotations. Here’s the link.

You can use it like so python ./pdfannots.py -f md_and_edn path_to_pdf -o path_to_pages_markdown --edn_output path_to_asset_edn.

This will create the markdown annotation file (in the pages folder) as well as the edn files containing the metadata of the highlights (in the assets folder).

This is still early and does not yet support highlight color parsing nor highlights different than simple text highlighting (no shapes, no rectangles etc). Don’t hesitate to help in the PR as I’m not a pro at this!

Hi! I made a python script to import pdf annotations to logseq. It can be found here: Python script to import pdf annotation to logseq